/* =========================================
   NEXORA CAPITAL
   Global design system
========================================= */

:root {
    --bg: #080e19;
    --bg-secondary: #0d1625;
    --bg-card: #101c2e;
    --bg-card-hover: #142239;

    --primary: #32d6a0;
    --primary-dark: #1bb786;

    --text: #f4f7fb;
    --text-secondary: #a4b0c2;
    --text-muted: #718096;

    --border: rgba(255, 255, 255, 0.09);

    --success: #32d6a0;
    --danger: #ff7185;

    --radius: 16px;
    --radius-small: 10px;

    --container: 1200px;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.muted-text {
    color: var(--text-secondary);
    font-size: 12px;
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 44px;
    padding: 11px 19px;

    border: 1px solid transparent;
    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #05251b;
}

.btn-primary:hover {
    background: #51e6b6;
}

.btn-outline {
    border-color: var(--border);
    background: transparent;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(50, 214, 160, .06);
}

.btn-large {
    min-height: 52px;
    padding: 14px 23px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}


/* HEADER */

.site-header {
    width: 100%;
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
    padding: 0 max(24px, calc((100% - 1200px) / 2));

    border-bottom: 1px solid var(--border);

    background: rgba(8, 14, 25, .94);

    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.5px;

    white-space: nowrap;
}

.brand-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    color: #06241a;
    background: var(--primary);

    border-radius: 11px;
}

.brand-light {
    color: var(--text-secondary);
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;

    transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    color: var(--text);
    background: var(--bg-card);

    border: 1px solid var(--border);
    border-radius: 9px;
}


/* HERO */

/* ==========================================
   NEXORA CAPITAL — FULL-WIDTH HERO
========================================== */

.hero-section {
    position: relative;
    isolation: isolate;

    width: 100%;
    max-width: none;
    min-height: 700px;

    margin: 0;
    padding: 100px clamp(24px, 6vw, 100px) 90px;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(30px, 4vw, 65px);

    background: #07111f;
    overflow: hidden;
}

/* Full-width background image */

.hero-section::before {
    content: "";
    position: absolute;
    z-index: -1;

    inset: 0;

    background-image:
        linear-gradient(90deg,
            rgba(5, 13, 25, 0.64) 0%,
            rgba(5, 13, 25, 0.38) 45%,
            rgba(5, 13, 25, 0.48) 100%),
        linear-gradient(0deg,
            rgba(5, 13, 25, 0.65) 0%,
            rgba(5, 13, 25, 0.08) 45%,
            rgba(5, 13, 25, 0.18) 100%),
        url("../images/hero-finance1.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Subtle emerald atmosphere */

.hero-section::after {
    content: "";
    position: absolute;
    z-index: -1;

    inset: 0;

    background:
        radial-gradient(ellipse at 75% 35%,
            rgba(25, 195, 145, 0.10),
            transparent 45%);

    pointer-events: none;
}

/* Keep hero content above the image */

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-content {
    width: 100%;
    max-width: 650px;
}

.hero-visual {
    width: 100%;
    max-width: 560px;
    justify-self: end;
}

/* Keep the preview readable without hiding the background */

.platform-preview {
    background: linear-gradient(145deg,
            rgba(25, 39, 58, 0.94),
            rgba(13, 25, 42, 0.96));

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 13px;

    border: 1px solid rgba(50, 214, 160, .22);
    border-radius: 100px;

    background: rgba(50, 214, 160, .06);

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.status-dot {
    width: 7px;
    height: 7px;

    background: var(--primary);
    border-radius: 50%;

    display: inline-block;
}

.hero-content h1 {
    margin-top: 27px;

    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4.4vw, 65px);
    line-height: 1.15;

    font-weight: 800;
    letter-spacing: -2.5px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 570px;
    margin-top: 25px;

    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 30px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 38px;
}

.trust-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    background: var(--bg-card);
    color: var(--primary);

    border: 1px solid var(--border);
    border-radius: 12px;
}

.hero-trust strong,
.hero-trust span {
    display: block;
}

.hero-trust strong {
    font-size: 12px;
}

.hero-trust span {
    color: var(--text-muted);
    font-size: 11px;
}




/* HERO PREVIEW */

/* .hero-visual {
    width: 100%;
    max-width: 520px;
    justify-self: end;
} */

.preview-card {
    padding: 25px;

    background: linear-gradient(145deg,
            #132238,
            #0d1727);

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;

    box-shadow: 0 35px 100px rgba(0, 0, 0, .3);
}

.preview-header,
.preview-chart-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.preview-header h3 {
    margin-top: 5px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 5px 9px;

    border: 1px solid var(--border);
    border-radius: 7px;

    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 800;
}

.preview-chart-info {
    margin-top: 32px;
}

.preview-chart-info h2 {
    margin-top: 4px;

    font-family: "Manrope", sans-serif;
    font-size: 30px;
    letter-spacing: -1px;
}

.change-positive {
    color: var(--primary);
    font-size: 11px;
}

.chart-container {
    width: 100%;
    height: 170px;
    margin-top: 18px;
}

.hero-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.preview-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.preview-assets {
    display: grid;
    gap: 18px;
}

.preview-asset {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;
    font-size: 19px;
}

.bitcoin {
    color: #f7a928;
    background: rgba(247, 169, 40, .12);
}

.ethereum {
    color: #a6b6ff;
    background: rgba(111, 130, 245, .13);
}

.solana {
    color: #b9a2ff;
    background: rgba(153, 112, 255, .13);
}

.tesla {
    color: #ff6878;
    background: rgba(255, 104, 120, .12);
}

.byd {
    color: #6cb6ff;
    background: rgba(108, 182, 255, .12);
}

.energy {
    color: #e8b86b;
    background: rgba(232, 184, 107, .12);
}

.petroleum {
    color: #64b8e8;
    background: rgba(100, 184, 232, .12);
}

.asset-details {
    flex: 1;
}

.asset-details strong,
.asset-details span {
    display: block;
}

.asset-details strong {
    font-size: 12px;
}

.asset-details span {
    color: var(--text-muted);
    font-size: 10px;
}

.preview-asset>strong {
    font-size: 11px;
}

.preview-disclaimer {
    margin-top: 22px;

    color: var(--text-muted);
    font-size: 10px;
    text-align: center;
}

/* ==========================================
   NEXORA CAPITAL — HERO BACKGROUND
========================================== */

.hero-section {
    position: relative;
    isolation: isolate;

    width: 100%;
    max-width: 1400px;
    min-height: 680px;

    margin: 0 auto;
    padding: 100px 6% 90px;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;

    /* Fallback background */
    background-color: #07111f;

    /* Prevent background overflow */
    overflow: hidden;
}

/* Full-width background image and dark overlay */

.hero-section::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;
    width: 100vw;

    transform: translateX(-50%);

    background:
        linear-gradient(90deg,
            rgba(5, 13, 25, 0.96) 0%,
            rgba(5, 13, 25, 0.88) 35%,
            rgba(5, 13, 25, 0.70) 65%,
            rgba(5, 13, 25, 0.82) 100%),
        linear-gradient(0deg,
            rgba(5, 13, 25, 0.90) 0%,
            transparent 45%,
            rgba(5, 13, 25, 0.35) 100%),
        url("../images/hero-finance1.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Keep the existing content above the background */

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

/* Subtle emerald glow */

.hero-section::after {
    content: "";

    position: absolute;
    z-index: -1;

    width: 450px;
    height: 450px;

    top: 5%;
    right: 10%;

    background: radial-gradient(circle,
            rgba(50, 214, 160, 0.12),
            transparent 70%);

    pointer-events: none;
}




/* ==========================================
   RESPONSIVE FULL-WIDTH HERO
========================================== */

@media (max-width: 900px) {

    .hero-section {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        gap: 42px;
        padding: 75px 6% 65px;
    }

    .hero-section::before {
        background-position: center center;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-visual {
        max-width: 560px;
        justify-self: center;
    }

}

@media (max-width: 600px) {

    .hero-section {
        width: 100%;
        padding: 60px 20px 50px;
        gap: 35px;
    }

    .hero-section::before {
        background-image:
            linear-gradient(180deg,
                rgba(5, 13, 25, 0.42) 0%,
                rgba(5, 13, 25, 0.65) 48%,
                rgba(5, 13, 25, 0.88) 100%),
            url("../images/hero-finance1.jpg");

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .hero-content h1 {
        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.14;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
    }

    .platform-top {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        padding: 0 12px;
    }

    .platform-label {
        font-size: 9px;
    }

}

@media (max-width: 380px) {

    .hero-section {
        padding-right: 15px;
        padding-left: 15px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-buttons .btn {
        padding-right: 13px;
        padding-left: 13px;
        font-size: 12px;
    }

}

/* TICKER */

.ticker-section {
    display: flex;
    align-items: center;
    gap: 30px;

    min-height: 90px;
    padding: 20px 6%;

    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ticker-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;

    white-space: nowrap;
}

.ticker-track {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex: 1;
}

.ticker-item {
    display: grid;
    gap: 2px;
}

.ticker-item>span:first-child {
    color: var(--text-muted);
    font-size: 10px;
}

.ticker-item strong {
    font-size: 12px;
}

.ticker-placeholder {
    color: var(--text-secondary);
    font-size: 10px;
}


/* GENERAL SECTIONS */

.section {
    padding: 105px 6%;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-heading {
    max-width: 1200px;
    margin: 0 auto 45px;

    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
}

.section-label {
    display: block;

    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.section-heading h2,
.centered-heading h2,
.about-content h2,
.cta-section h2 {
    margin-top: 12px;

    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.25;
    letter-spacing: -1.2px;
}

.section-heading p,
.centered-heading p {
    max-width: 570px;
    margin-top: 14px;

    color: var(--text-secondary);
    font-size: 14px;
}


/* MARKET CARDS */

.market-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.market-card {
    padding: 24px;

    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.market-card:hover {
    transform: translateY(-5px);

    background: var(--bg-card-hover);
    border-color: rgba(50, 214, 160, .3);
}

.market-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.asset-tag {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .8px;
}

.market-card h3 {
    margin-top: 23px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.market-card p {
    min-height: 80px;
    margin-top: 10px;

    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

.market-symbols {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 18px;
}

.market-symbols span {
    padding: 5px 8px;

    color: var(--text-secondary);
    background: rgba(255, 255, 255, .04);

    border: 1px solid var(--border);
    border-radius: 5px;

    font-size: 9px;
    font-weight: 700;
}

.card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 24px;
    padding-top: 18px;

    color: var(--primary);
    border-top: 1px solid var(--border);

    font-size: 11px;
    font-weight: 700;
}

.market-note {
    max-width: 1200px;
    margin: 25px auto 0;

    color: var(--text-muted);
    font-size: 11px;
}


/* FEATURES */

.features-section {
    background:
        radial-gradient(ellipse at 50% 0%,
            rgba(50, 214, 160, .05),
            transparent 55%);
}

.centered-heading {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.centered-heading p {
    margin-inline: auto;
}

.features-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px;
}

.feature-item {
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.feature-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: var(--primary);
    background: rgba(50, 214, 160, .09);

    border-radius: 13px;
    font-size: 18px;
}

.feature-item h3 {
    margin-top: 20px;
    font-size: 16px;
}

.feature-item p {
    margin-top: 10px;

    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.9;
}


/* ABOUT */

.about-section {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    gap: 90px;

    padding: 100px 10%;

    background: var(--bg-secondary);
}

.about-content {
    max-width: 600px;
}

.about-content p {
    margin-top: 18px;

    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

.about-content .btn {
    margin-top: 28px;
}

.about-visual {
    display: grid;
    gap: 15px;
}

.about-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 22px;

    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 13px;
}

.about-stat-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    color: var(--primary);
    background: rgba(50, 214, 160, .09);

    border-radius: 12px;
}

.about-stat-card strong,
.about-stat-card span {
    display: block;
}

.about-stat-card strong {
    font-size: 13px;
}

.about-stat-card div span {
    color: var(--text-secondary);
    font-size: 11px;
}


/* CTA */

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 80px 10%;

    background:
        radial-gradient(ellipse at 15% 50%,
            rgba(50, 214, 160, .08),
            transparent 60%);
}

.cta-section>div {
    max-width: 680px;
}

.cta-section p {
    margin-top: 13px;
    color: var(--text-secondary);
    font-size: 14px;
}


/* FOOTER */

.site-footer {
    padding: 65px 6% 25px;

    background: #060b13;
    border-top: 1px solid var(--border);
}

.footer-main {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-brand p {
    max-width: 310px;
    margin-top: 18px;

    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-column h4 {
    margin-bottom: 5px;
    font-size: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 11px;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 22px;

    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 25px;

    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 10px;
}

.footer-disclaimer {
    max-width: 600px;
    text-align: right;
}


/* AUTHENTICATION PAGE COMPONENTS */

.auth-page {
    min-height: 100vh;
    padding: 35px 20px;

    display: grid;
    place-items: center;

    background:
        radial-gradient(ellipse at 50% 0%,
            rgba(50, 214, 160, .08),
            transparent 50%),
        var(--bg);
}

.auth-container {
    width: 100%;
    max-width: 460px;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.auth-card {
    padding: 35px;

    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.auth-card h1 {
    font-family: "Manrope", sans-serif;
    font-size: 27px;
    letter-spacing: -.8px;
}

.auth-card>p {
    margin-top: 8px;
    margin-bottom: 25px;

    color: var(--text-secondary);
    font-size: 13px;
}

.auth-card input,
.auth-card select,
.auth-card textarea {
    font-size: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 47px;

    padding: 12px 14px;

    color: var(--text);
    background: #0a1321;

    border: 1px solid var(--border);
    border-radius: 9px;

    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group input::placeholder {
    color: #65748a;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.auth-switch {
    margin-top: 22px;

    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 700;
}

.auth-message {
    margin-bottom: 18px;
    font-size: 12px;
}

.auth-notice {
    margin-top: 18px;
    padding: 12px;

    color: var(--text-secondary);
    background: rgba(255, 255, 255, .03);

    border: 1px solid var(--border);
    border-radius: 8px;

    font-size: 10px;
    line-height: 1.8;
}


/* DASHBOARD COMPONENTS */

.dashboard-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
}

.sidebar {
    padding: 25px 16px;
    position: relative;
    background: #09111e;
    border-right: 1px solid var(--border);
}


.sidebar .brand {
    margin: 0 10px 35px;
}

.sidebar-label {
    margin: 25px 12px 12px;

    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.sidebar-nav {
    display: grid;
    gap: 7px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px;

    color: var(--text-secondary);
    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--primary);
    background: rgba(50, 214, 160, .08);
}

.sidebar-nav i {
    width: 17px;
    text-align: center;
}

.dashboard-main {
    min-width: 0;
    padding: 35px;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 35px;
}

.dashboard-topbar h1 {
    font-family: "Manrope", sans-serif;
    font-size: 27px;
}

.dashboard-topbar p {
    margin-top: 5px;

    color: var(--text-secondary);
    font-size: 12px;
}

.demo-banner {
    margin-bottom: 25px;
    padding: 13px 16px;

    color: #b7f6e1;
    background: rgba(50, 214, 160, .07);

    border: 1px solid rgba(50, 214, 160, .18);
    border-radius: 10px;

    font-size: 11px;
    line-height: 1.8;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.stat-card {
    min-width: 0;
    padding: 21px;

    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 13px;
}

.stat-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.stat-card-top span {
    color: var(--text-secondary);
    font-size: 11px;
}

.stat-card-top i {
    color: var(--primary);
}

.stat-value {
    margin-top: 15px;

    font-family: "Manrope", sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 800;

    overflow-wrap: anywhere;
}

.stat-footnote {
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 10px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
    gap: 20px;

    margin-top: 25px;
}

.panel {
    min-width: 0;
    padding: 23px;

    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 13px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 23px;
}

.panel-header h2 {
    font-size: 15px;
}

.panel-header p {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 11px;
}

.panel-link {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.asset-list {
    display: grid;
    gap: 17px;
}

.asset-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-row-info {
    min-width: 0;
    flex: 1;
}

.asset-row-info strong,
.asset-row-info span {
    display: block;
}

.asset-row-info strong {
    font-size: 12px;
}

.asset-row-info span {
    color: var(--text-muted);
    font-size: 10px;
}

.asset-row-value {
    text-align: right;
}

.asset-row-value strong,
.asset-row-value span {
    display: block;
}

.asset-row-value strong {
    font-size: 11px;
}

.asset-row-value span {
    color: var(--text-secondary);
    font-size: 10px;
}

.empty-state {
    padding: 35px 15px;

    color: var(--text-secondary);
    text-align: center;

    font-size: 12px;
}

.empty-state i {
    display: block;
    margin-bottom: 13px;

    color: var(--text-muted);
    font-size: 28px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.data-table th {
    padding: 13px 12px;

    color: var(--text-muted);
    border-bottom: 1px solid var(--border);

    font-size: 10px;
    font-weight: 700;
    text-align: left;
}

.data-table td {
    padding: 15px 12px;

    border-bottom: 1px solid var(--border);
    font-size: 11px;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.table-asset {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-asset .asset-icon {
    width: 35px;
    height: 35px;
    font-size: 15px;
}

.table-asset strong,
.table-asset span {
    display: block;
}

.table-asset span {
    color: var(--text-muted);
    font-size: 10px;
}

.table-button {
    padding: 7px 11px;

    color: var(--primary);
    background: rgba(50, 214, 160, .08);

    border: 1px solid rgba(50, 214, 160, .15);
    border-radius: 6px;

    font-size: 10px;
    font-weight: 700;
}

.table-button:hover {
    background: rgba(50, 214, 160, .15);
}

.badge {
    display: inline-flex;
    padding: 5px 8px;

    border-radius: 5px;

    font-size: 9px;
    font-weight: 700;
}

.badge-success {
    color: var(--primary);
    background: rgba(50, 214, 160, .09);
}

.badge-danger {
    color: var(--danger);
    background: rgba(255, 113, 133, .09);
}

.badge-neutral {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, .06);
}


/* MARKETS PAGE */

.page-container {
    max-width: 1200px;
    margin: auto;
    padding: 55px 30px 90px;
}

.page-heading {
    margin-bottom: 35px;
}

.page-heading h1 {
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    letter-spacing: -1px;
}

.page-heading p {
    max-width: 650px;
    margin-top: 10px;

    color: var(--text-secondary);
    font-size: 13px;
}

.market-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

    margin-bottom: 25px;
}

.market-search {
    width: 100%;
    max-width: 330px;
}

.market-search input {
    width: 100%;
    min-height: 45px;
    padding: 11px 14px;

    color: var(--text);
    background: var(--bg-card);

    border: 1px solid var(--border);
    border-radius: 9px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-button {
    padding: 10px 13px;

    color: var(--text-secondary);
    background: var(--bg-card);

    border: 1px solid var(--border);
    border-radius: 8px;

    font-size: 11px;
}

.filter-button.active {
    color: #05251b;
    background: var(--primary);
    border-color: var(--primary);
}

.market-table-panel {
    overflow: hidden;
}


/* TRADE MODAL */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;

    display: none;
    place-items: center;

    padding: 20px;
    background: rgba(0, 0, 0, .72);
}

.modal-overlay.open {
    display: grid;
}

.trade-modal {
    width: 100%;
    max-width: 440px;
    padding: 28px;

    background: #101c2e;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 19px;
}

.modal-close {
    width: 35px;
    height: 35px;

    color: var(--text-secondary);
    background: transparent;

    border: 1px solid var(--border);
    border-radius: 8px;
}

.trade-asset-info {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 25px;
    padding: 15px;

    background: rgba(255, 255, 255, .03);
    border-radius: 10px;
}

.trade-asset-info strong,
.trade-asset-info span {
    display: block;
}

.trade-asset-info span {
    color: var(--text-secondary);
    font-size: 11px;
}

.trade-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;

    margin-bottom: 22px;
}

.trade-toggle button {
    min-height: 42px;

    color: var(--text-secondary);
    background: transparent;

    border: 1px solid var(--border);
    border-radius: 8px;
}

.trade-toggle button.active[data-side="buy"] {
    color: var(--primary);
    background: rgba(50, 214, 160, .08);
    border-color: var(--primary);
}

.trade-toggle button.active[data-side="sell"] {
    color: var(--danger);
    background: rgba(255, 113, 133, .08);
    border-color: var(--danger);
}

.trade-summary {
    margin: 18px 0;
    padding: 15px;

    background: rgba(255, 255, 255, .03);
    border-radius: 8px;
}

.trade-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 9px;

    color: var(--text-secondary);
    font-size: 11px;
}

.trade-summary-row:last-child {
    margin-bottom: 0;
    color: var(--text);
    font-weight: 700;
}


/* PORTFOLIO */

.portfolio-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;

    margin-bottom: 25px;
}

.allocation-list {
    display: grid;
    gap: 18px;
}

.allocation-row {
    display: grid;
    gap: 8px;
}

.allocation-label {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    font-size: 11px;
}

.allocation-label span:last-child {
    color: var(--text-secondary);
}

.allocation-bar {
    height: 7px;
    overflow: hidden;

    background: rgba(255, 255, 255, .06);
    border-radius: 100px;
}

.allocation-bar span {
    display: block;
    height: 100%;

    background: var(--primary);
    border-radius: 100px;
}


/* MOBILE RESPONSIVENESS */

@media (max-width: 1100px) {

    .site-header {
        gap: 18px;
    }

    .main-nav {
        gap: 18px;
    }

    .hero-section {
        gap: 35px;
        padding-inline: 4%;
    }

    .market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-layout {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-section {
        padding-inline: 6%;
        gap: 45px;
    }
}


@media (max-width: 800px) {

    .site-header {
        min-height: 72px;
        padding-inline: 20px;

        flex-wrap: wrap;
    }

    .mobile-menu-button {
        display: grid;
        place-items: center;

        margin-left: auto;
    }

    .main-nav {
        display: none;
        order: 4;

        width: 100%;
        padding: 10px 0 18px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
    }

    .header-actions {
        display: none;
        order: 5;

        width: 100%;
        padding-bottom: 18px;
    }

    .main-nav.open+.header-actions {
        display: flex;
    }

    .header-actions .btn {
        flex: 1;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding: 75px 25px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-visual {
        max-width: 600px;
        justify-self: center;
    }

    .ticker-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .ticker-track {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .ticker-item {
        min-width: 100px;
    }

    .section {
        padding: 75px 25px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-section {
        grid-template-columns: 1fr;
        padding: 75px 25px;
    }

    .cta-section {
        align-items: flex-start;
        flex-direction: column;
        padding: 65px 25px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-disclaimer {
        text-align: left;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 15px;
    }

    .sidebar .brand {
        margin: 0 5px 15px;
    }

    .sidebar-label {
        display: none;
    }

    .sidebar-nav {
        display: flex;
        gap: 5px;

        overflow-x: auto;
    }

    .sidebar-nav a {
        flex-shrink: 0;
    }

    .dashboard-main {
        padding: 25px 18px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .page-container {
        padding: 40px 18px 65px;
    }
}


@media (max-width: 500px) {

    .brand {
        font-size: 14px;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
    }

    .hero-content h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .preview-card {
        padding: 17px;
    }

    .preview-chart-info h2 {
        font-size: 24px;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-value {
        font-size: 20px;
    }

    .portfolio-summary {
        grid-template-columns: 1fr;
    }

    .dashboard-topbar h1 {
        font-size: 22px;
    }

    .auth-card {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-heading h1 {
        font-size: 28px;
    }

    .market-controls {
        align-items: stretch;
    }

    .market-search {
        max-width: none;
    }

    .category-filters {
        width: 100%;
    }

    .filter-button {
        flex: 1;
    }
}


/* =========================================
   NEXORA CAPITAL DASHBOARD ADDITIONS
========================================= */

.dashboard-body {
    min-height: 100vh;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 30px;
}

.sidebar-demo-card {
    padding: 17px;
    margin-bottom: 22px;
    border: 1px solid rgba(50, 214, 160, 0.2);
    background: rgba(50, 214, 160, 0.06);
    border-radius: 12px;
}

.sidebar-demo-card>i {
    color: var(--primary);
    margin-bottom: 12px;
}

.sidebar-demo-card strong {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}

.sidebar-demo-card p {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.7;
}

.sidebar-logout {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: 0.2s ease;
}

.sidebar-logout:hover {
    color: #ff7185;
    border-color: rgba(255, 113, 133, 0.35);
}

.topbar-eyebrow,
.section-eyebrow {
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.dashboard-date {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 7px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.topbar-user-info strong {
    font-size: 13px;
}

.topbar-user-info span {
    color: var(--text-muted);
    font-size: 11px;
}

.user-avatar {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(50, 214, 160, 0.12);
    border: 1px solid rgba(50, 214, 160, 0.3);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.demo-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 20px;
    margin: 25px 0;
    border-radius: 12px;
    border: 1px solid rgba(50, 214, 160, 0.23);
    background: rgba(50, 214, 160, 0.055);
}

.demo-banner-icon {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 21px;
}

.demo-banner>div {
    flex: 1;
}

.demo-banner strong {
    font-size: 13px;
}

.demo-banner p {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.7;
    margin-top: 5px;
}

.demo-status {
    padding: 6px 9px;
    border-radius: 5px;
    background: rgba(50, 214, 160, 0.12);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.dashboard-welcome h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(23px, 3vw, 32px);
    margin-bottom: 10px;
}

.dashboard-welcome h2 span {
    color: var(--primary);
}

.dashboard-welcome p:not(.section-eyebrow) {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 25px;
}

.stat-card {
    min-width: 0;
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
}

.stat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stat-card-top>span:first-child {
    color: var(--text-muted);
    font-size: 11px;
}

.stat-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: var(--primary);
    background: rgba(50, 214, 160, 0.09);
}

.stat-card h3 {
    margin: 20px 0 9px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(18px, 2vw, 25px);
    overflow-wrap: anywhere;
}

.stat-footnote {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.6;
}

.positive {
    color: #32d6a0 !important;
}

.negative {
    color: #ff7185 !important;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 20px;
}

.panel {
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

.panel-heading h3 {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.panel-description {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.text-link:hover {
    opacity: 0.8;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    padding: 13px 12px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 15px 12px;
    font-size: 11px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table td[colspan] {
    padding: 25px 12px;
    color: var(--text-muted);
    text-align: center;
    white-space: normal;
}

.table-asset,
.asset-row-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.table-asset>span:last-child,
.asset-row-left>div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.table-asset strong,
.asset-row-left strong {
    font-size: 11px;
}

.table-asset small,
.asset-row-left small {
    color: var(--text-muted);
    font-size: 10px;
}

.asset-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary);
    font-size: 15px;
}

.asset-icon.bitcoin {
    color: #f6a623;
    background: rgba(246, 166, 35, 0.1);
}

.asset-icon.ethereum {
    color: #9b9cff;
    background: rgba(155, 156, 255, 0.1);
}

.asset-icon.solana {
    color: #c9a2ff;
}

.asset-icon.tesla {
    color: #ff7185;
}

.asset-icon.byd {
    color: #69b8ff;
}

.asset-icon.energy,
.asset-icon.petroleum {
    color: #e5bd70;
}

.market-change {
    font-size: 11px;
    font-weight: 700;
}

.small-action-button {
    padding: 8px 10px;
    border: 1px solid rgba(50, 214, 160, 0.3);
    border-radius: 7px;
    background: rgba(50, 214, 160, 0.07);
    color: var(--primary);
    font: inherit;
    font-size: 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

.small-action-button:hover {
    background: rgba(50, 214, 160, 0.15);
}

.asset-list {
    display: flex;
    flex-direction: column;
}

.asset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.asset-row:last-child {
    border-bottom: none;
}

.asset-row-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.asset-row-right strong {
    font-size: 12px;
}

.asset-row-right small {
    font-size: 10px;
}

.empty-state {
    padding: 35px 15px;
    text-align: center;
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(50, 214, 160, 0.08);
    color: var(--primary);
    font-size: 19px;
}

.empty-state h4 {
    margin-bottom: 10px;
    font-size: 13px;
}

.empty-state p {
    max-width: 280px;
    margin: 0 auto 16px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.8;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 7px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
}

.badge-buy {
    color: #32d6a0;
    background: rgba(50, 214, 160, 0.1);
}

.badge-sell {
    color: #ffb0bc;
    background: rgba(255, 113, 133, 0.1);
}

.dashboard-activity-panel {
    grid-column: 1 / -1;
}

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.7;
}

/* Trade modal */

.trade-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(7px);
    overflow-y: auto;
}

.trade-modal.show {
    display: flex;
}

.trade-modal-content {
    width: 100%;
    max-width: 480px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--bg-secondary);
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.4);
}

.trade-modal-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.trade-modal-heading h3 {
    font-family: "Manrope", sans-serif;
    font-size: 21px;
}

.modal-close {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
}

.modal-close:hover {
    color: #ff7185;
}

.trade-asset-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.trade-asset-heading>div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trade-asset-heading>div:nth-child(2) strong {
    font-size: 13px;
}

.trade-asset-heading>div:nth-child(2) span,
.trade-current-price span {
    color: var(--text-muted);
    font-size: 10px;
}

.trade-current-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-left: auto;
}

.trade-current-price strong {
    font-size: 13px;
}

.trade-mode-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 22px;
    padding: 5px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.035);
}

.trade-mode-button {
    padding: 11px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.trade-mode-button.active {
    border-color: rgba(50, 214, 160, 0.3);
    background: rgba(50, 214, 160, 0.1);
    color: var(--primary);
}

#tradeForm label {
    display: block;
    margin-bottom: 9px;
    font-size: 11px;
    font-weight: 600;
}

#tradeQuantity {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    background: var(--bg-card);
    color: var(--text-primary);
    font: inherit;
    font-size: 13px;
}

#tradeQuantity:focus {
    border-color: var(--primary);
}

.trade-calculation {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
    padding: 17px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.trade-calculation>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.trade-calculation span {
    color: var(--text-muted);
    font-size: 11px;
}

.trade-calculation strong {
    font-size: 12px;
    text-align: right;
}

.trade-demo-disclaimer {
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.8;
}

.auth-message {
    min-height: 18px;
    margin: 10px 0;
    font-size: 11px;
    line-height: 1.6;
}

.btn-full {
    width: 100%;
}

.modal-open {
    overflow: hidden;
}


/* Responsive dashboard */

@media (max-width: 1200px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-activity-panel {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-topbar {
        gap: 15px;
    }

    .topbar-user-info {
        display: none;
    }

    .demo-banner {
        align-items: flex-start;
    }

    .demo-status {
        display: none;
    }

    .panel {
        padding: 16px;
    }

    .dashboard-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .trade-modal-content {
        padding: 20px;
    }

    .panel-heading {
        align-items: flex-start;
    }
}


/* =========================================
   MARKETS PAGE
========================================= */

.markets-intro {
    margin: 30px 0;
}

.markets-intro h2 {
    margin-bottom: 12px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

.markets-intro h2 span {
    color: var(--primary);
}

.markets-intro p:not(.section-eyebrow) {
    max-width: 650px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

.market-overview-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 25px;
}

.market-overview-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--bg-card);
}

.market-overview-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 47px;
    height: 47px;
    border-radius: 12px;
    font-size: 20px;
}

.crypto-overview {
    color: #f6a623;
    background: rgba(246, 166, 35, 0.1);
}

.stocks-overview {
    color: #69b8ff;
    background: rgba(105, 184, 255, 0.1);
}

.energy-overview {
    color: #e5bd70;
    background: rgba(229, 189, 112, 0.1);
}

.market-overview-card>div {
    min-width: 0;
}

.market-overview-card>div>span {
    color: var(--text-muted);
    font-size: 11px;
}

.market-overview-card h3 {
    margin: 7px 0;
    font-family: "Manrope", sans-serif;
    font-size: 21px;
}

.market-overview-card small {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.6;
}

.markets-explorer-panel {
    padding: 25px;
}

.markets-heading {
    margin-bottom: 23px;
}

.market-data-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text-muted);
    font-size: 10px;
    white-space: nowrap;
}

.market-data-label>span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e5bd70;
}

.market-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 13px;
    margin-bottom: 22px;
}

.market-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--bg);
}

.market-search-box>i {
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.market-search-box input {
    width: 100%;
    min-width: 0;
    padding: 14px 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    font-size: 12px;
}

.market-search-box input::placeholder {
    color: var(--text-muted);
}

#marketSort {
    width: 100%;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    background: var(--bg);
    color: var(--text-primary);
    font: inherit;
    font-size: 11px;
}

#marketSort option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 23px;
}

.category-filters .filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: 0.2s ease;
}

.category-filters .filter-button:hover {
    border-color: rgba(50, 214, 160, 0.35);
    color: var(--primary);
}

.category-filters .filter-button.active {
    border-color: rgba(50, 214, 160, 0.35);
    background: rgba(50, 214, 160, 0.1);
    color: var(--primary);
}

.markets-table-wrap {
    border-top: 1px solid var(--border);
}

.markets-table {
    min-width: 900px;
}

.markets-table th {
    padding-top: 17px;
    padding-bottom: 17px;
}

.markets-table td {
    padding-top: 18px;
    padding-bottom: 18px;
}

.market-category-label {
    display: inline-block;
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 10px;
}

.market-position-cell {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.market-position-cell strong {
    font-size: 11px;
}

.market-position-cell small {
    color: var(--text-muted);
    font-size: 10px;
}

.markets-table-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
}

.markets-table-footer p {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.7;
}

.market-empty-state {
    padding: 45px 20px;
    text-align: center;
}

.market-empty-state[hidden] {
    display: none;
}

.market-empty-state>span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 13px;
    background: rgba(50, 214, 160, 0.08);
    color: var(--primary);
}

.market-empty-state h3 {
    margin-bottom: 9px;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
}

.market-empty-state p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 12px;
}

.markets-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 25px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.markets-disclaimer>i {
    margin-top: 3px;
    color: var(--primary);
}

.markets-disclaimer strong {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
}

.markets-disclaimer p {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.9;
}

@media (max-width: 1000px) {
    .market-overview-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .markets-explorer-panel {
        padding: 16px;
    }

    .market-search-row {
        grid-template-columns: 1fr;
    }

    .markets-heading {
        align-items: flex-start;
    }

    .markets-table-footer {
        flex-direction: column;
    }

    .markets-disclaimer {
        padding: 16px;
    }
}

/* ========================================
   DISTINCT NEXORA OVERVIEW DASHBOARD
======================================== */

.overview-page {
    max-width: 1800px;
}

.overview-demo-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 28px;
    padding: 14px 17px;
    border: 1px solid rgba(50, 214, 160, 0.2);
    border-radius: 9px;
    background: rgba(50, 214, 160, 0.045);
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.7;
}

.overview-demo-notice i {
    color: var(--primary);
}

.overview-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.overview-welcome h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(23px, 3vw, 32px);
    margin-bottom: 9px;
}

.overview-welcome h2 span {
    color: var(--primary);
}

.overview-welcome p:not(.section-eyebrow) {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.8;
}

.overview-balance-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 225px;
    overflow: hidden;
    padding: 35px;
    margin-bottom: 20px;
    border: 1px solid rgba(50, 214, 160, 0.22);
    border-radius: 17px;
    background:
        radial-gradient(circle at 85% 20%,
            rgba(50, 214, 160, 0.15),
            transparent 35%),
        linear-gradient(120deg,
            #101e25,
            #0c151c);
}

.overview-balance-content {
    position: relative;
    z-index: 2;
}

.overview-balance-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.overview-balance-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.overview-balance-card h2 {
    margin: 20px 0 9px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(33px, 5vw, 48px);
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
}

.overview-balance-card p {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.8;
}

.overview-balance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.overview-balance-decoration {
    position: absolute;
    right: 7%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(50, 214, 160, 0.09);
    font-size: clamp(100px, 16vw, 190px);
    pointer-events: none;
}

.overview-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.overview-stat-card {
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
}

.overview-stat-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-muted);
    font-size: 11px;
}

.overview-stat-heading i {
    color: var(--primary);
    font-size: 15px;
}

.overview-stat-card h3 {
    margin: 18px 0 8px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(20px, 2.5vw, 27px);
    overflow-wrap: anywhere;
}

.overview-stat-card p {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.7;
}

.overview-analysis-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.overview-panel {
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--bg-card);
}

.overview-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.overview-panel-heading h3 {
    font-family: "Manrope", sans-serif;
    font-size: 17px;
}

.overview-demo-tag {
    padding: 7px 9px;
    border-radius: 6px;
    background: rgba(50, 214, 160, 0.08);
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.performance-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.performance-summary>div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.performance-summary span {
    color: var(--text-muted);
    font-size: 10px;
}

.performance-summary strong {
    font-size: 17px;
}

.overview-chart-container {
    width: 100%;
    height: 200px;
}

.overview-chart-container svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.overview-chart-grid line {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-dasharray: 4 6;
}

.overview-chart-labels {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 9px;
}

.overview-chart-note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.8;
}

.allocation-donut-container {
    display: grid;
    place-items: center;
    padding: 10px 0 24px;
}

.allocation-donut {
    display: grid;
    place-items: center;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: conic-gradient(#32d6a0 0deg 360deg);
    position: relative;
}

.allocation-donut::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: var(--bg-card);
}

.allocation-donut-center {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.allocation-donut-center span {
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 1px;
}

.allocation-donut-center strong {
    max-width: 140px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    text-align: center;
    overflow-wrap: anywhere;
}

.allocation-legend {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.allocation-legend-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.allocation-legend-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 3px;
}

.allocation-legend-name {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.allocation-legend-name strong {
    font-size: 11px;
}

.allocation-legend-name small {
    color: var(--text-muted);
    font-size: 9px;
}

.allocation-legend-value {
    text-align: right;
}

.allocation-legend-value strong {
    display: block;
    font-size: 11px;
}

.allocation-legend-value small {
    color: var(--text-muted);
    font-size: 10px;
}

.allocation-empty {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.8;
}

.overview-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.overview-watchlist {
    display: flex;
    flex-direction: column;
}

.overview-watchlist-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.overview-watchlist-row:last-child {
    border-bottom: none;
}

.overview-watchlist-name {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

.overview-watchlist-name strong {
    font-size: 11px;
}

.overview-watchlist-name small {
    color: var(--text-muted);
    font-size: 9px;
}

.overview-watchlist-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.overview-watchlist-price strong {
    font-size: 11px;
}

.overview-watchlist-price small {
    font-size: 10px;
}

@media (max-width: 1100px) {
    .overview-analysis-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .overview-stat-grid {
        grid-template-columns: 1fr;
    }

    .overview-bottom-grid {
        grid-template-columns: 1fr;
    }

    .overview-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .overview-balance-card {
        padding: 25px;
    }

    .overview-balance-decoration {
        right: -10px;
        font-size: 100px;
    }
}



/* PAYMENT OPTIONS MODAL */
.payment-options-card {
    width: min(100% - 32px, 500px);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}

.payment-modal-header {
    margin-bottom: 25px;
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    font-size: 25px;
    margin-bottom: 15px;
}

.payment-modal-header h2 {
    font-size: 25px;
    margin: 8px 0;
    color: var(--text-primary, #ffffff);
}

.payment-modal-header>p:last-child {
    color: var(--text-muted, #9ca3af);
    font-size: 13px;
    line-height: 1.7;
}

.payment-order-summary {
    display: grid;
    gap: 15px;
    padding: 18px;
    margin-bottom: 22px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.payment-order-summary>div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.payment-order-summary span {
    font-size: 13px;
    color: var(--text-muted, #9ca3af);
}

.payment-order-summary strong {
    font-size: 13px;
    color: var(--text-primary, #ffffff);
    text-align: right;
}

.payment-method-list {
    display: grid;
    gap: 12px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-primary, #ffffff);
    transition: border-color 0.2s, background 0.2s;
}

.payment-method-option:hover,
.payment-method-option:focus-visible {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.07);
    outline: none;
}

.payment-method-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    flex-shrink: 0;
}

.crypto-payment-icon {
    background: rgba(247, 147, 26, 0.12);
    color: #f7931a;
}

.bank-payment-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.payment-method-text {
    display: grid;
    gap: 5px;
    flex: 1;
}

.payment-method-text strong {
    font-size: 14px;
}

.payment-method-text small {
    color: var(--text-muted, #9ca3af);
    font-size: 12px;
    line-height: 1.5;
}

.payment-method-arrow {
    font-size: 26px;
    color: var(--text-muted, #9ca3af);
}

.payment-instructions {
    margin-top: 22px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.payment-instructions h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.payment-instructions>p {
    color: var(--text-muted, #9ca3af);
    font-size: 13px;
    line-height: 1.7;
}

.payment-demo-notice {
    margin: 16px 0;
    padding: 13px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.payment-demo-notice strong {
    color: #10b981;
    font-size: 13px;
}

.payment-demo-notice p {
    margin: 7px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-muted, #9ca3af);
}

.payment-demo-confirm {
    width: 100%;
    margin-top: 5px;
}

.payment-demo-footer {
    margin: 20px 0 0;
    text-align: center;
    color: var(--text-muted, #9ca3af);
    font-size: 11px;
}

@media (max-width: 480px) {
    .payment-options-card {
        padding: 22px;
    }


    .payment-modal-header h2 {
        font-size: 22px;
    }

    .payment-order-summary {
        padding: 14px;
    }


}


/* NEXORA CAPITAL — PAYMENT MODAL VISIBILITY FIX */

#paymentOptionsModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

#paymentOptionsModal.active {
    display: flex;
}

#paymentOptionsModal .payment-options-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: #0d1729;
    color: #f8fafc;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

#paymentOptionsModal .payment-method-option {
    color: #f8fafc;
}

#paymentOptionsModal .payment-method-text strong {
    color: #f8fafc;
}

#paymentOptionsModal .payment-instructions[hidden] {
    display: none !important;
}

/* ==========================================
   INVESTMENT HOLDINGS
========================================== */

.holdings-panel {
    margin-top: 24px;
}

.holdings-subtitle {
    color: var(--text-muted, #9ca3af);
    font-size: 13px;
    line-height: 1.7;
    margin-top: 7px;
}

.holdings-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.holdings-summary>div {
    padding: 17px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    min-width: 0;
}

.holdings-summary span {
    display: block;
    color: var(--text-muted, #9ca3af);
    font-size: 12px;
    margin-bottom: 10px;
}

.holdings-summary strong {
    display: block;
    color: var(--text-primary, #ffffff);
    font-size: 18px;
    overflow-wrap: anywhere;
}

.holdings-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.holdings-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
}

.holdings-table th {
    padding: 15px 13px;
    color: var(--text-muted, #9ca3af);
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.holdings-table td {
    padding: 17px 13px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.07));
    font-size: 12px;
    white-space: nowrap;
}

.holdings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.holdings-table td strong {
    font-weight: 600;
}

.holding-duration {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 7px;
    color: #8fdcc0;
    background: rgba(50, 214, 160, 0.09);
    font-size: 11px;
}

.holding-return {
    display: block;
    margin-top: 5px;
    font-size: 11px;
}

.holdings-empty {
    padding: 35px !important;
    text-align: center;
    color: var(--text-muted, #9ca3af);
    white-space: normal !important;
}

.holdings-disclaimer {
    margin-top: 18px;
    color: var(--text-muted, #9ca3af);
    font-size: 11px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .holdings-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .holdings-summary {
        gap: 10px;
    }

    .holdings-summary>div {
        padding: 13px;
    }

    .holdings-summary strong {
        font-size: 15px;
    }
}

/* =====================================================
   NEXORA CAPITAL — DASHBOARD UPGRADES
===================================================== */


/* Consistent sizing */

.overview-page,
.overview-page * {
    box-sizing: border-box;
}


/* Dashboard notice */

.overview-demo-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
    margin-bottom: 28px;
    border: 1px solid rgba(50, 214, 160, 0.2);
    border-radius: 12px;
    background: rgba(50, 214, 160, 0.06);
    color: #b8c8d8;
    font-size: 12px;
    line-height: 1.7;
}

.overview-demo-notice i {
    margin-top: 3px;
    color: #32d6a0;
    flex-shrink: 0;
}


/* Portfolio panels */

.overview-panel {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 17px;
    background: #101c2e;
    padding: 24px;
}

.overview-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.overview-panel-heading h2,
.overview-panel-heading h3 {
    margin: 7px 0 0;
    color: #f4f7fb;
}

.overview-panel-heading h2 {
    font-size: 23px;
}

.overview-panel-heading h3 {
    font-size: 19px;
}

.overview-demo-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 11px;
    border-radius: 8px;
    background: rgba(50, 214, 160, 0.1);
    color: #32d6a0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
}


/* Holdings panel */

.holdings-panel {
    width: 100%;
    margin-top: 25px;
    overflow: hidden;
}

.market-data-label {
    display: inline-block;
    color: #32d6a0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.holdings-subtitle {
    margin: 10px 0 0;
    color: #91a1b7;
    font-size: 12px;
    line-height: 1.7;
}


/* Summary cards */

.holdings-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.holdings-summary>div {
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.holdings-summary span {
    display: block;
    margin-bottom: 11px;
    color: #91a1b7;
    font-size: 11px;
    line-height: 1.5;
}

.holdings-summary strong {
    display: block;
    color: #f8fafc;
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 800;
    overflow-wrap: anywhere;
}


/* Holdings table */

.holdings-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 10px;
}

.holdings-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    text-align: left;
}

.holdings-table th {
    padding: 15px 13px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.17);
    color: #91a1b7;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.holdings-table td {
    padding: 16px 13px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.09);
    color: #cbd5e1;
    font-size: 12px;
    white-space: nowrap;
}

.holdings-table tbody tr {
    transition: background 0.2s ease;
}

.holdings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.holdings-table tbody tr:last-child td {
    border-bottom: none;
}

.holdings-table td strong {
    color: #f8fafc;
}

.table-asset {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 150px;
}

.table-asset>span:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.table-asset small {
    color: #8293aa;
    font-size: 10px;
}

.holding-duration {
    display: inline-flex;
    padding: 6px 9px;
    border: 1px solid rgba(50, 214, 160, 0.15);
    border-radius: 7px;
    background: rgba(50, 214, 160, 0.06);
    color: #76e4bd;
    font-size: 10px;
}

.holding-return {
    display: block;
    margin-top: 5px;
    font-size: 10px;
}

.holdings-empty {
    padding: 30px 15px !important;
    color: #91a1b7 !important;
    text-align: center;
    white-space: normal !important;
}

.holdings-disclaimer {
    margin: 20px 0 0;
    color: #77879e;
    font-size: 10px;
    line-height: 1.8;
}


/* Positive and negative values */

.positive {
    color: #32d6a0 !important;
}

.negative {
    color: #ff7185 !important;
}


/* Selected assets */

.overview-watchlist {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.overview-watchlist-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.overview-watchlist-row:last-child {
    border-bottom: none;
}

.overview-watchlist-name,
.overview-watchlist-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.overview-watchlist-name strong,
.overview-watchlist-price strong {
    color: #f8fafc;
    font-size: 12px;
}

.overview-watchlist-name small,
.overview-watchlist-price small {
    color: #91a1b7;
    font-size: 10px;
}

.overview-watchlist-price {
    align-items: flex-end;
    text-align: right;
}

.asset-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    color: #dce7f3;
    font-size: 15px;
}

.asset-icon.bitcoin {
    color: #f6a623;
}

.asset-icon.ethereum {
    color: #a99bff;
}

.asset-icon.nvidia {
    color: #8ed85e;
}

.asset-icon.microsoft {
    color: #69b8ff;
}

.asset-icon.apple {
    color: #f8fafc;
}

.asset-icon.amazon {
    color: #f6a623;
}

.asset-icon.tesla {
    color: #ff7185;
}

.asset-icon.energy,
.asset-icon.petroleum {
    color: #e5bd70;
}

.small-action-button {
    padding: 8px 11px;
    border: 1px solid rgba(50, 214, 160, 0.22);
    border-radius: 8px;
    background: rgba(50, 214, 160, 0.07);
    color: #32d6a0;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.small-action-button:hover {
    background: rgba(50, 214, 160, 0.15);
}


/* Recent transaction descriptions */

.data-table td small {
    display: block;
    margin-top: 5px;
    color: #91a1b7;
    font-size: 10px;
    line-height: 1.5;
}

.badge-buy,
.badge-sell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
}

.badge-buy {
    background: rgba(50, 214, 160, 0.1);
    color: #32d6a0;
}

.badge-sell {
    background: rgba(255, 113, 133, 0.1);
    color: #ff7185;
}


/* Chart */

.overview-chart-container {
    width: 100%;
    min-height: 190px;
    margin-top: 20px;
    overflow: hidden;
}

.overview-chart-container svg {
    display: block;
    width: 100%;
    height: 210px;
    overflow: visible;
}

.overview-chart-grid line {
    stroke: rgba(148, 163, 184, 0.12);
    stroke-dasharray: 4 6;
}

.overview-chart-labels {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    color: #8293aa;
    font-size: 10px;
}

.overview-chart-note {
    margin-top: 17px;
    color: #8293aa;
    font-size: 10px;
    line-height: 1.7;
}


/* Allocation legend */

.allocation-legend {
    margin-top: 20px;
}

.allocation-legend-row {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.allocation-legend-row:last-child {
    border-bottom: none;
}

.allocation-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.allocation-legend-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.allocation-legend-name strong,
.allocation-legend-value strong {
    color: #f8fafc;
    font-size: 11px;
}

.allocation-legend-name small {
    color: #8293aa;
    font-size: 10px;
}


/* Responsive layout */

@media (max-width: 1100px) {

    .holdings-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 760px) {

    .overview-panel {
        padding: 18px;
    }

    .overview-panel-heading {
        gap: 12px;
    }

    .overview-watchlist-row {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        gap: 9px;
    }

    .overview-watchlist-price {
        grid-column: 2;
        align-items: flex-start;
        text-align: left;
    }

    .overview-watchlist-row .small-action-button {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .holdings-summary {
        gap: 9px;
    }

    .holdings-summary>div {
        padding: 13px;
    }

    .holdings-summary span {
        font-size: 10px;
    }

    .holdings-panel {
        margin-top: 18px;
    }

    .overview-chart-container svg {
        height: 170px;
    }

}


@media (max-width: 420px) {

    .holdings-summary {
        grid-template-columns: 1fr 1fr;
    }

    .overview-panel-heading h2 {
        font-size: 19px;
    }

    .overview-demo-tag {
        padding: 7px;
        font-size: 8px;
    }

}

/* =====================================================
   PORTFOLIO INSIGHTS PANEL
===================================================== */

.portfolio-insights {
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid rgba(148, 163, 184, 0.13);
}

.portfolio-insights-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.portfolio-insights-heading h4 {
    margin: 6px 0 0;
    color: #f8fafc;
    font-size: 16px;
    font-weight: 700;
}

.portfolio-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.portfolio-insight-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.portfolio-insight-card:hover {
    background: rgba(50, 214, 160, 0.04);
    border-color: rgba(50, 214, 160, 0.2);
}

.insight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(50, 214, 160, 0.1);
    color: #32d6a0;
    font-size: 15px;
}

.portfolio-insight-card>div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.portfolio-insight-card small {
    color: #91a1b7;
    font-size: 10px;
}

.portfolio-insight-card strong {
    color: #f8fafc;
    font-size: 17px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portfolio-insight-card>div>span {
    color: #8293aa;
    font-size: 9px;
    line-height: 1.5;
}

.portfolio-insights-note {
    margin: 16px 0 0;
    color: #77879e;
    font-size: 10px;
    line-height: 1.7;
}

@media (max-width: 480px) {

    .portfolio-insights-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-insight-card {
        padding: 13px;
    }

}





/* =========================================
   MOBILE DASHBOARD RESPONSIVENESS FIX
========================================= */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body.dashboard-body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
}

.dashboard-layout,
.dashboard-main,
.overview-page {
    min-width: 0;
    max-width: 100%;
}

.dashboard-main {
    box-sizing: border-box;
}

.dashboard-main *,
.dashboard-main *::before,
.dashboard-main *::after {
    box-sizing: border-box;
}

@media (max-width: 768px) {

    body.dashboard-body {
        overflow-x: hidden;
    }

    .dashboard-layout {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .dashboard-main {
        width: 100%;
        min-width: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Prevent tables from stretching the entire page */
    .table-wrap,
    .holdings-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table,
    .holdings-table {
        min-width: 600px;
    }

    /* Keep dashboard cards inside the screen */
    .overview-stat-grid,
    .overview-analysis-grid,
    .overview-bottom-grid {
        min-width: 0;
        max-width: 100%;
    }

    .overview-panel,
    .overview-stat-card,
    .overview-balance-card {
        min-width: 0;
        max-width: 100%;
    }

    /* Prevent long financial figures from stretching cards */
    .overview-stat-card h3,
    #totalPortfolioValue,
    #availableCash,
    #investedValue,
    #totalProfitLoss {
        overflow-wrap: anywhere;
    }

    /* Keep form fields from triggering browser zoom */
    input,
    select,
    textarea {
        font-size: 16px;
    }
}


/* ========================================
   MOBILE ZOOM AND OVERFLOW FIX
   ======================================== */

html {
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Ensure padding doesn't increase element width */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent main layout containers from forcing a wide page */
.container,
.main-content,
.page-content,
.markets-container,
.markets-content,
.dashboard-layout,
.dashboard-main {
    min-width: 0;
    max-width: 100%;
}

/* Mobile layout */
@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container,
    .main-content,
    .page-content,
    .markets-container,
    .markets-content {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    /* Keep headings and descriptions inside the screen */
    h1,
    h2,
    h3,
    p {
        overflow-wrap: anywhere;
    }

    /* Prevent form fields from triggering automatic iPhone zoom */
    input,
    select,
    textarea {
        font-size: 16px;
    }

    /* Allow market tables to scroll independently */
    .markets-table-wrapper,
    .table-wrapper,
    .table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Keep wide tables readable without expanding the page */
    .markets-table,
    .data-table {
        min-width: 600px;
    }

    /* Make market cards adapt to narrow screens */
    .markets-grid,
    .market-cards,
    .market-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-width: 0;
    }

    /* Prevent flex and grid children from forcing page width */
    .market-card,
    .market-item,
    .market-row {
        min-width: 0;
        max-width: 100%;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }
}

/* Test the demo account */

/* =====================================
   PRECONFIGURED DEMO LOGIN CARD
===================================== */

.demo-login-card {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(50, 214, 160, 0.2);
    border-radius: 14px;
    background: rgba(50, 214, 160, 0.045);
}

.demo-login-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.demo-login-heading>i {
    color: #32d6a0;
    font-size: 20px;
    margin-top: 3px;
}

.demo-login-heading strong {
    display: block;
    color: #f1f5f9;
    font-size: 13px;
}

.demo-login-heading p {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;
}

.demo-login-card .btn {
    width: 100%;
}

.demo-login-card small {
    display: block;
    margin-top: 12px;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;
}

/* =========================================
   NEXORA DASHBOARD — FIXED SIDEBAR
========================================= */

/* Desktop dashboard */
@media (min-width: 801px) {

    .dashboard-layout {
        display: grid;
        grid-template-columns: 245px minmax(0, 1fr);
        min-height: 100vh;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;

        width: 245px;
        height: 100vh;

        overflow-y: auto;
        overflow-x: hidden;

        z-index: 1000;

        background: #09111e;
        border-right: 1px solid var(--border);
    }

    .dashboard-main {
        grid-column: 2;
        min-width: 0;
        width: 100%;
    }
}

/* Smaller desktop and tablet */
@media (min-width: 801px) and (max-width: 1100px) {

    .dashboard-layout {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .sidebar {
        width: 210px;
    }
}

/* Mobile dashboard */
@media (max-width: 800px) {

    .dashboard-layout {
        display: block;
    }

    .sidebar {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;

        width: 100%;
        height: auto;
        max-height: none;

        overflow: visible;

        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .dashboard-main {
        width: 100%;
        margin-left: 0;
    }
}

/* =====================================
   DASHBOARD DEPOSIT AND WITHDRAW BUTTONS
===================================== */

.sidebar-action {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    margin-top: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #aab6c8;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: 0.25s ease;
}

.sidebar-action i {
    width: 19px;
    font-size: 16px;
}

.deposit-sidebar-btn:hover {
    color: #32d6a0;
    background: rgba(50, 214, 160, 0.09);
    border-color: rgba(50, 214, 160, 0.2);
}

.withdraw-sidebar-btn:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.09);
    border-color: rgba(96, 165, 250, 0.2);
}

#depositForm label {
    display: block;
    margin-bottom: 12px;
}

/* =====================================
   DEPOSIT PAYMENT MODAL — SOLID BACKGROUND
===================================== */

/* Darken the background behind the modal */
#depositPaymentModal {
    background: rgba(2, 7, 18, 0.88) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Make the payment modal completely opaque */
#depositPaymentModal .payment-options-card {
    background: #0d192b !important;
    background-color: #0d192b !important;
    opacity: 1 !important;
    border: 1px solid #26364c;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

/* Give the payment summary its own solid background */
#depositPaymentModal .payment-order-summary {
    background: #142136 !important;
}

/* Payment method cards */
#depositPaymentModal .payment-method-option {
    background: #142136 !important;
    border: 1px solid #26364c;
}

/* Payment instructions */
#depositPaymentModal .payment-instructions {
    background: #101f32 !important;
    border: 1px solid #26364c;
    border-radius: 12px;
    padding: 18px;
}

/* Keep the text clearly visible */
#depositPaymentModal,
#depositPaymentModal h2,
#depositPaymentModal h3,
#depositPaymentModal strong {
    color: #f5f7fb;
}


/* WITHDRAWAL NOTICE */

/* Withdrawal Notice */
.notice-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.notice-box {
    background: #071b35;
    color: #ffffff;
    width: 100%;
    max-width: 430px;
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    animation: noticeAppear 0.3s ease;
}

.notice-icon {
    width: 55px;
    height: 55px;
    background: #f59e0b;
    color: #071b35;
    border-radius: 50%;
    font-size: 35px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.notice-box h2 {
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.notice-box p {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    color: #d5dfed;
    margin-bottom: 25px;
}

.notice-box button {
    width: 100%;
    padding: 14px;
    background: #f59e0b;
    color: #071b35;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.notice-box button:hover {
    background: #ffb52e;
}

@keyframes noticeAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}