/* =========================================================
   MACPRO FUNDING
   Trader Portal - Global Styles
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */

html {
    font-size: 14px;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

    body.macpro-body {
        margin: 0;
        min-height: 100vh;
        background: #090d14;
        color: #f4f6f8;
        font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }


/* =========================================================
   APP STRUCTURE
   ========================================================= */

.macpro-app {
    display: flex;
    min-height: 100vh;
    width: 100%;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.macpro-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 28px 18px 22px;
    background: #0d121b;
    border-right: 1px solid #1d2532;
    z-index: 100;
}


/* =========================================================
   BRAND
   ========================================================= */

.macpro-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 10px 30px;
}

.macpro-brand-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: linear-gradient( 135deg, #1c8cff, #0057d9 );
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1px;
    box-shadow: 0 8px 24px rgba(0, 111, 255, 0.20);
}

.macpro-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.macpro-brand-name {
    color: #ffffff;
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.4px;
}

.macpro-brand-subtitle {
    margin-top: 5px;
    color: #697487;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.macpro-navigation {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.macpro-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #8c97a8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 550;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

    .macpro-nav-item:hover {
        background: #141b26;
        border-color: #202a39;
        color: #ffffff;
    }

    .macpro-nav-item.active {
        background: #14243a;
        border-color: #1c3b63;
        color: #ffffff;
    }

.macpro-nav-icon {
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #708097;
    font-size: 16px;
}

.macpro-nav-item.active .macpro-nav-icon {
    color: #3696ff;
}


/* =========================================================
   SIDEBAR BOTTOM
   ========================================================= */

.macpro-sidebar-bottom {
    margin-top: auto;
}

    .macpro-sidebar-bottom > .macpro-nav-item {
        margin-bottom: 18px;
    }


/* =========================================================
   USER
   ========================================================= */

.macpro-user {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 17px 10px 2px;
    border-top: 1px solid #1d2532;
}

.macpro-user-avatar {
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #182334;
    border: 1px solid #29384d;
    color: #dfe8f4;
    font-size: 11px;
    font-weight: 700;
}

.macpro-user-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.macpro-user-name {
    color: #eef2f7;
    font-size: 13px;
    font-weight: 650;
}

.macpro-user-role {
    margin-top: 3px;
    color: #667286;
    font-size: 10px;
}
/* =========================================================
   LOGOUT
   ========================================================= */

.macpro-sidebar-bottom form {
    margin: 12px 10px 0;
}

.macpro-logout-button {
    width: 100%;
    height: 38px;
    border: 1px solid #29384d;
    border-radius: 8px;
    background: #111923;
    color: #8c97a8;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

    .macpro-logout-button:hover {
        background: #17212c;
        border-color: #3a4a5d;
        color: #ffffff;
    }

/* =========================================================
   MAIN AREA
   ========================================================= */

.macpro-main {
    width: calc(100% - 260px);
    min-height: 100vh;
    margin-left: 260px;
    background: radial-gradient( circle at 80% -20%, rgba(27, 103, 199, 0.10), transparent 35% ), #090d14;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.macpro-topbar {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    background: rgba(9, 13, 20, 0.88);
    border-bottom: 1px solid #1a2230;
    backdrop-filter: blur(12px);
}

.macpro-page-label {
    color: #707c8f;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 2px;
}

.macpro-topbar-actions {
    display: flex;
    align-items: center;
}

.macpro-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid #202a38;
    border-radius: 8px;
    background: #101720;
    color: #8c98a9;
    font-size: 11px;
    font-weight: 600;
}

.macpro-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28c76f;
    box-shadow: 0 0 10px rgba(40, 199, 111, 0.55);
}


/* =========================================================
   CONTENT
   ========================================================= */

.macpro-content {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 42px 42px 60px;
}


    /* =========================================================
   STANDARD TYPOGRAPHY
   ========================================================= */

    .macpro-content h1,
    .macpro-content h2,
    .macpro-content h3,
    .macpro-content h4,
    .macpro-content h5,
    .macpro-content h6 {
        color: #f4f7fb;
    }

    .macpro-content p {
        color: #8995a7;
    }


    /* =========================================================
   LINKS
   ========================================================= */

    .macpro-content a {
        color: #4ba3ff;
    }


/* =========================================================
   ACCESSIBILITY / FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3696ff;
    outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .macpro-sidebar {
        width: 220px;
    }

    .macpro-main {
        width: calc(100% - 220px);
        margin-left: 220px;
    }

    .macpro-content {
        padding: 32px 26px 50px;
    }

    .macpro-topbar {
        padding: 0 26px;
    }
}

@media (max-width: 700px) {

    .macpro-sidebar {
        position: relative;
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #1d2532;
    }

    .macpro-app {
        flex-direction: column;
    }

    .macpro-main {
        width: 100%;
        margin-left: 0;
    }

    .macpro-sidebar-bottom {
        margin-top: 25px;
    }

    .macpro-content {
        padding: 28px 20px 45px;
    }

    .macpro-topbar {
        padding: 0 20px;
    }
}
/* =========================================================
   MACPRO FUNDING
   STUDENT PORTAL - EVALUATION DASHBOARD
   ========================================================= */

.dashboard-page {
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 32px 34px 50px;
}


/* =========================================================
   DASHBOARD HEADER
   ========================================================= */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 26px;
}

.dashboard-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.terminal-badge {
    padding: 6px 10px;
    border: 1px solid rgba(247, 188, 50, 0.35);
    border-radius: 7px;
    background: rgba(247, 188, 50, 0.10);
    color: #f8df78;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #a7b0bd;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #26e875;
    box-shadow: 0 0 10px rgba(38, 232, 117, 0.75);
}

.dashboard-header h1 {
    margin: 0;
    color: #f5f7fa;
    font-size: 29px;
    font-weight: 600;
}

.dashboard-header p {
    margin: 6px 0 0;
    color: #778392;
    font-size: 13px;
}

.account-actions {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.account-selector {
    width: 300px;
}

    .account-selector label {
        display: block;
        margin: 0 0 7px 2px;
        color: #707b89;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .account-selector select {
        width: 100%;
        height: 45px;
        padding: 0 14px;
        border: 1px solid #293544;
        border-radius: 10px;
        outline: none;
        background: #111923;
        color: #f3f5f7;
        font-size: 12px;
        font-weight: 600;
    }

.refresh-button {
    height: 45px;
    padding: 0 20px;
    border: 1px solid #b88920;
    border-radius: 9px;
    background: #f7bc32;
    color: #1e1505;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}


/* =========================================================
   CURRENT EVALUATION HERO
   ========================================================= */

.evaluation-hero {
    display: grid;
    grid-template-columns: 1.35fr 1px 0.9fr 1px 0.85fr 1px 1fr;
    align-items: center;
    min-height: 230px;
    padding: 28px;
    border: 1px solid rgba(215, 169, 31, 0.35);
    border-radius: 16px;
    background: radial-gradient( circle at 10% 10%, rgba(247, 188, 50, 0.06), transparent 28% ), #0d141d;
    box-shadow: 0 0 28px rgba(215, 169, 31, 0.05);
}

.section-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.65px;
}

.gold {
    color: #f7bc32;
}

.main-balance {
    margin-top: 17px;
    color: #f7f8fa;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -1px;
}

.small-label {
    display: block;
    color: #74808e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.today-block {
    margin-top: 22px;
}

    .today-block strong {
        display: block;
        margin-top: 5px;
        font-size: 22px;
    }

.positive {
    color: #26e875 !important;
}

.hero-divider {
    width: 1px;
    height: 145px;
    background: #26313e;
}

.hero-status {
    padding: 0 32px;
}

.status-active {
    display: flex;
    align-items: center;
    margin-top: 15px;
    color: #26e875;
    font-size: 27px;
    font-weight: 800;
}

.status-failed {
    display: flex;
    align-items: center;
    margin-top: 15px;
    color: #ff4747;
    font-size: 27px;
    font-weight: 800;
}

    .status-failed .status-dot {
        background: #ff4747;
        box-shadow: 0 0 10px rgba(255, 71, 71, 0.8);
    }

.status-passed {
    display: flex;
    align-items: center;
    margin-top: 15px;
    color: #26e875;
    font-size: 27px;
    font-weight: 800;
}

.status-reason {
    margin-top: 7px;
    color: #ff6b6b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.status-dot {
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-radius: 50%;
    background: #26e875;
    box-shadow: 0 0 10px rgba(38, 232, 117, 0.8);
}

.trading-days {
    margin-top: 24px;
    color: #f8df78;
    font-size: 13px;
    font-weight: 700;
}

.hero-status p {
    margin: 5px 0 0;
    color: #8994a2;
    font-size: 11px;
}


/* =========================================================
   COMPLETION RING
   ========================================================= */

.hero-progress {
    text-align: center;
}

.progress-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin: auto;
    border-radius: 50%;
    background: radial-gradient( circle, #0d141d 57%, transparent 59% ), conic-gradient( #26e875 0deg 43deg, #26343d 43deg 360deg );
    box-shadow: 0 0 20px rgba(38, 232, 117, 0.12);
}

.progress-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .progress-inner strong {
        color: #ffffff;
        font-size: 34px;
        line-height: 1;
    }

    .progress-inner span {
        margin-top: 7px;
        color: #75818f;
        font-size: 9px;
        font-weight: 700;
    }

.distance-pass {
    display: block;
    margin-top: 10px;
    color: #26e875;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   TARGET / DAILY LOSS
   ========================================================= */

.hero-rules {
    padding-left: 30px;
}

.rule-item {
    display: flex;
    align-items: center;
}

.rule-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    margin-right: 14px;
    border-radius: 10px;
    font-size: 25px;
    font-weight: 700;
}

    .rule-icon.target {
        border: 1px solid rgba(38, 232, 117, 0.25);
        background: rgba(38, 232, 117, 0.09);
        color: #26e875;
    }

    .rule-icon.loss {
        border: 1px solid rgba(255, 71, 71, 0.30);
        background: rgba(255, 71, 71, 0.10);
        color: #ff4747;
    }

.rule-item strong {
    display: block;
    margin-top: 4px;
    color: #f5f6f8;
    font-size: 18px;
}

.rule-item small {
    display: block;
    margin-top: 4px;
    font-size: 10px;
}

.rule-separator {
    height: 1px;
    margin: 19px 0;
    background: #26313e;
}


/* =========================================================
   KPI CARDS
   ========================================================= */

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.metric-card {
    display: flex;
    align-items: center;
    min-height: 112px;
    padding: 20px;
    border: 1px solid #293544;
    border-radius: 14px;
    background: #0d141d;
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin-right: 15px;
    border-radius: 11px;
    font-size: 22px;
    font-weight: 700;
}

.gold-icon {
    background: rgba(247, 188, 50, 0.12);
    color: #f7bc32;
}

.purple-icon {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.green-icon {
    background: rgba(38, 232, 117, 0.10);
    color: #26e875;
}

.red-icon {
    background: rgba(255, 71, 71, 0.10);
    color: #ff4747;
}

.metric-card span {
    display: block;
    color: #74808e;
    font-size: 9px;
    font-weight: 700;
}

.metric-card strong {
    display: block;
    margin-top: 5px;
    color: #f7f8fa;
    font-size: 21px;
}

.metric-card small {
    display: block;
    margin-top: 5px;
    color: #697583;
    font-size: 10px;
}


/* =========================================================
   GENERIC DASHBOARD PANELS
   ========================================================= */

.dashboard-panel {
    border: 1px solid #293544;
    border-radius: 16px;
    background: #0d141d;
    padding: 24px;
}

    .dashboard-panel h2 {
        margin: 7px 0 0;
        color: #f5f7fa;
        font-size: 21px;
        font-weight: 600;
    }

    .dashboard-panel p {
        margin: 5px 0 0;
        color: #75818f;
        font-size: 11px;
    }


/* =========================================================
   PERFORMANCE
   ========================================================= */

.performance-panel {
    margin-top: 28px;
}

.chart-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    margin-top: 25px;
    border: 1px dashed #2d3947;
    border-radius: 12px;
    background: linear-gradient( 180deg, rgba(247, 188, 50, 0.025), transparent );
    color: #596574;
    font-size: 12px;
}


/* =========================================================
   LOWER DASHBOARD
   ========================================================= */

.dashboard-bottom {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    margin-top: 28px;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
}

.health-item {
    padding: 15px 20px;
    text-align: center;
    border-right: 1px solid #26313e;
}

    .health-item:last-child {
        border-right: 0;
    }

    .health-item span {
        display: block;
        color: #778392;
        font-size: 9px;
        font-weight: 700;
    }

    .health-item strong {
        display: block;
        margin-top: 13px;
        color: #f5f7fa;
        font-size: 30px;
    }

    .health-item small {
        display: block;
        margin-top: 8px;
        color: #778392;
        font-size: 10px;
    }


/* =========================================================
   RECENT ACTIVITY
   ========================================================= */

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.view-all-button {
    padding: 8px 12px;
    border: 1px solid #354354;
    border-radius: 7px;
    background: #1c2733;
    color: #a8b2be;
    font-size: 9px;
    font-weight: 700;
}

.empty-trades {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    color: #8994a2;
}

    .empty-trades strong {
        font-size: 11px;
    }

    .empty-trades span {
        margin-top: 6px;
        color: #697583;
        font-size: 9px;
    }

.recent-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 17px;
    border-top: 1px solid #26313e;
}

    .recent-total span {
        color: #778392;
        font-size: 10px;
        font-weight: 700;
    }

    .recent-total strong {
        color: #f5f7fa;
        font-size: 18px;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .evaluation-hero {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-divider {
        display: none;
    }

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

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

@media (max-width: 800px) {

    .dashboard-page {
        padding: 22px 18px 40px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }

    .account-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .account-selector {
        width: 100%;
    }

    .evaluation-hero {
        grid-template-columns: 1fr;
    }

    .hero-status,
    .hero-rules {
        padding: 0;
    }

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

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

    .health-item {
        border-right: 0;
        border-bottom: 1px solid #26313e;
    }
}
/* =========================================================
   PERFORMANCE EQUITY CHART
   ========================================================= */

.performance-chart {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    margin-top: 24px;
}

.performance-chart-scale {
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 0 27px;
    color: #657184;
    font-size: 9px;
}

.performance-chart-area {
    min-width: 0;
}

.equity-svg {
    display: block;
    width: 100%;
    height: 200px;
    overflow: visible;
}

.chart-grid-line {
    stroke: #26313e;
    stroke-width: 1;
}

.equity-glow {
    fill: none;
    stroke: #42e782;
    stroke-width: 10;
    stroke-linejoin: round;
    stroke-linecap: round;
    opacity: 0.10;
    filter: url(#equityGlow);
}

.equity-line {
    fill: none;
    stroke: #42e782;
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.equity-last-point-outer {
    fill: #42e782;
    filter: drop-shadow( 0 0 12px rgba(66, 231, 130, 0.90) );
}

.equity-last-point-inner {
    fill: #e9fff1;
}

.performance-chart-dates {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 4px;
    color: #657184;
    font-size: 9px;
}

    .performance-chart-dates span:nth-child(1) {
        text-align: left;
    }

    .performance-chart-dates span:nth-child(2),
    .performance-chart-dates span:nth-child(3),
    .performance-chart-dates span:nth-child(4) {
        text-align: center;
    }

    .performance-chart-dates span:nth-child(5) {
        text-align: right;
    }


/* =========================================================
   PERFORMANCE STATISTICS
   ========================================================= */

.performance-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #26313e;
}

.performance-stat {
    min-width: 0;
    padding: 0 22px;
    border-right: 1px solid #26313e;
}

    .performance-stat:first-child {
        padding-left: 0;
    }

    .performance-stat:last-child {
        padding-right: 0;
        border-right: 0;
    }

    .performance-stat span {
        display: block;
        color: #778395;
        font-size: 9px;
        font-weight: 700;
    }

    .performance-stat strong {
        display: block;
        margin-top: 6px;
        color: #f4f7fa;
        font-size: 18px;
        font-weight: 600;
    }

.negative {
    color: #ff4b4b !important;
}

.gold-value {
    color: #f7bc32 !important;
}


/* =========================================================
   PERFORMANCE RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .performance-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .performance-stat {
        padding: 0;
        border-right: 0;
    }
}

@media (max-width: 600px) {

    .performance-chart {
        grid-template-columns: 44px 1fr;
    }

    .performance-stats {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   EVALUATION HEALTH RINGS
   ========================================================= */

.health-rings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
}

.health-ring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 18px 4px;
    border-right: 1px solid #26313e;
}

    .health-ring-item:last-child {
        border-right: 0;
    }

.health-ring-title {
    margin-bottom: 17px;
    color: #778395;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
}


/* =========================================================
   BASE RING
   ========================================================= */

.health-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
}

    .health-ring::after {
        content: "";
        position: absolute;
        width: 84px;
        height: 84px;
        border-radius: 50%;
        background: #0d141d;
    }

.health-ring-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .health-ring-center strong {
        color: #f5f7fa;
        font-size: 25px;
        font-weight: 700;
        line-height: 1;
    }

    .health-ring-center span {
        margin-top: 7px;
        color: #687586;
        font-size: 7px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }


/* =========================================================
   PROFIT TARGET
   12% COMPLETED
   ========================================================= */

.profit-ring {
    background: conic-gradient( #42e782 0deg 43deg, #26343d 43deg 360deg );
    box-shadow: 0 0 18px rgba(66, 231, 130, 0.06);
}


/* =========================================================
   DAILY LOSS
   0% USED
   ========================================================= */

.daily-loss-ring {
    background: conic-gradient( #ff4b4b 0deg 0deg, #26343d 0deg 360deg );
}


/* =========================================================
   CONSISTENCY
   NO DATA YET
   ========================================================= */

.consistency-ring {
    background: conic-gradient( #f7bc32 0deg 0deg, #26343d 0deg 360deg );
}


/* =========================================================
   HEALTH DETAILS
   ========================================================= */

.health-ring-detail {
    display: block;
    margin-top: 14px;
    color: #778395;
    font-size: 9px;
    text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .health-rings-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .health-ring-item {
        border-right: 0;
        border-bottom: 1px solid #26313e;
        padding-bottom: 26px;
    }

        .health-ring-item:last-child {
            border-bottom: 0;
        }
}
/* =========================================================
   RECENT TRADES
   ========================================================= */

.trades-list {
    margin-top: 26px;
}

.trade-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(38, 49, 62, 0.75);
}

    .trade-row:last-child {
        border-bottom: 0;
    }

.trade-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(38, 232, 117, 0.28);
    border-radius: 9px;
    background: rgba(38, 232, 117, 0.09);
    color: #42e782;
    font-size: 9px;
    font-weight: 800;
}

.trade-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .trade-main strong {
        color: #f4f7fa;
        font-size: 11px;
        font-weight: 650;
    }

    .trade-main span {
        margin-top: 4px;
        color: #697583;
        font-size: 9px;
    }

.trade-pnl {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 700px) {

    .trade-row {
        grid-template-columns: 36px 1fr;
    }

    .trade-pnl {
        grid-column: 2;
        margin-top: 3px;
    }
}
/* =========================================================
   EVALUATIONS PAGE
   ========================================================= */

.evaluations-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}


/* HEADER */

.evaluations-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

    .evaluations-header h1 {
        margin: 12px 0 5px;
        color: #f5f7fa;
        font-size: 30px;
        font-weight: 700;
    }

    .evaluations-header p {
        margin: 0;
        color: #718096;
        font-size: 12px;
    }


/* SUMMARY */

.evaluation-summary {
    display: flex;
    overflow: hidden;
    border: 1px solid #26313e;
    border-radius: 12px;
    background: #0d151f;
}

    .evaluation-summary > div {
        min-width: 145px;
        padding: 14px 20px;
        display: flex;
        flex-direction: column;
    }

        .evaluation-summary > div + div {
            border-left: 1px solid #26313e;
        }

    .evaluation-summary span {
        color: #718096;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: .6px;
    }

    .evaluation-summary strong {
        margin-top: 4px;
        color: #f5f7fa;
        font-size: 19px;
    }


/* SECTION HEADING */

.evaluations-section-heading {
    margin-bottom: 18px;
}

    .evaluations-section-heading h2 {
        margin: 5px 0 3px;
        color: #f5f7fa;
        font-size: 20px;
    }

    .evaluations-section-heading p {
        margin: 0;
        color: #718096;
        font-size: 10px;
    }


/* ACCOUNT CARD */

.evaluation-account-card {
    overflow: hidden;
    border: 1px solid #293746;
    border-radius: 14px;
    background: #0d151f;
}


/* CARD HEADER */

.evaluation-card-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #202c38;
}

.evaluation-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.evaluation-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 190, 40, .30);
    border-radius: 11px;
    background: rgba(255, 190, 40, .09);
    color: #ffbd2e;
    font-size: 17px;
    font-weight: 800;
}

.evaluation-type {
    display: block;
    margin-bottom: 2px;
    color: #ffbd2e;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .6px;
}

.evaluation-identity h2 {
    margin: 0;
    color: #f5f7fa;
    font-size: 19px;
    font-weight: 700;
}

.evaluation-id {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 9px;
}


/* STATUS */

.evaluation-status-badge {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(38, 232, 117, .28);
    border-radius: 7px;
    background: rgba(38, 232, 117, .07);
    color: #32e879;
    font-size: 9px;
    font-weight: 800;
}

    .evaluation-status-badge span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #32e879;
        box-shadow: 0 0 8px rgba(50, 232, 121, .8);
    }


/* PRIMARY STATS */

.evaluation-primary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 24px;
}

.evaluation-stat {
    padding: 0 22px;
}

    .evaluation-stat:first-child {
        padding-left: 0;
    }

    .evaluation-stat + .evaluation-stat {
        border-left: 1px solid #26313e;
    }

    .evaluation-stat span,
    .evaluation-secondary-grid span {
        display: block;
        color: #718096;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: .5px;
    }

    .evaluation-stat strong {
        display: block;
        margin-top: 8px;
        color: #f5f7fa;
        font-size: 19px;
    }

    .evaluation-stat small {
        display: block;
        margin-top: 5px;
        color: #718096;
        font-size: 9px;
    }


/* PROGRESS */

.evaluation-progress-section {
    margin: 0 24px;
    padding: 19px 0;
    border-top: 1px solid #202c38;
    border-bottom: 1px solid #202c38;
}

.evaluation-progress-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
}

    .evaluation-progress-heading span {
        color: #718096;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: .5px;
    }

    .evaluation-progress-heading strong {
        color: #32e879;
        font-size: 10px;
    }

.evaluation-progress-track {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 20px;
    background: #202c38;
}

.evaluation-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: #32e879;
    box-shadow: 0 0 8px rgba(50, 232, 121, .35);
}


/* SECONDARY INFORMATION */

.evaluation-secondary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 24px;
}

    .evaluation-secondary-grid > div {
        padding: 0 22px;
    }

        .evaluation-secondary-grid > div:first-child {
            padding-left: 0;
        }

        .evaluation-secondary-grid > div + div {
            border-left: 1px solid #26313e;
        }

    .evaluation-secondary-grid strong {
        display: block;
        margin-top: 6px;
        color: #f5f7fa;
        font-size: 12px;
    }


/* FOOTER */

.evaluation-card-footer {
    padding: 17px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #202c38;
    background: rgba(6, 12, 19, .35);
}

.evaluation-footer-info {
    display: flex;
    flex-direction: column;
}

.evaluation-platform-label {
    color: #64748b;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .5px;
}

.evaluation-footer-info strong {
    margin-top: 3px;
    color: #aeb8c4;
    font-size: 10px;
}

.evaluation-view-button {
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #344454;
    border-radius: 7px;
    background: #14202c;
    color: #dce5ed;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    transition: .2s ease;
}

    .evaluation-view-button:hover {
        border-color: #ffbd2e;
        color: #ffbd2e;
        transform: translateY(-1px);
    }


/* RESPONSIVE */

@media (max-width: 900px) {

    .evaluations-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .evaluation-primary-grid,
    .evaluation-secondary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }

        .evaluation-stat:nth-child(3),
        .evaluation-secondary-grid > div:nth-child(3) {
            border-left: 0;
        }
}

@media (max-width: 600px) {

    .evaluations-page {
        padding: 30px 18px 60px;
    }

    .evaluation-summary {
        width: 100%;
    }

        .evaluation-summary > div {
            min-width: 0;
            flex: 1;
        }

    .evaluation-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .evaluation-primary-grid,
    .evaluation-secondary-grid {
        grid-template-columns: 1fr;
    }

        .evaluation-stat,
        .evaluation-secondary-grid > div {
            padding: 14px 0;
            border-left: 0 !important;
            border-bottom: 1px solid #202c38;
        }

    .evaluation-card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
}
/* =========================================================
   PAYOUTS PAGE
   ========================================================= */

.payouts-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

.payouts-header {
    margin-bottom: 34px;
}

    .payouts-header h1 {
        margin: 12px 0 5px;
        color: #f5f7fa;
        font-size: 30px;
        font-weight: 700;
    }

    .payouts-header p {
        margin: 0;
        color: #718096;
        font-size: 12px;
    }

.payouts-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.payout-summary-card {
    padding: 22px;
    border: 1px solid #293746;
    border-radius: 14px;
    background: #0d151f;
}

    .payout-summary-card span {
        display: block;
        color: #718096;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: .5px;
    }

    .payout-summary-card strong {
        display: block;
        margin-top: 8px;
        color: #f5f7fa;
        font-size: 22px;
    }

    .payout-summary-card small {
        display: block;
        margin-top: 5px;
        color: #64748b;
        font-size: 9px;
    }

.payout-request-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.payout-request-details {
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

    .payout-request-details > div {
        min-width: 150px;
    }

    .payout-request-details span {
        display: block;
        color: #718096;
        font-size: 8px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .payout-request-details strong {
        color: #f5f7fa;
        font-size: 18px;
    }

    .payout-request-details input {
        width: 150px;
        height: 42px;
        padding: 0 12px;
        border: 1px solid #293746;
        border-radius: 9px;
        background: #111923;
        color: #f5f7fa;
        font-size: 13px;
        font-weight: 600;
    }

.payout-request-button {
    height: 42px;
    padding: 0 18px;
    border: 1px solid #b88920;
    border-radius: 8px;
    background: #f7bc32;
    color: #1e1505;
    font-size: 10px;
    font-weight: 800;
}

.payout-history-panel {
    margin-top: 28px;
}

.payout-history-table {
    margin-top: 24px;
}

.payout-history-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 18px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #202c38;
}

.payout-history-head {
    color: #64748b;
    font-size: 8px;
    font-weight: 700;
}

.payout-history-row:not(.payout-history-head) {
    color: #aeb8c4;
    font-size: 10px;
}

.payout-history-row strong {
    color: #f5f7fa;
}

.payout-status {
    justify-self: start;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 8px;
    font-weight: 800;
}

    .payout-status.pending {
        background: rgba(247, 188, 50, .10);
        border: 1px solid rgba(247, 188, 50, .30);
        color: #f7bc32;
    }

    .payout-status.paid {
        background: rgba(38, 232, 117, .08);
        border: 1px solid rgba(38, 232, 117, .25);
        color: #26e875;
    }

@media (max-width: 900px) {
    .payouts-summary-grid {
        grid-template-columns: 1fr;
    }

    .payout-request-panel,
    .payout-request-details {
        flex-direction: column;
        align-items: stretch;
    }

    .payout-history-row {
        grid-template-columns: 1fr 1fr;
    }
}
/* =========================================================
   BILLING PAGE
   ========================================================= */

.billing-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

.billing-header {
    margin-bottom: 34px;
}

    .billing-header h1 {
        margin: 12px 0 5px;
        color: #f5f7fa;
        font-size: 30px;
        font-weight: 700;
    }

    .billing-header p {
        margin: 0;
        color: #718096;
        font-size: 12px;
    }


/* =========================================================
   SUBSCRIPTION LIST
   ========================================================= */

.billing-account-list-panel {
    padding: 0;
    overflow: hidden;
}

.billing-account-list {
    width: 100%;
}

.billing-account-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.35fr) minmax(170px, 1.25fr) minmax(115px, .85fr) minmax(135px, 1fr) minmax(90px, .65fr) 28px;
    gap: 18px;
    align-items: center;
}

.billing-account-row-head {
    min-height: 46px;
    padding: 0 24px;
    border-bottom: 1px solid #26313e;
    background: rgba(7, 12, 19, .40);
    color: #64748b;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .55px;
}


/* =========================================================
   ACCOUNT ITEM
   ========================================================= */

.billing-account-item {
    border-bottom: 1px solid #202c38;
}

    .billing-account-item:last-child {
        border-bottom: 0;
    }

    .billing-account-item > summary {
        min-height: 76px;
        padding: 0 24px;
        list-style: none;
        cursor: pointer;
        transition: background .18s ease, border-color .18s ease;
    }

        .billing-account-item > summary::-webkit-details-marker {
            display: none;
        }

        .billing-account-item > summary::marker {
            display: none;
            content: "";
        }

        .billing-account-item > summary:hover {
            background: rgba(247, 188, 50, .025);
        }

    .billing-account-item[open] > summary {
        background: rgba(247, 188, 50, .045);
        border-bottom: 1px solid rgba(247, 188, 50, .16);
    }


/* =========================================================
   PLAN / EVALUATION
   ========================================================= */

.billing-account-plan,
.billing-account-evaluation {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .billing-account-plan strong {
        color: #f5f7fa;
        font-size: 12px;
        font-weight: 700;
    }

    .billing-account-plan small,
    .billing-account-evaluation small {
        margin-top: 5px;
        color: #64748b;
        font-size: 8px;
    }

    .billing-account-evaluation strong {
        overflow: hidden;
        color: #b8c2cf;
        font-size: 10px;
        font-weight: 650;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.billing-account-date strong {
    color: #b8c2cf;
    font-size: 10px;
    font-weight: 600;
}

.billing-account-amount strong {
    color: #f5f7fa;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   STATUS
   ========================================================= */

.billing-list-status,
.billing-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 6px 9px;
    border: 1px solid #34404d;
    border-radius: 6px;
    background: rgba(100, 116, 139, .08);
    color: #8d99a8;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .25px;
}

.billing-list-status-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #758191;
}

.billing-list-status.active,
.billing-detail-status.active {
    border-color: rgba(38, 232, 117, .26);
    background: rgba(38, 232, 117, .07);
    color: #32e879;
}

    .billing-list-status.active .billing-list-status-dot,
    .billing-detail-status.active .billing-list-status-dot {
        background: #32e879;
        box-shadow: 0 0 8px rgba(50, 232, 121, .70);
    }

.billing-list-status.cancelled,
.billing-detail-status.cancelled {
    border-color: rgba(148, 163, 184, .22);
    background: rgba(148, 163, 184, .055);
    color: #8e9aaa;
}

    .billing-list-status.cancelled .billing-list-status-dot,
    .billing-detail-status.cancelled .billing-list-status-dot {
        background: #778493;
    }

.billing-list-status.past-due,
.billing-detail-status.past-due {
    border-color: rgba(255, 75, 75, .28);
    background: rgba(255, 75, 75, .07);
    color: #ff6b6b;
}

    .billing-list-status.past-due .billing-list-status-dot,
    .billing-detail-status.past-due .billing-list-status-dot {
        background: #ff5c5c;
        box-shadow: 0 0 8px rgba(255, 75, 75, .55);
    }


/* =========================================================
   CHEVRON
   ========================================================= */

.billing-account-chevron {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    .billing-account-chevron span {
        display: inline-block;
        color: #64748b;
        font-size: 18px;
        line-height: 1;
        transition: transform .18s ease, color .18s ease;
    }

.billing-account-item[open] .billing-account-chevron span {
    transform: rotate(180deg);
    color: #f7bc32;
}


/* =========================================================
   EXPANDED ACCOUNT DETAIL
   ========================================================= */

.billing-account-detail {
    padding: 28px 24px 26px;
    background: radial-gradient( circle at 100% 0%, rgba(247, 188, 50, .035), transparent 30% ), rgba(6, 11, 18, .48);
}

.billing-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px;
}

    .billing-detail-header h2 {
        margin: 7px 0 0;
        color: #f5f7fa;
        font-size: 19px;
        font-weight: 700;
    }

    .billing-detail-header p {
        margin: 5px 0 0;
        color: #64748b;
        font-size: 9px;
    }


/* =========================================================
   SUBSCRIPTION DETAIL GRID
   ========================================================= */

.billing-detail-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 21px 0;
    border-top: 1px solid #26313e;
    border-bottom: 1px solid #26313e;
}

    .billing-detail-grid > div {
        min-width: 0;
        padding: 0 17px;
    }

        .billing-detail-grid > div:first-child {
            padding-left: 0;
        }

        .billing-detail-grid > div:last-child {
            padding-right: 0;
        }

        .billing-detail-grid > div + div {
            border-left: 1px solid #26313e;
        }

    .billing-detail-grid span,
    .billing-evaluation-detail-grid span {
        display: block;
        color: #64748b;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .45px;
    }

    .billing-detail-grid strong,
    .billing-evaluation-detail-grid strong {
        display: block;
        margin-top: 7px;
        overflow: hidden;
        color: #e8edf2;
        font-size: 10px;
        font-weight: 650;
        text-overflow: ellipsis;
    }

.billing-auto-renew-on {
    color: #32e879 !important;
}

.billing-auto-renew-off {
    color: #8d99a8 !important;
}


/* =========================================================
   EVALUATION DETAIL
   ========================================================= */

.billing-evaluation-detail {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #263442;
    border-radius: 11px;
    background: #0d151f;
}

.billing-evaluation-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

    .billing-evaluation-detail-header h3 {
        margin: 6px 0 0;
        color: #f5f7fa;
        font-size: 14px;
        font-weight: 700;
    }

.billing-view-evaluation {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border: 1px solid #344454;
    border-radius: 7px;
    background: #14202c;
    color: #dce5ed !important;
    text-decoration: none;
    font-size: 8px;
    font-weight: 800;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

    .billing-view-evaluation:hover {
        border-color: #f7bc32;
        color: #f7bc32 !important;
        transform: translateY(-1px);
    }

.billing-evaluation-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #26313e;
}

    .billing-evaluation-detail-grid > div {
        padding: 0 18px;
    }

        .billing-evaluation-detail-grid > div:first-child {
            padding-left: 0;
        }

        .billing-evaluation-detail-grid > div:last-child {
            padding-right: 0;
        }

        .billing-evaluation-detail-grid > div + div {
            border-left: 1px solid #26313e;
        }


/* =========================================================
   CANCEL SUBSCRIPTION
   ========================================================= */

.billing-detail-danger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 22px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 75, 75, .18);
    border-radius: 10px;
    background: rgba(255, 75, 75, .025);
}

    .billing-detail-danger > div > span {
        color: #ff6b6b;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .35px;
    }

    .billing-detail-danger p {
        margin: 5px 0 0;
        color: #718096;
        font-size: 9px;
    }

.billing-danger-button {
    height: 36px;
    padding: 0 14px;
    white-space: nowrap;
    border: 1px solid rgba(255, 75, 75, .36);
    border-radius: 7px;
    background: rgba(255, 75, 75, .07);
    color: #ff6b6b;
    font-family: inherit;
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

    .billing-danger-button:hover {
        border-color: rgba(255, 75, 75, .65);
        background: rgba(255, 75, 75, .12);
    }


/* =========================================================
   BILLING HISTORY
   ========================================================= */

.billing-history-panel {
    margin-top: 28px;
}

    .billing-history-panel h2 {
        margin: 7px 0 0;
    }

    .billing-history-panel p {
        margin: 5px 0 0;
    }

.billing-history-table {
    margin-top: 24px;
}

.billing-history-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 18px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #202c38;
}

    .billing-history-row:last-child {
        border-bottom: 0;
    }

.billing-history-head {
    color: #64748b;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .35px;
}

.billing-history-row:not(.billing-history-head) {
    color: #aeb8c4;
    font-size: 10px;
}

.billing-history-row strong {
    color: #f5f7fa;
}

.billing-payment-status {
    justify-self: start;
    padding: 6px 8px;
    border: 1px solid #34404d;
    border-radius: 6px;
    background: rgba(100, 116, 139, .07);
    color: #8d99a8;
    font-size: 8px;
    font-weight: 800;
}

    .billing-payment-status.paid {
        border-color: rgba(38, 232, 117, .25);
        background: rgba(38, 232, 117, .08);
        color: #26e875;
    }

    .billing-payment-status.failed {
        border-color: rgba(255, 75, 75, .28);
        background: rgba(255, 75, 75, .07);
        color: #ff6b6b;
    }

    .billing-payment-status.pending {
        border-color: rgba(247, 188, 50, .28);
        background: rgba(247, 188, 50, .07);
        color: #f7bc32;
    }

/* =========================================================
   BILLING PAGINATION
   ========================================================= */

.billing-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #26313e;
}

.billing-pagination-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8d99a8;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .45px;
}

    .billing-pagination-info span {
        padding-left: 10px;
        border-left: 1px solid #34404d;
        color: #64748b;
    }


/* CONTROLS */

.billing-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.billing-page-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* PREVIOUS / NEXT */

.billing-page-button {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid #344454;
    border-radius: 6px;
    background: #111923;
    color: #aeb8c4 !important;
    text-decoration: none !important;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .25px;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

    .billing-page-button:hover {
        border-color: rgba(247, 188, 50, .55);
        background: rgba(247, 188, 50, .06);
        color: #f7bc32 !important;
    }

    .billing-page-button.disabled {
        border-color: #26313e;
        background: transparent;
        color: #465363 !important;
        cursor: default;
        opacity: .55;
    }


/* PAGE NUMBERS */

.billing-page-number {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #8290a0 !important;
    text-decoration: none !important;
    font-size: 9px;
    font-weight: 800;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

    .billing-page-number:hover {
        border-color: #344454;
        background: #111923;
        color: #f5f7fa !important;
    }

    .billing-page-number.active {
        border-color: rgba(247, 188, 50, .45);
        background: rgba(247, 188, 50, .10);
        color: #f7bc32 !important;
        box-shadow: inset 0 0 0 1px rgba(247, 188, 50, .03);
    }


/* PAGINATION MOBILE */

@media (max-width: 700px) {

    .billing-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .billing-pagination-controls {
        width: 100%;
        justify-content: space-between;
    }

    .billing-page-button {
        padding: 0 9px;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .billing-account-row {
        grid-template-columns: minmax(160px, 1.3fr) minmax(150px, 1.15fr) 105px 120px 80px 24px;
        gap: 12px;
    }

    .billing-detail-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px 0;
    }

        .billing-detail-grid > div:nth-child(4) {
            border-left: 0;
        }
}

@media (max-width: 850px) {

    .billing-account-row-head {
        display: none;
    }

    .billing-account-row {
        grid-template-columns: 1.3fr 1fr auto;
        gap: 14px;
    }

    .billing-account-item > summary {
        padding: 17px 20px;
    }

    .billing-account-date,
    .billing-account-amount {
        display: none;
    }

    .billing-account-chevron {
        grid-column: 3;
        grid-row: 1;
    }

    .billing-list-status {
        margin-top: 4px;
    }

    .billing-detail-grid,
    .billing-evaluation-detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0;
    }

        .billing-detail-grid > div,
        .billing-evaluation-detail-grid > div {
            padding: 0 16px;
        }

            .billing-detail-grid > div:nth-child(odd),
            .billing-evaluation-detail-grid > div:nth-child(odd) {
                padding-left: 0;
                border-left: 0;
            }

    .billing-history-row {
        grid-template-columns: 1fr 1.5fr 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .billing-page {
        padding: 30px 18px 60px;
    }

    .billing-account-row {
        grid-template-columns: 1fr auto;
    }

    .billing-account-evaluation {
        grid-column: 1;
        grid-row: 2;
    }

    .billing-account-row > div:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .billing-account-chevron {
        grid-column: 2;
        grid-row: 1;
    }

    .billing-account-detail {
        padding: 23px 18px;
    }

    .billing-detail-header,
    .billing-evaluation-detail-header,
    .billing-detail-danger {
        align-items: flex-start;
        flex-direction: column;
    }

    .billing-detail-grid,
    .billing-evaluation-detail-grid {
        grid-template-columns: 1fr;
    }

        .billing-detail-grid > div,
        .billing-evaluation-detail-grid > div {
            padding: 12px 0;
            border-left: 0 !important;
            border-bottom: 1px solid #26313e;
        }

            .billing-detail-grid > div:last-child,
            .billing-evaluation-detail-grid > div:last-child {
                border-bottom: 0;
            }

    .billing-danger-button {
        width: 100%;
    }

    .billing-detail-danger form {
        width: 100%;
    }

    .billing-history-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .billing-history-head {
        display: none;
    }
}
/* =========================================================
   SETTINGS PAGE
   ========================================================= */

.settings-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

.settings-header {
    margin-bottom: 34px;
}

    .settings-header h1 {
        margin: 12px 0 5px;
        color: #f5f7fa;
        font-size: 30px;
        font-weight: 700;
    }

    .settings-header p {
        margin: 0;
        color: #718096;
        font-size: 12px;
    }


/* SECTIONS */

.settings-section {
    margin-bottom: 24px;
}

.settings-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.settings-section-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(247, 188, 50, .25);
    border-radius: 10px;
    background: rgba(247, 188, 50, .07);
    color: #f7bc32;
    font-size: 14px;
}

.settings-section-header h2 {
    margin: 3px 0 2px;
    color: #f5f7fa;
    font-size: 17px;
}

.settings-section-header p {
    margin: 0;
    color: #718096;
    font-size: 9px;
}


/* PROFILE FORM */

.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.settings-field {
    display: flex;
    flex-direction: column;
}

    .settings-field label {
        margin-bottom: 7px;
        color: #718096;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: .5px;
    }

    .settings-field input,
    .settings-field select {
        width: 100%;
        height: 42px;
        padding: 0 12px;
        border: 1px solid #293746;
        border-radius: 8px;
        outline: none;
        background: #111923;
        color: #e8edf2;
        font-size: 11px;
    }

        .settings-field input:focus,
        .settings-field select:focus {
            border-color: #496175;
        }


/* ACTIONS */

.settings-action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #202c38;
}

.settings-primary-button {
    height: 40px;
    padding: 0 18px;
    border: 1px solid #b88920;
    border-radius: 8px;
    background: #f7bc32;
    color: #1d1608;
    font-size: 9px;
    font-weight: 800;
}

.settings-secondary-button {
    min-width: 135px;
    height: 36px;
    padding: 0 13px;
    border: 1px solid #344454;
    border-radius: 7px;
    background: #14202c;
    color: #dce5ed;
    font-size: 8px;
    font-weight: 800;
}


/* OPTION ROWS */

.settings-option-row,
.notification-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 17px 0;
    border-bottom: 1px solid #202c38;
}

    .settings-option-row:last-child,
    .notification-row:last-child {
        border-bottom: 0;
    }

    .settings-option-row strong,
    .notification-row strong {
        display: block;
        color: #e9eef3;
        font-size: 11px;
    }

    .settings-option-row span,
    .notification-row span {
        display: block;
        margin-top: 4px;
        color: #718096;
        font-size: 9px;
    }


/* STATUS */

.settings-status-badge,
.required-badge {
    padding: 6px 9px;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 800;
}

.settings-status-badge {
    border: 1px solid rgba(247, 188, 50, .25);
    background: rgba(247, 188, 50, .07);
    color: #f7bc32;
}

.required-badge {
    border: 1px solid rgba(38, 232, 117, .25);
    background: rgba(38, 232, 117, .07);
    color: #26e875;
}


/* =========================================================
   TOGGLE SWITCH
   ========================================================= */

.macpro-switch {
    position: relative;
    width: 42px;
    height: 22px;
    flex-shrink: 0;
}

    .macpro-switch input {
        width: 0;
        height: 0;
        opacity: 0;
    }

.macpro-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    margin: 0 !important;
    border: 1px solid #344454;
    border-radius: 30px;
    background: #1b2733;
    transition: .2s;
}

    .macpro-switch-slider::before {
        content: "";
        position: absolute;
        width: 14px;
        height: 14px;
        left: 3px;
        top: 3px;
        border-radius: 50%;
        background: #718096;
        transition: .2s;
    }

.macpro-switch input:checked +
.macpro-switch-slider {
    border-color: rgba(38, 232, 117, .35);
    background: rgba(38, 232, 117, .12);
}

    .macpro-switch input:checked +
    .macpro-switch-slider::before {
        transform: translateX(20px);
        background: #26e875;
        box-shadow: 0 0 7px rgba(38, 232, 117, .55);
    }


/* RESPONSIVE */

@media (max-width: 700px) {

    .settings-page {
        padding: 30px 18px 60px;
    }

    .settings-form-grid {
        grid-template-columns: 1fr;
    }

    .settings-option-row,
    .notification-row {
        align-items: flex-start;
    }
}
/* =========================================================
   MACPRO LOGIN
   ========================================================= */

body.macpro-login-body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient( circle at 50% -10%, rgba(28, 140, 255, 0.13), transparent 38% ), #090d14;
    color: #f4f6f8;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.macpro-login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.macpro-login-card {
    width: 100%;
    max-width: 430px;
    padding: 38px 40px 40px;
    border: 1px solid #293544;
    border-radius: 18px;
    background: radial-gradient( circle at 100% 0%, rgba(28, 140, 255, 0.07), transparent 32% ), #0d141d;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 40px rgba(28, 140, 255, 0.04);
}


/* BRAND */

.macpro-login-logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

.macpro-login-brand .macpro-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
}

.macpro-login-brand .macpro-brand-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.4px;
}

.macpro-login-brand .macpro-brand-subtitle {
    margin-top: 5px;
    color: #697487;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
}


/* HEADING */

.macpro-login-heading {
    margin-bottom: 30px;
}

    .macpro-login-heading > span {
        display: block;
        margin-bottom: 10px;
        color: #f7bc32;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1.6px;
    }

    .macpro-login-heading h1 {
        margin: 0;
        color: #f5f7fa;
        font-size: 30px;
        font-weight: 650;
        letter-spacing: -0.6px;
    }

    .macpro-login-heading p {
        margin: 9px 0 0;
        color: #778392;
        font-size: 12px;
        line-height: 1.6;
    }


/* FORM FIELDS */

.macpro-login-field {
    margin-bottom: 20px;
}

    .macpro-login-field label {
        display: block;
        margin: 0 0 8px 2px;
        color: #8c97a8;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.3px;
    }

    .macpro-login-field input {
        width: 100%;
        height: 48px;
        padding: 0 15px;
        border: 1px solid #293544;
        border-radius: 10px;
        outline: none;
        background: #111923;
        color: #f4f7fa;
        font-family: inherit;
        font-size: 13px;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

        .macpro-login-field input::placeholder {
            color: #536071;
        }

        .macpro-login-field input:hover {
            border-color: #354557;
        }

        .macpro-login-field input:focus {
            border-color: #3696ff;
            background: #121c27;
            box-shadow: 0 0 0 3px rgba(54, 150, 255, 0.10);
        }


/* VALIDATION */

.macpro-login-card .text-danger {
    display: block;
    margin-top: 6px;
    color: #ff5c5c;
    font-size: 10px;
}

.macpro-login-card div.text-danger {
    margin: 0 0 18px;
}


/* OPTIONS */

.macpro-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 26px;
}

    .macpro-login-options label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #8995a7;
        font-size: 11px;
        cursor: pointer;
    }

    .macpro-login-options input[type="checkbox"] {
        width: 15px;
        height: 15px;
        margin: 0;
        accent-color: #3696ff;
        cursor: pointer;
    }


/* SIGN IN BUTTON */

.macpro-login-button {
    width: 100%;
    height: 48px;
    border: 1px solid #b88920;
    border-radius: 10px;
    background: #f7bc32;
    color: #1e1505;
    font-family: inherit;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(247, 188, 50, 0.10);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

    .macpro-login-button:hover {
        background: #ffc94d;
        border-color: #d5a52d;
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(247, 188, 50, 0.16);
    }

    .macpro-login-button:active {
        transform: translateY(0);
    }


/* RESPONSIVE */

@media (max-width: 520px) {

    .macpro-login-page {
        align-items: flex-start;
        padding: 28px 16px;
    }

    .macpro-login-card {
        margin-top: 24px;
        padding: 30px 24px 32px;
        border-radius: 15px;
    }

    .macpro-login-brand {
        margin-bottom: 34px;
    }

    .macpro-login-heading h1 {
        font-size: 27px;
    }
}
/* =========================================================
   MACPRO FUNDING
   TRADER PORTAL - HOME
   ========================================================= */

.portal-home {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 38px 18px 72px;
}


/* =========================================================
   HERO / WELCOME
   ========================================================= */

.portal-home-hero {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    padding: 54px 56px;
    border: 1px solid rgba(201, 154, 43, 0.28);
    border-radius: 2px;
    background: radial-gradient( circle at 78% 28%, rgba(198, 150, 37, 0.15), transparent 32% ), linear-gradient( 110deg, #080a0d 0%, #0a0d11 58%, #171208 100% );
}

    .portal-home-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0.28;
        background-image: linear-gradient( rgba(255, 255, 255, 0.025) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px );
        background-size: 70px 70px;
    }

    .portal-home-hero::after {
        content: "";
        position: absolute;
        width: 620px;
        height: 260px;
        right: -80px;
        bottom: -115px;
        pointer-events: none;
        transform: rotate(-8deg);
        border-top: 1px solid rgba(220, 170, 50, 0.16);
        box-shadow: 0 -35px 90px rgba(214, 161, 38, 0.06), 0 -75px 130px rgba(214, 161, 38, 0.035);
    }

.portal-home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
}

.portal-home-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.portal-home-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(214, 166, 49, 0.45);
    background: rgba(214, 166, 49, 0.07);
    color: #e4b843;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
}

.portal-home-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #88909b;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.9px;
}

.portal-home-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #39d879;
    box-shadow: 0 0 9px rgba(57, 216, 121, 0.7);
}

.portal-home-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #f4f2ed;
    font-size: clamp(42px, 4.3vw, 66px);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -2.5px;
}

    .portal-home-hero h1 span {
        color: #c99a2b;
    }

.portal-home-hero-description {
    max-width: 670px;
    margin: 24px 0 0;
    color: #8e939c;
    font-size: 14px;
    line-height: 1.8;
}

.portal-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
}

.portal-home-primary-button,
.portal-home-secondary-button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.6px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.macpro-content .portal-home-primary-button {
    border: 1px solid #c89a31;
    background: #c99a2b;
    color: #090909;
}

    .macpro-content .portal-home-primary-button:hover {
        background: #e0b33f;
        border-color: #e0b33f;
        color: #090909;
        transform: translateY(-1px);
    }

.macpro-content .portal-home-secondary-button {
    border: 1px solid #34383e;
    background: rgba(11, 13, 16, 0.75);
    color: #d9d9d9;
}

    .macpro-content .portal-home-secondary-button:hover {
        border-color: #8b712e;
        color: #e3ba4a;
        transform: translateY(-1px);
    }

.portal-home-hero-mark {
    position: absolute;
    right: 38px;
    bottom: 22px;
    z-index: 1;
    color: rgba(210, 164, 51, 0.10);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 4px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.portal-home-section {
    margin-top: 54px;
}

.portal-home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 19px;
}

.portal-home-section-kicker {
    display: block;
    margin-bottom: 7px;
    color: #c99a2b;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.portal-home-section-heading h2 {
    margin: 0;
    color: #f1f1ef;
    font-size: 27px;
    font-weight: 760;
    letter-spacing: -0.8px;
}

.portal-home-section-heading p {
    margin: 7px 0 0;
    color: #707680;
    font-size: 11px;
}


/* =========================================================
   ACCOUNT OVERVIEW
   ========================================================= */

.portal-home-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #24282e;
    background: #0a0d11;
}

.portal-home-overview-item {
    position: relative;
    min-height: 145px;
    padding: 28px 27px;
}

    .portal-home-overview-item + .portal-home-overview-item {
        border-left: 1px solid #24282e;
    }

    .portal-home-overview-item::after {
        content: "";
        position: absolute;
        left: 27px;
        bottom: 0;
        width: 28px;
        height: 2px;
        background: #b78a25;
        opacity: 0;
        transition: opacity 0.18s ease, width 0.18s ease;
    }

    .portal-home-overview-item:hover::after {
        width: 54px;
        opacity: 1;
    }

.portal-home-overview-label {
    display: block;
    color: #666d77;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.15px;
}

.portal-home-overview-value {
    display: block;
    margin-top: 13px;
    color: #f3f2ef;
    font-size: 30px;
    font-weight: 760;
    line-height: 1;
    letter-spacing: -1px;
}

    .portal-home-overview-value.gold {
        color: #d5a630;
    }

    .portal-home-overview-value.green {
        color: #4cdb85;
    }

.portal-home-overview-description {
    display: block;
    margin-top: 10px;
    color: #626974;
    font-size: 9px;
    line-height: 1.5;
}


/* =========================================================
   TRADING ACCOUNT FEATURE CARD
   ========================================================= */

.portal-home-account-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    border: 1px solid rgba(190, 145, 38, 0.35);
    background: radial-gradient( circle at 82% 18%, rgba(201, 154, 43, 0.10), transparent 30% ), #090c10;
}

    .portal-home-account-card::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 90deg, transparent 0%, transparent 69%, rgba(201, 154, 43, 0.018) 69%, rgba(201, 154, 43, 0.018) 100% );
    }

.portal-home-account-main {
    position: relative;
    z-index: 1;
    padding: 38px 40px 40px;
}

.portal-home-account-side {
    position: relative;
    z-index: 1;
    padding: 38px 36px;
    border-left: 1px solid #272a2f;
    background: rgba(4, 6, 8, 0.28);
}

.portal-home-account-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.portal-home-account-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 27px;
    padding: 0 10px;
    border: 1px solid rgba(66, 216, 128, 0.25);
    background: rgba(66, 216, 128, 0.06);
    color: #4bdc86;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.8px;
}

    .portal-home-account-status::before {
        content: "";
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
        box-shadow: 0 0 8px currentColor;
    }

.portal-home-account-plan {
    color: #777e88;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.portal-home-account-label {
    display: block;
    color: #c99a2b;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.portal-home-account-name {
    margin: 9px 0 0;
    color: #f4f2ed;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
}

.portal-home-account-description {
    max-width: 570px;
    margin: 15px 0 0;
    color: #727984;
    font-size: 11px;
    line-height: 1.7;
}

.portal-home-account-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 31px;
    border-top: 1px solid #25292f;
    border-bottom: 1px solid #25292f;
}

.portal-home-account-meta-item {
    padding: 18px 0;
}

    .portal-home-account-meta-item:nth-child(even) {
        padding-left: 24px;
        border-left: 1px solid #25292f;
    }

    .portal-home-account-meta-item:nth-child(n+3) {
        border-top: 1px solid #25292f;
    }

    .portal-home-account-meta-item span {
        display: block;
        color: #626a75;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .portal-home-account-meta-item strong {
        display: block;
        margin-top: 7px;
        color: #e9e8e4;
        font-size: 12px;
        font-weight: 700;
    }

.portal-home-account-side-title {
    display: block;
    margin-bottom: 24px;
    color: #c99a2b;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.portal-home-rule-list {
    display: flex;
    flex-direction: column;
}

.portal-home-rule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #25292f;
}

    .portal-home-rule:first-child {
        padding-top: 0;
    }

    .portal-home-rule:last-child {
        border-bottom: 0;
    }

    .portal-home-rule span {
        color: #69717c;
        font-size: 9px;
        font-weight: 700;
    }

    .portal-home-rule strong {
        color: #eeede9;
        font-size: 13px;
        font-weight: 720;
        text-align: right;
    }

.portal-home-account-action {
    margin-top: 27px;
}

.macpro-content .portal-home-account-action a {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border: 1px solid #3b3525;
    background: rgba(201, 154, 43, 0.055);
    color: #d4aa3c;
    text-decoration: none;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.6px;
    transition: background 0.18s ease, border-color 0.18s ease;
}

    .macpro-content .portal-home-account-action a:hover {
        border-color: #b98d29;
        background: rgba(201, 154, 43, 0.10);
    }


/* =========================================================
   EMPTY TRADING ACCOUNT
   ========================================================= */

.portal-home-empty-account {
    padding: 45px;
    border: 1px solid #25292f;
    background: #090c10;
    text-align: center;
}

    .portal-home-empty-account strong {
        display: block;
        color: #f0efeb;
        font-size: 20px;
    }

    .portal-home-empty-account p {
        max-width: 500px;
        margin: 10px auto 22px;
        color: #707782;
        font-size: 11px;
        line-height: 1.7;
    }


/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.portal-home-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.macpro-content .portal-home-quick-card {
    position: relative;
    min-height: 160px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #252a30;
    background: #0a0d11;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

    .macpro-content .portal-home-quick-card:hover {
        transform: translateY(-2px);
        border-color: #665327;
        background: #0d1014;
    }

.portal-home-quick-number {
    color: #b78b28;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1px;
}

.portal-home-quick-card h3 {
    margin: 23px 0 0;
    color: #efeeea;
    font-size: 18px;
    font-weight: 700;
}

.portal-home-quick-card p {
    margin: 7px 0 0;
    color: #666e79;
    font-size: 10px;
    line-height: 1.6;
}

.portal-home-quick-arrow {
    position: absolute;
    right: 23px;
    top: 23px;
    color: #7a642e;
    font-size: 17px;
    transition: transform 0.18s ease;
}

.portal-home-quick-card:hover .portal-home-quick-arrow {
    transform: translateX(3px);
    color: #d1a63b;
}


/* =========================================================
   HOME RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .portal-home-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-home-overview-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #24282e;
    }

    .portal-home-overview-item:nth-child(4) {
        border-top: 1px solid #24282e;
    }

    .portal-home-account-card {
        grid-template-columns: 1fr;
    }

    .portal-home-account-side {
        border-left: 0;
        border-top: 1px solid #272a2f;
    }
}

@media (max-width: 760px) {

    .portal-home {
        padding: 20px 0 50px;
    }

    .portal-home-hero {
        min-height: auto;
        padding: 38px 28px;
    }

        .portal-home-hero h1 {
            font-size: 40px;
            letter-spacing: -1.7px;
        }

    .portal-home-hero-mark {
        display: none;
    }

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

    .portal-home-overview-item + .portal-home-overview-item {
        border-left: 0;
        border-top: 1px solid #24282e;
    }

    .portal-home-account-main,
    .portal-home-account-side {
        padding: 29px 25px;
    }

    .portal-home-account-meta {
        grid-template-columns: 1fr;
    }

    .portal-home-account-meta-item:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }

    .portal-home-account-meta-item + .portal-home-account-meta-item {
        border-top: 1px solid #25292f;
    }

    .portal-home-quick-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .portal-home-hero {
        padding: 32px 22px;
    }

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

    .portal-home-actions {
        flex-direction: column;
    }

    .portal-home-primary-button,
    .portal-home-secondary-button {
        width: 100%;
    }

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

    .portal-home-account-name {
        font-size: 27px;
    }
}

/* =========================================================
   MACPRO FUNDING — PORTAL VISUAL SYSTEM 2026
   Final visual layer. Keep this section last.
   ========================================================= */

:root {
    --mac-bg: #07090c;
    --mac-bg-soft: #0a0d11;
    --mac-panel: #0b0e12;
    --mac-panel-2: #0e1217;
    --mac-border: #24282e;
    --mac-border-gold: rgba(201, 154, 43, .36);
    --mac-gold: #c99a2b;
    --mac-gold-bright: #e0b33f;
    --mac-text: #f3f1ec;
    --mac-muted: #7d838d;
    --mac-green: #43d982;
    --mac-red: #ff5a63;
}

html, body {
    background: var(--mac-bg);
}

    body.macpro-body {
        background: var(--mac-bg);
        color: var(--mac-text);
    }

.macpro-app {
    background: var(--mac-bg);
}

/* SHELL */
.macpro-sidebar {
    width: 250px;
    padding: 28px 18px 22px;
    background: linear-gradient(180deg, #090b0f 0%, #080a0d 100%);
    border-right: 1px solid #202329;
}

.macpro-main {
    width: calc(100% - 250px);
    margin-left: 250px;
    background: radial-gradient(circle at 80% 0%, rgba(201,154,43,.055), transparent 28%), var(--mac-bg);
}

.macpro-brand {
    padding: 0 8px 30px;
    gap: 12px;
}

.macpro-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 2px;
    background: linear-gradient(135deg, #e0b33f, #9d721a);
    color: #090909;
    box-shadow: 0 0 26px rgba(201,154,43,.10);
}

.macpro-brand-name {
    color: #f6f3eb;
    font-size: 19px;
    font-weight: 800;
}

.macpro-brand-subtitle {
    color: #8f742f;
    letter-spacing: 2.7px;
}

.macpro-navigation {
    gap: 5px;
}

.macpro-nav-item {
    min-height: 46px;
    border-radius: 2px;
    padding: 0 14px;
    border: 1px solid transparent;
    color: #7d838d;
    background: transparent;
    font-weight: 650;
}

    .macpro-nav-item:hover {
        background: rgba(201,154,43,.045);
        border-color: #2b2922;
        color: #eee9dc;
    }

    .macpro-nav-item.active {
        background: linear-gradient(90deg, rgba(201,154,43,.13), rgba(201,154,43,.035));
        border-color: rgba(201,154,43,.35);
        color: #f3ead2;
    }

        .macpro-nav-icon, .macpro-nav-item.active .macpro-nav-icon {
            color: var(--mac-gold);
        }

.macpro-user {
    border-top-color: #202329;
}

.macpro-user-avatar {
    border-radius: 2px;
    background: #12100a;
    border-color: #3b3220;
    color: #e0b33f;
}

.macpro-user-name {
    color: #eeeae0;
}

.macpro-user-role {
    color: #676d75;
}

.macpro-logout-button {
    border-radius: 2px;
    border-color: #2c3036;
    background: #0b0e12;
    color: #858b94;
}

    .macpro-logout-button:hover {
        border-color: #6f5821;
        background: #12100a;
        color: #e0b33f;
    }

.macpro-topbar {
    height: 72px;
    padding: 0 34px;
    background: rgba(7,9,12,.92);
    border-bottom: 1px solid #202329;
}

.macpro-page-label {
    color: #8b753d;
    letter-spacing: 2.2px;
}

.macpro-status-indicator {
    border-radius: 2px;
    border-color: #292d32;
    background: #0b0e12;
    color: #777e87;
}

.macpro-content {
    max-width: 1500px;
    padding: 34px 38px 70px;
}

    .macpro-content a {
        color: var(--mac-gold-bright);
    }

/* HOME */
.portal-home {
    max-width: 1280px;
    padding: 10px 0 72px;
}

.portal-home-hero {
    min-height: 340px;
    padding: 56px 58px;
    border-radius: 2px;
    border: 1px solid var(--mac-border-gold);
    background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px), radial-gradient(circle at 82% 25%, rgba(201,154,43,.17), transparent 31%), linear-gradient(112deg, #080a0d 0%, #0a0d11 58%, #171208 100%);
    background-size: 70px 70px, 70px 70px, auto, auto;
}

.portal-home-hero-content {
    max-width: 820px;
}

.portal-home-badge {
    border-radius: 2px;
    color: #e0b33f;
    border-color: rgba(224,179,63,.45);
}

.portal-home-hero h1 {
    color: #f5f2eb;
    font-size: clamp(44px,4.4vw,68px);
    font-weight: 850;
}

.portal-home-hero-description {
    color: #8b9098;
    font-size: 14px;
}

.portal-home-primary-button, .portal-home-secondary-button {
    border-radius: 2px;
}

.macpro-content .portal-home-primary-button {
    background: var(--mac-gold);
    border-color: var(--mac-gold);
    color: #090909;
}

.macpro-content .portal-home-secondary-button {
    background: #0a0d11;
    border-color: #34383e;
    color: #d7d5d0;
}

.portal-home-section {
    margin-top: 52px;
}

.portal-home-section-heading {
    margin-bottom: 20px;
}

.portal-home-section-kicker {
    color: var(--mac-gold);
}

.portal-home-section-heading h2 {
    color: #f3f1ec;
    font-size: 28px;
}

.portal-home-section-heading p {
    color: #747a83;
}

.portal-home-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    border: 1px solid var(--mac-border) !important;
    background: var(--mac-panel) !important;
}

.portal-home-overview-item {
    min-height: 145px;
    padding: 28px 27px !important;
}

    .portal-home-overview-item + .portal-home-overview-item {
        border-left: 1px solid var(--mac-border) !important;
    }

.portal-home-overview-label {
    color: #707680;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.portal-home-overview-value {
    margin-top: 13px;
    color: #f3f1ec;
    font-size: 30px;
    font-weight: 780;
}

    .portal-home-overview-value.gold {
        color: #d6a631;
    }

    .portal-home-overview-value.green {
        color: var(--mac-green);
    }

.portal-home-overview-description {
    color: #666c75;
    font-size: 10px;
}

.portal-home-account-card {
    display: grid !important;
    grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr) !important;
    border: 1px solid var(--mac-border-gold) !important;
    border-radius: 2px !important;
    background: radial-gradient(circle at 82% 18%, rgba(201,154,43,.10), transparent 30%), #090c10 !important;
}

.portal-home-account-main {
    padding: 38px 40px 40px !important;
}

.portal-home-account-side {
    padding: 38px 36px !important;
    border-left: 1px solid #272a2f !important;
    background: rgba(4,6,8,.28);
}

.portal-home-account-status {
    border-radius: 2px;
}

.portal-home-account-name {
    color: #f4f2ed;
    font-size: clamp(30px,3vw,46px);
}

.portal-home-account-description {
    color: #727984;
}

.portal-home-account-meta {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
}

.portal-home-account-meta-item strong, .portal-home-rule strong {
    color: #eeece6;
}

.portal-home-account-side-title, .portal-home-account-label {
    color: var(--mac-gold);
}

/* COMMON PAGE SURFACES */
.dashboard-panel,
.evaluation-account-card,
.payout-summary-card,
.billing-plan-card,
.payment-method-card,
.settings-card,
.purchase-card,
.plan-card {
    border-radius: 2px !important;
    border-color: #292d32 !important;
    background: #0b0e12 !important;
    box-shadow: none !important;
}

/* EVALUATIONS */
.evaluations-page, .billing-page, .payouts-page, .settings-page {
    max-width: 1280px;
}

.evaluations-header h1, .billing-header h1, .payouts-header h1 {
    color: #f3f1ec;
}

.evaluation-summary {
    border-radius: 2px;
    background: #0b0e12;
    border-color: #292d32;
}

.evaluation-account-card {
    border-color: #292d32;
}

.evaluation-icon {
    border-radius: 2px;
    color: var(--mac-gold-bright);
    background: rgba(201,154,43,.08);
    border-color: rgba(201,154,43,.28);
}

.evaluation-type {
    color: var(--mac-gold);
}

.evaluation-status-badge {
    border-radius: 2px;
}

.evaluation-view-button {
    border-radius: 2px;
    background: #0d1116;
}

    .evaluation-view-button:hover {
        border-color: var(--mac-gold);
        color: var(--mac-gold-bright);
    }

.evaluation-progress-fill {
    background: var(--mac-green);
}

/* BILLING */
.billing-plan-status, .payout-status, .settings-status-badge, .required-badge {
    border-radius: 2px;
}

.payment-card-visual {
    border-radius: 2px;
    background: radial-gradient(circle at 100% 0%,rgba(201,154,43,.12),transparent 35%),#0d1116;
}

.billing-secondary-button, .settings-primary-button, .settings-secondary-button, .payout-request-button {
    border-radius: 2px;
}

/* LOGIN */
body.macpro-login-body {
    background: radial-gradient(circle at 50% -10%,rgba(201,154,43,.12),transparent 38%),#07090c;
}

.macpro-login-card {
    border-radius: 2px;
    border-color: #2b2d31;
    background: #0b0e12;
}

.macpro-login-heading > span {
    color: var(--mac-gold);
}

.macpro-login-field input {
    border-radius: 2px;
    background: #0d1116;
    border-color: #2b3036;
}

    .macpro-login-field input:focus {
        border-color: var(--mac-gold);
        box-shadow: 0 0 0 3px rgba(201,154,43,.08);
    }

.macpro-login-button {
    border-radius: 2px;
    background: var(--mac-gold);
    border-color: var(--mac-gold);
    color: #090909;
}

    .macpro-login-button:hover {
        background: var(--mac-gold-bright);
        border-color: var(--mac-gold-bright);
    }

/* RESPONSIVE */
@media (max-width:1100px) {
    .portal-home-overview-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

    .portal-home-overview-item:nth-child(3) {
        border-left: 0 !important;
        border-top: 1px solid var(--mac-border);
    }

    .portal-home-overview-item:nth-child(4) {
        border-top: 1px solid var(--mac-border);
    }

    .portal-home-account-card {
        grid-template-columns: 1fr !important;
    }

    .portal-home-account-side {
        border-left: 0 !important;
        border-top: 1px solid #272a2f;
    }
}

@media (max-width:900px) {
    .macpro-sidebar {
        width: 220px;
    }

    .macpro-main {
        width: calc(100% - 220px);
        margin-left: 220px;
    }

    .macpro-content {
        padding: 28px 24px 56px;
    }
}

@media (max-width:700px) {
    .macpro-sidebar {
        position: relative;
        width: 100%;
    }

    .macpro-main {
        width: 100%;
        margin-left: 0;
    }

    .portal-home-hero {
        padding: 38px 28px;
    }

    .portal-home-overview-grid {
        grid-template-columns: 1fr !important;
    }

    .portal-home-overview-item + .portal-home-overview-item {
        border-left: 0 !important;
        border-top: 1px solid var(--mac-border);
    }

    .portal-home-account-main, .portal-home-account-side {
        padding: 28px 24px !important;
    }

    .portal-home-account-meta {
        grid-template-columns: 1fr !important;
    }

    .portal-home-account-meta-item:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }
    /* =========================================================
   SIDEBAR - MACPRO LOGO
   ========================================================= */

    .macpro-sidebar .macpro-brand {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 0;
    }

    .macpro-sidebar-logo {
        display: block;
        width: 118px;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    /* =========================================================
   EVALUATION DETAIL - HEALTH RINGS
   ========================================================= */

    .dashboard-page .health-rings-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        gap: 0;
    }

    .dashboard-page .health-ring-item {
        min-width: 0;
        width: 100%;
        padding: 18px 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
    }

        .dashboard-page .health-ring-item:not(:last-child) {
            border-right: 1px solid rgba(110, 130, 155, 0.32);
        }

    .dashboard-page .health-ring {
        flex: 0 0 auto;
    }

    .dashboard-page .health-ring-detail {
        margin-top: 16px;
        text-align: center;
    }

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

        .dashboard-page .health-ring-item {
            border-right: 0 !important;
        }
    }

    @media (max-width: 650px) {
        .dashboard-page .health-rings-grid {
            grid-template-columns: 1fr;
        }
    }
}
/* =========================================================
   EVALUATION DETAIL - BACK BUTTON
   ========================================================= */

.evaluation-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 176px;
    height: 46px;
    padding: 0 20px;
    background: transparent;
    border: 1px solid rgba(201, 154, 43, 0.72);
    color: #f3c64f;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

    .evaluation-back-button:hover {
        background: rgba(201, 154, 43, 0.10);
        border-color: #d6a82e;
        color: #ffd66a;
        transform: translateX(-2px);
    }

.evaluation-back-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.evaluation-back-button:hover .evaluation-back-arrow {
    transform: translateX(-3px);
}
/* =========================================================
   EVALUATIONS — ACTIVE / QUALIFIED / ACCOUNT HISTORY
   ========================================================= */

.active-evaluations-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.evaluations-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.evaluations-section-count {
    flex-shrink: 0;
    padding: 7px 10px;
    border: 1px solid #2c3744;
    border-radius: 5px;
    background: #111821;
    color: #7f8b99;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .55px;
}

.evaluations-qualified-heading,
.evaluations-history-heading {
    margin-top: 42px;
}

.evaluation-empty-section,
.evaluation-history-empty {
    padding: 34px;
    border: 1px solid #26313e;
    border-radius: 8px;
    background: #0e151d;
}

    .evaluation-empty-section p,
    .evaluation-history-empty p {
        margin: 9px 0 18px;
        color: #778493;
        font-size: 12px;
    }

    .evaluation-history-empty span {
        color: #f7bc32;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .6px;
    }


/* =========================================================
   HISTORY LIST
   ========================================================= */

.evaluation-history-list {
    overflow: hidden;
    border: 1px solid #26313e;
    border-radius: 8px;
    background: #0c1219;
}

.evaluation-history-item {
    position: relative;
    border-bottom: 1px solid #222d38;
    background: #0e151d;
    transition: background .18s ease, border-color .18s ease;
}

    .evaluation-history-item:last-child {
        border-bottom: 0;
    }

    .evaluation-history-item:hover {
        background: #111922;
    }

    .evaluation-history-item[open] {
        background: #111922;
    }

    .evaluation-history-item > summary {
        list-style: none;
    }

        .evaluation-history-item > summary::-webkit-details-marker {
            display: none;
        }


/* =========================================================
   HISTORY ROW
   ========================================================= */

.evaluation-history-row {
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(155px, 1.15fr) minmax(250px, 1.8fr) minmax(100px, .75fr) minmax(115px, .85fr) 65px 22px;
    align-items: center;
    gap: 20px;
    padding: 0 22px;
    cursor: pointer;
    color: #dce2e8;
    transition: color .18s ease;
}

    .evaluation-history-row:hover {
        color: #ffffff;
    }

    .evaluation-history-plan,
    .evaluation-history-code,
    .evaluation-history-row > div {
        min-width: 0;
    }

        .evaluation-history-plan strong {
            display: block;
            overflow: hidden;
            color: #dfe5eb;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .2px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .evaluation-history-plan span {
            display: block;
            margin-top: 5px;
            color: #667483;
            font-size: 8px;
            font-weight: 700;
            letter-spacing: .45px;
        }

        .evaluation-history-code span,
        .evaluation-history-label {
            display: block;
            margin-bottom: 5px;
            color: #5e6c7b;
            font-size: 7px;
            font-weight: 800;
            letter-spacing: .55px;
        }

        .evaluation-history-code strong {
            display: block;
            overflow: hidden;
            color: #7f8c9b;
            font-family: monospace;
            font-size: 9px;
            font-weight: 700;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .evaluation-history-row > div > strong {
            font-size: 10px;
        }


/* =========================================================
   HISTORY STATUS
   ========================================================= */

.evaluation-history-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: .45px;
}

    .evaluation-history-status::before {
        width: 6px;
        height: 6px;
        margin-right: 7px;
        border-radius: 50%;
        background: currentColor;
        content: "";
    }

    .evaluation-history-status.failed {
        color: #ff5b64;
    }

    .evaluation-history-status.passed {
        color: #22e883;
    }

    .evaluation-history-status.cancelled {
        color: #778493;
    }

    .evaluation-history-status.expired {
        color: #778493;
    }

    .evaluation-history-status.pending {
        color: #d6a82e;
    }

    .evaluation-history-status.qualified {
        color: #f7bc32;
    }

    .evaluation-history-status.neutral {
        color: #8b98a7;
    }


/* =========================================================
   HISTORY CHEVRON
   ========================================================= */

.evaluation-history-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #596776;
    font-size: 13px;
    transition: transform .18s ease, color .18s ease;
}

.evaluation-history-item[open]
.evaluation-history-chevron {
    transform: rotate(180deg);
    color: #f7bc32;
}


/* =========================================================
   EXPANDED HISTORY DETAIL
   ========================================================= */

.evaluation-history-detail {
    padding: 22px;
    border-top: 1px solid #26313e;
    background: #0b1118;
}

.evaluation-history-detail-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #26313e;
    border-radius: 7px;
    background: #26313e;
}

    .evaluation-history-detail-grid > div {
        min-width: 0;
        padding: 17px 15px;
        background: #101821;
    }

    .evaluation-history-detail-grid span {
        display: block;
        margin-bottom: 8px;
        color: #667483;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .5px;
    }

    .evaluation-history-detail-grid strong {
        display: block;
        overflow: hidden;
        color: #e6ebef;
        font-size: 11px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .evaluation-history-detail-grid strong.positive {
            color: #22e883;
        }

        .evaluation-history-detail-grid strong.negative {
            color: #ff5b64;
        }


/* =========================================================
   HISTORY ACTIONS
   ========================================================= */

.evaluation-history-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

    .evaluation-history-actions form {
        margin: 0;
    }


/* =========================================================
   QUALIFIED
   ========================================================= */

.qualified-evaluation-list {
    border-color: rgba(247, 188, 50, .22);
}

    .qualified-evaluation-list
    .evaluation-history-item {
        background: linear-gradient( 90deg, rgba(247, 188, 50, .025), transparent 35% ), #0e151d;
    }

        .qualified-evaluation-list
        .evaluation-history-item:hover,
        .qualified-evaluation-list
        .evaluation-history-item[open] {
            background: linear-gradient( 90deg, rgba(247, 188, 50, .05), transparent 40% ), #111922;
        }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .evaluation-history-row {
        grid-template-columns: minmax(150px, 1.1fr) minmax(180px, 1.4fr) 90px 100px 22px;
    }

        .evaluation-history-row > div:nth-child(5) {
            display: none;
        }

    .evaluation-history-detail-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


@media (max-width: 760px) {

    .evaluations-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .evaluation-history-row {
        min-height: 82px;
        grid-template-columns: minmax(0, 1fr) auto 20px;
        gap: 14px;
        padding: 0 16px;
    }

        .evaluation-history-code,
        .evaluation-history-row > div:nth-child(4),
        .evaluation-history-row > div:nth-child(5) {
            display: none;
        }

    .evaluation-history-detail {
        padding: 16px;
    }

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

    .evaluation-history-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .evaluation-history-actions form,
        .evaluation-history-actions form button,
        .evaluation-history-actions > a {
            width: 100%;
        }
}
/* =========================================================
   MACPRO PORTAL — TOP NAVIGATION LAYOUT
   ========================================================= */

.macpro-top-layout {
    min-height: 100vh;
    display: block;
    background: #070b0f;
}


/* =========================================================
   TOP HEADER
   ========================================================= */

.macpro-portal-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 76px;
    border-bottom: 1px solid #202b36;
    background: linear-gradient( 180deg, rgba(14, 20, 27, .98), rgba(8, 13, 18, .98) );
    backdrop-filter: blur(16px);
}

.macpro-portal-header-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 38px;
    padding: 0 38px;
}


/* =========================================================
   BRAND
   ========================================================= */

.macpro-top-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-right: 32px;
    border-right: 1px solid #26313d;
    text-decoration: none;
}

    .macpro-top-brand img {
        width: 116px;
        height: auto;
        display: block;
    }


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.macpro-top-navigation {
    align-self: stretch;
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.macpro-top-nav-item {
    position: relative;
    min-width: 108px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    color: #748292 !important;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    transition: color .18s ease, background .18s ease;
}

    .macpro-top-nav-item::after {
        position: absolute;
        right: 16px;
        bottom: 0;
        left: 16px;
        height: 2px;
        border-radius: 2px 2px 0 0;
        background: transparent;
        content: "";
        transition: background .18s ease, box-shadow .18s ease;
    }

    .macpro-top-nav-item:hover {
        color: #d8dee5 !important;
        background: rgba(255, 255, 255, .018);
    }

    .macpro-top-nav-item.active {
        color: #f7bc32 !important;
        background: linear-gradient( 180deg, transparent, rgba(247, 188, 50, .035) );
    }

        .macpro-top-nav-item.active::after {
            background: #f7bc32;
            box-shadow: 0 -2px 12px rgba(247, 188, 50, .22);
        }

.macpro-top-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: 13px;
    line-height: 1;
}


/* =========================================================
   RIGHT ACTIONS
   ========================================================= */

.macpro-top-actions {
    min-width: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}


/* SYSTEM STATUS */

.macpro-top-system {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 20px;
    border-right: 1px solid #26313d;
    color: #718090;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
}

    .macpro-top-system .macpro-status-dot {
        width: 6px;
        height: 6px;
        flex: 0 0 auto;
        border-radius: 50%;
        background: #22e883;
        box-shadow: 0 0 9px rgba(34, 232, 131, .48);
    }


/* USER */

.macpro-top-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .macpro-top-user .macpro-user-avatar {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(247, 188, 50, .30);
        border-radius: 50%;
        background: rgba(247, 188, 50, .07);
        color: #f7bc32;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .3px;
    }

.macpro-top-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

    .macpro-top-user-info .macpro-user-name {
        max-width: 145px;
        overflow: hidden;
        color: #dfe5eb;
        font-size: 9px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .macpro-top-user-info .macpro-user-role {
        color: #596776;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .45px;
        text-transform: uppercase;
    }


/* LOGOUT */

.macpro-top-logout-form {
    margin: 0;
}

.macpro-top-logout-button {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid #2b3743;
    border-radius: 5px;
    background: transparent;
    color: #778594;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

    .macpro-top-logout-button:hover {
        border-color: rgba(247, 188, 50, .38);
        background: rgba(247, 188, 50, .045);
        color: #f7bc32;
    }


/* =========================================================
   REMOVE SIDEBAR SPACE
   ========================================================= */

.macpro-main.macpro-main-top-layout {
    width: 100%;
    min-height: calc(100vh - 76px);
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* =========================================================
   PORTAL CONTENT
   ========================================================= */

.macpro-content.macpro-content-top-layout {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 34px 42px 60px;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1700px) {

    .macpro-content.macpro-content-top-layout {
        max-width: 1660px;
    }
}


/* =========================================================
   MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    .macpro-portal-header-inner {
        gap: 20px;
        padding: 0 24px;
    }

    .macpro-top-brand {
        padding-right: 20px;
    }

    .macpro-top-nav-item {
        min-width: auto;
        padding: 0 12px;
    }

    .macpro-top-system {
        display: none;
    }

    .macpro-content.macpro-content-top-layout {
        padding-right: 28px;
        padding-left: 28px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .macpro-portal-header {
        height: auto;
        min-height: 76px;
    }

    .macpro-portal-header-inner {
        flex-wrap: wrap;
        gap: 0;
        padding: 15px 20px 0;
    }

    .macpro-top-brand {
        height: 45px;
        padding-right: 0;
        border-right: 0;
    }

    .macpro-top-actions {
        height: 45px;
    }

    .macpro-top-user-info {
        display: none;
    }

    .macpro-top-navigation {
        width: calc(100% + 40px);
        height: 48px;
        order: 3;
        margin: 10px -20px 0;
        padding: 0 12px;
        overflow-x: auto;
        border-top: 1px solid #202b36;
    }

    .macpro-top-nav-item {
        flex: 1 0 auto;
        min-width: 105px;
        height: 48px;
    }

    .macpro-main.macpro-main-top-layout {
        min-height: calc(100vh - 124px);
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .macpro-portal-header-inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    .macpro-top-brand img {
        width: 102px;
    }

    .macpro-top-actions {
        gap: 10px;
    }

    .macpro-top-logout-button {
        padding: 0 9px;
    }

    .macpro-top-navigation {
        width: calc(100% + 28px);
        margin-right: -14px;
        margin-left: -14px;
    }

    .macpro-top-nav-icon {
        display: none;
    }

    .macpro-top-nav-item {
        min-width: 95px;
        padding: 0 10px;
        font-size: 8px;
    }

    .macpro-content.macpro-content-top-layout {
        padding: 24px 16px 45px;
    }
}
/* =========================================================
   PORTAL HOME — OPEN WELCOME
   ========================================================= */

.portal-home-welcome {
    position: relative;
    padding: 38px 0 46px;
    border: 0;
    background: transparent;
}

    .portal-home-welcome::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 1px;
        background: linear-gradient( 90deg, rgba(247, 188, 50, .42), rgba(72, 84, 97, .30) 34%, rgba(72, 84, 97, .12) 72%, transparent );
        content: "";
    }

    .portal-home-welcome .portal-home-eyebrow {
        margin-bottom: 28px;
    }

.portal-home-welcome-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.portal-home-welcome-copy {
    min-width: 0;
}

    .portal-home-welcome-copy h1 {
        margin: 0;
        color: #f5f7f9;
        font-size: clamp(42px, 4vw, 68px);
        font-weight: 800;
        line-height: .98;
        letter-spacing: -2.7px;
    }

        .portal-home-welcome-copy h1 span {
            color: #d9a522;
        }

    .portal-home-welcome-copy p {
        max-width: 690px;
        margin: 21px 0 0;
        color: #8290a0;
        font-size: 13px;
        line-height: 1.75;
    }

.portal-home-welcome .portal-home-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 4px;
}

.portal-home-welcome-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #8d99a7 !important;
    text-decoration: none !important;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .35px;
    white-space: nowrap;
    transition: color .18s ease;
}

    .portal-home-welcome-link::after {
        position: absolute;
        right: 0;
        bottom: 2px;
        left: 0;
        height: 1px;
        background: #394553;
        content: "";
        transition: background .18s ease;
    }

    .portal-home-welcome-link span {
        color: #d9a522;
        transition: transform .18s ease;
    }

    .portal-home-welcome-link:hover {
        color: #f5f7f9 !important;
    }

        .portal-home-welcome-link:hover::after {
            background: #d9a522;
        }

        .portal-home-welcome-link:hover span {
            transform: translateX(3px);
        }


/* =========================================================
   WELCOME — RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .portal-home-welcome-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .portal-home-welcome .portal-home-actions {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {

    .portal-home-welcome {
        padding: 26px 0 34px;
    }

        .portal-home-welcome .portal-home-eyebrow {
            margin-bottom: 22px;
        }

    .portal-home-welcome-copy h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .portal-home-welcome .portal-home-actions {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}
/* =========================================================
   PORTAL HOME — OPEN ACCOUNT OVERVIEW
   ========================================================= */

.portal-home-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 24px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible;
}

.portal-home-overview-item {
    position: relative;
    min-height: 112px;
    padding: 8px 30px 8px 0;
    border: 0 !important;
    background: transparent !important;
}

    .portal-home-overview-item + .portal-home-overview-item {
        padding-left: 30px;
    }

    .portal-home-overview-item:not(:last-child)::after {
        position: absolute;
        top: 5px;
        right: 0;
        bottom: 5px;
        width: 1px;
        background: linear-gradient( 180deg, transparent, #2b3642 18%, #2b3642 82%, transparent );
        content: "";
    }

.portal-home-overview-label {
    display: block;
    margin-bottom: 12px;
    color: #667586;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .65px;
}

.portal-home-overview-value {
    display: block;
    margin-bottom: 9px;
    color: #f4f6f8;
    font-size: 29px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

    .portal-home-overview-value.green {
        color: #22e883;
    }

    .portal-home-overview-value.gold {
        color: #e0aa28;
    }

.portal-home-overview-description {
    display: block;
    max-width: 210px;
    color: #596777;
    font-size: 8px;
    line-height: 1.55;
}


/* subtle line under overview */

.portal-home-overview-grid::after {
    grid-column: 1 / -1;
    height: 1px;
    margin-top: 20px;
    background: linear-gradient( 90deg, rgba(247, 188, 50, .20), rgba(55, 67, 80, .22) 45%, transparent );
    content: "";
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .portal-home-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

    .portal-home-overview-item {
        padding-left: 0 !important;
    }

        .portal-home-overview-item:nth-child(odd) {
            padding-right: 25px;
        }

        .portal-home-overview-item:nth-child(even) {
            padding-left: 25px !important;
        }

        .portal-home-overview-item:nth-child(2)::after {
            display: none;
        }
}

@media (max-width: 520px) {

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

    .portal-home-overview-item {
        min-height: auto;
        padding: 0 0 22px !important;
    }

        .portal-home-overview-item:not(:last-child)::after {
            top: auto;
            right: 0;
            bottom: 10px;
            left: 0;
            width: auto;
            height: 1px;
            background: #202a34;
        }
}
/* HOME — VERTICAL RHYTHM */

.portal-home-welcome {
    padding-bottom: 34px;
}

.portal-home-section {
    margin-top: 34px;
}

.portal-home-welcome + .portal-home-section {
    margin-top: 30px;
}

.portal-home-overview-grid {
    margin-top: 18px;
}

.portal-home-overview-item {
    min-height: 96px;
}

.portal-home-overview-grid::after {
    margin-top: 12px;
}
/* =========================================================
   PORTAL HOME — TRADING ACCOUNT CREDENTIAL
   ========================================================= */

.portal-home-trading-panel {
    position: relative;
    overflow: hidden;
    margin-top: 22px;
    padding: 28px 32px 0;
    border: 1px solid #27323d;
    border-top-color: rgba(247, 188, 50, .42);
    border-radius: 7px;
    background: linear-gradient( 115deg, rgba(247, 188, 50, .025), transparent 28% ), #0b1117;
}


    /* subtle gold accent */

    .portal-home-trading-panel::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 145px;
        height: 1px;
        background: #d9a522;
        box-shadow: 0 0 18px rgba(217, 165, 34, .18);
        content: "";
    }


/* =========================================================
   HEADER
   ========================================================= */

.portal-home-trading-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.portal-home-trading-state {
    display: flex;
    align-items: center;
    gap: 13px;
}

.portal-home-trading-plan {
    color: #718091;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .55px;
}

.portal-home-trading-view {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8d99a7 !important;
    text-decoration: none !important;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .45px;
    transition: color .18s ease;
}

    .portal-home-trading-view span {
        color: #d9a522;
        transition: transform .18s ease;
    }

    .portal-home-trading-view:hover {
        color: #f5f7f9 !important;
    }

        .portal-home-trading-view:hover span {
            transform: translateX(3px);
        }


/* =========================================================
   NINJATRADER IDENTITY
   ========================================================= */

.portal-home-trading-identity {
    padding: 28px 0 25px;
}

    .portal-home-trading-identity .portal-home-account-label {
        display: block;
        margin-bottom: 9px;
        color: #d9a522;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .65px;
    }

    .portal-home-trading-identity h3 {
        margin: 0;
        color: #f5f7f9;
        font-size: clamp(30px, 3vw, 43px);
        font-weight: 800;
        line-height: 1;
        letter-spacing: -1.7px;
    }

    .portal-home-trading-identity p {
        max-width: 690px;
        margin: 13px 0 0;
        color: #697787;
        font-size: 9px;
        line-height: 1.65;
    }


/* =========================================================
   ACCOUNT META
   ========================================================= */

.portal-home-trading-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #26313c;
}

    .portal-home-trading-meta > div {
        position: relative;
        min-width: 0;
        padding: 19px 24px 19px 0;
    }

        .portal-home-trading-meta > div + div {
            padding-left: 24px;
        }

        .portal-home-trading-meta > div:not(:last-child)::after {
            position: absolute;
            top: 17px;
            right: 0;
            bottom: 17px;
            width: 1px;
            background: #222d37;
            content: "";
        }

    .portal-home-trading-meta span,
    .portal-home-trading-rules span {
        display: block;
        margin-bottom: 7px;
        color: #596878;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .6px;
    }

    .portal-home-trading-meta strong {
        display: block;
        overflow: hidden;
        color: #cbd3db;
        font-size: 10px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.portal-home-trading-status {
    color: #22e883 !important;
}


/* =========================================================
   EVALUATION RULES
   ========================================================= */

.portal-home-trading-rules {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0 -32px;
    padding: 0 32px;
    border-top: 1px solid rgba(247, 188, 50, .16);
    background: rgba(247, 188, 50, .018);
}

    .portal-home-trading-rules > div {
        position: relative;
        min-width: 0;
        padding: 20px 20px 22px 0;
    }

        .portal-home-trading-rules > div + div {
            padding-left: 20px;
        }

        .portal-home-trading-rules > div:not(:last-child)::after {
            position: absolute;
            top: 18px;
            right: 0;
            bottom: 18px;
            width: 1px;
            background: #222d37;
            content: "";
        }

    .portal-home-trading-rules strong {
        display: block;
        color: #f0f3f6;
        font-size: 13px;
        font-weight: 800;
    }
/* =========================================================
   MACPRO ENGINE
   ========================================================= */

.portal-home-engine-activation {
    margin: 0 -32px;
    padding: 26px 32px 28px;
    border-top: 1px solid #26313c;
    background: rgba(255, 255, 255, .012);
}

.portal-home-engine-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.portal-home-engine-copy {
    min-width: 0;
    max-width: 560px;
}

    .portal-home-engine-copy .portal-home-account-label {
        display: block;
        margin-bottom: 8px;
        color: #d9a522;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .65px;
    }

    .portal-home-engine-copy h3 {
        margin: 0;
        color: #f5f7f9;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: -.35px;
    }

    .portal-home-engine-copy p {
        margin: 8px 0 0;
        color: #697787;
        font-size: 9px;
        line-height: 1.65;
    }

.portal-home-engine-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 10px;
}

    .portal-home-engine-actions form {
        margin: 0;
    }

    .portal-home-engine-actions .portal-home-primary-button,
    .portal-home-engine-actions .portal-home-secondary-button {
        min-height: 42px;
        white-space: nowrap;
    }

.portal-home-activation-code {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(247, 188, 50, .18);
    background: rgba(247, 188, 50, .025);
}

    .portal-home-activation-code > span {
        display: block;
        margin-bottom: 7px;
        color: #d9a522;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .65px;
    }

    .portal-home-activation-code strong {
        display: block;
        color: #f5f7f9;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .portal-home-activation-code p,
    .portal-home-activation-error {
        margin: 7px 0 0;
        color: #697787;
        font-size: 9px;
        line-height: 1.6;
    }

@media (max-width: 900px) {
    .portal-home-engine-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .portal-home-engine-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .portal-home-engine-activation {
        margin-right: -22px;
        margin-left: -22px;
        padding-right: 22px;
        padding-left: 22px;
    }
}

@media (max-width: 520px) {
    .portal-home-engine-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .portal-home-engine-actions form,
        .portal-home-engine-actions .portal-home-primary-button,
        .portal-home-engine-actions .portal-home-secondary-button {
            width: 100%;
        }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .portal-home-trading-rules {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

        .portal-home-trading-rules > div:nth-child(3)::after {
            display: none;
        }
}


@media (max-width: 760px) {

    .portal-home-trading-panel {
        padding-right: 22px;
        padding-left: 22px;
    }

    .portal-home-trading-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-home-trading-state {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-home-trading-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-home-trading-rules {
        margin-right: -22px;
        margin-left: -22px;
        padding-right: 22px;
        padding-left: 22px;
    }
}


@media (max-width: 520px) {

    .portal-home-trading-meta,
    .portal-home-trading-rules {
        grid-template-columns: 1fr;
    }

        .portal-home-trading-meta > div,
        .portal-home-trading-meta > div + div,
        .portal-home-trading-rules > div,
        .portal-home-trading-rules > div + div {
            padding-left: 0;
        }

            .portal-home-trading-meta > div:not(:last-child)::after,
            .portal-home-trading-rules > div:not(:last-child)::after {
                top: auto;
                right: 0;
                bottom: 0;
                left: 0;
                width: auto;
                height: 1px;
            }
}
/* =========================================================
   PORTAL HOME — QUICK ACCESS LIST
   ========================================================= */

.portal-home-quick-section {
    padding-bottom: 48px;
}

.portal-home-quick-list {
    margin-top: 22px;
    border-top: 1px solid #26313d;
}


/* =========================================================
   QUICK ACCESS ROW
   ========================================================= */

.portal-home-quick-row {
    position: relative;
    min-height: 86px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 22px;
    padding: 0 18px 0 4px;
    border-bottom: 1px solid #202a34;
    background: transparent;
    color: inherit !important;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease;
}


    /* subtle hover background */

    .portal-home-quick-row::before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 2px;
        background: transparent;
        content: "";
        transition: background .18s ease, box-shadow .18s ease;
    }

    .portal-home-quick-row:hover {
        border-bottom-color: #35414d;
        background: linear-gradient( 90deg, rgba(247, 188, 50, .035), transparent 38% );
    }

        .portal-home-quick-row:hover::before {
            background: #d9a522;
            box-shadow: 0 0 12px rgba(217, 165, 34, .20);
        }


    /* =========================================================
   NUMBER
   ========================================================= */

    .portal-home-quick-row .portal-home-quick-number {
        color: #d9a522;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .65px;
    }


/* =========================================================
   COPY
   ========================================================= */

.portal-home-quick-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

    .portal-home-quick-copy h3 {
        margin: 0;
        color: #e9edf1;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: -.15px;
        transition: color .18s ease;
    }

    .portal-home-quick-copy p {
        margin: 0;
        color: #657383;
        font-size: 9px;
        line-height: 1.55;
    }

.portal-home-quick-row:hover
.portal-home-quick-copy h3 {
    color: #ffffff;
}


/* =========================================================
   ARROW
   ========================================================= */

.portal-home-quick-row .portal-home-quick-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #9a751d;
    font-size: 16px;
    transition: color .18s ease, transform .18s ease;
}

.portal-home-quick-row:hover
.portal-home-quick-arrow {
    color: #f7bc32;
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {

    .portal-home-quick-row {
        grid-template-columns: 38px minmax(0, 1fr) 24px;
        gap: 14px;
        min-height: 96px;
        padding-right: 8px;
    }

    .portal-home-quick-copy {
        display: block;
    }

        .portal-home-quick-copy h3 {
            margin-bottom: 6px;
        }
}


@media (max-width: 480px) {

    .portal-home-quick-row {
        grid-template-columns: 30px minmax(0, 1fr) 20px;
        gap: 10px;
    }

    .portal-home-quick-copy p {
        font-size: 8px;
    }
}
/* =========================================================
   EVALUATIONS — COMPACT ACTIVE ACCOUNT
   ========================================================= */

.active-evaluations-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.evaluation-compact-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #27323d;
    border-radius: 7px;
    background: #0b1117;
    transition: border-color .18s ease, background .18s ease;
}

    .evaluation-compact-card::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 115px;
        height: 1px;
        background: #d9a522;
        content: "";
    }

    .evaluation-compact-card:hover {
        border-color: #35424f;
        background: #0d141b;
    }


/* =========================================================
   HEADER
   ========================================================= */

.evaluation-compact-header {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
    border-bottom: 1px solid #202b35;
}

.evaluation-compact-identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.evaluation-compact-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(217, 165, 34, .30);
    border-radius: 4px;
    background: rgba(217, 165, 34, .035);
    color: #e0aa28;
    font-size: 14px;
    font-weight: 900;
}

.evaluation-compact-identity .evaluation-type {
    display: block;
    margin-bottom: 3px;
    color: #d9a522;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .55px;
}

.evaluation-compact-identity h3 {
    margin: 0;
    color: #f1f4f7;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.05;
}

.evaluation-compact-code {
    display: block;
    margin-top: 4px;
    color: #596878;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .25px;
}


/* =========================================================
   PRIMARY METRICS
   ========================================================= */

.evaluation-compact-primary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 20px;
}

    .evaluation-compact-primary > div {
        position: relative;
        min-width: 0;
        padding: 17px 20px 16px 0;
    }

        .evaluation-compact-primary > div + div {
            padding-left: 20px;
        }

        .evaluation-compact-primary > div:not(:last-child)::after {
            position: absolute;
            top: 14px;
            right: 0;
            bottom: 14px;
            width: 1px;
            background: #222d37;
            content: "";
        }

    .evaluation-compact-primary span,
    .evaluation-compact-secondary span {
        display: block;
        margin-bottom: 6px;
        color: #607080;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .55px;
    }

    .evaluation-compact-primary strong {
        display: block;
        color: #f3f5f7;
        font-size: 16px;
        font-weight: 800;
        line-height: 1;
    }

    .evaluation-compact-primary small {
        display: block;
        margin-top: 7px;
        color: #687686;
        font-size: 7px;
        line-height: 1.3;
    }

        .evaluation-compact-primary small.positive {
            color: #22e883;
        }

        .evaluation-compact-primary small.negative {
            color: #ff5b64;
        }


/* =========================================================
   PROGRESS
   ========================================================= */

.evaluation-compact-progress {
    padding: 0 20px 15px;
}

.evaluation-compact-progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

    .evaluation-compact-progress-heading span {
        color: #607080;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .55px;
    }

    .evaluation-compact-progress-heading strong {
        color: #22e883;
        font-size: 8px;
        font-weight: 900;
    }


/* =========================================================
   BOTTOM
   ========================================================= */

.evaluation-compact-bottom {
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0 20px;
    border-top: 1px solid #202b35;
    background: rgba(255, 255, 255, .006);
}

.evaluation-compact-secondary {
    min-width: 0;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    .evaluation-compact-secondary > div {
        position: relative;
        min-width: 0;
        padding: 13px 18px 13px 0;
    }

        .evaluation-compact-secondary > div + div {
            padding-left: 18px;
        }

        .evaluation-compact-secondary > div:not(:last-child)::after {
            position: absolute;
            top: 12px;
            right: 0;
            bottom: 12px;
            width: 1px;
            background: #222d37;
            content: "";
        }

    .evaluation-compact-secondary strong {
        display: block;
        color: #dce2e8;
        font-size: 10px;
        font-weight: 800;
    }

        .evaluation-compact-secondary strong.positive {
            color: #22e883;
        }

        .evaluation-compact-secondary strong.negative {
            color: #ff5b64;
        }


/* =========================================================
   VIEW EVALUATION
   ========================================================= */

.evaluation-compact-view {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #9aa6b3 !important;
    text-decoration: none !important;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .4px;
    white-space: nowrap;
    transition: color .18s ease;
}

    .evaluation-compact-view span {
        color: #d9a522;
        transition: transform .18s ease;
    }

    .evaluation-compact-view:hover {
        color: #ffffff !important;
    }

        .evaluation-compact-view:hover span {
            transform: translateX(4px);
        }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

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

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

    .evaluation-compact-bottom {
        align-items: flex-end;
        flex-direction: column;
        padding-top: 12px;
        padding-bottom: 14px;
    }

    .evaluation-compact-secondary {
        width: 100%;
    }
}


@media (max-width: 540px) {

    .evaluation-compact-header {
        align-items: flex-start;
    }

    .evaluation-compact-primary {
        grid-template-columns: 1fr;
    }

        .evaluation-compact-primary > div,
        .evaluation-compact-primary > div + div {
            padding-left: 0;
        }

    .evaluation-compact-secondary {
        grid-template-columns: 1fr 1fr;
    }
}
/* =========================================================
   BILLING - CLEAN EXPANDED SUBSCRIPTION
   ========================================================= */

.billing-detail-header-compact {
    padding-bottom: 18px;
}

    .billing-detail-header-compact h2 {
        display: none;
    }

.billing-detail-reference {
    margin: 7px 0 0;
    color: #8d99a8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .35px;
}


/* Evaluation becomes a clean strip instead of another card */

.billing-evaluation-strip {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(280px, 1fr) auto;
    align-items: center;
    gap: 34px;
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid #26313e;
    border-bottom: 1px solid #26313e;
}

.billing-evaluation-strip-main {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .billing-evaluation-strip-main > strong {
        color: #f5f7fa;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: .15px;
    }


.billing-evaluation-strip-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 30px;
}

    .billing-evaluation-strip-meta > div {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .billing-evaluation-strip-meta span {
        color: #607086;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .6px;
    }

    .billing-evaluation-strip-meta strong {
        color: #dce3eb;
        font-size: 10px;
        font-weight: 800;
    }


/* Keep View Evaluation light and secondary */

.billing-evaluation-strip .billing-view-evaluation {
    white-space: nowrap;
    align-self: center;
}


/* Slightly tighten the expanded subscription */

.billing-account-detail {
    padding-top: 22px;
    padding-bottom: 22px;
}

.billing-detail-grid {
    margin-top: 0;
}


/* Responsive */

@media (max-width: 900px) {

    .billing-evaluation-strip {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .billing-evaluation-strip-meta {
        max-width: 420px;
    }

    .billing-evaluation-strip .billing-view-evaluation {
        justify-self: start;
    }
}

@media (max-width: 600px) {

    .billing-evaluation-strip-meta {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}
/* =========================================================
   BILLING HISTORY — OPEN LAYOUT
   ========================================================= */

.billing-history-panel {
    margin-top: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.billing-history-table {
    margin-top: 26px;
    border-top: 1px solid #26313e;
}

.billing-history-row {
    padding-left: 0;
    padding-right: 0;
}

.billing-pagination {
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 8px;
}
/* =========================================================
   NINJATRADER ACCOUNT SETUP
   ========================================================= */

.ninjatrader-account-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.ninjatrader-setup-button {
    min-height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(247, 188, 50, 0.38);
    border-radius: 8px;
    background: rgba(247, 188, 50, 0.07);
    color: #f7bc32;
    font-family: inherit;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.45px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

    .ninjatrader-setup-button:hover {
        background: rgba(247, 188, 50, 0.13);
        border-color: #f7bc32;
        transform: translateY(-1px);
    }

    .ninjatrader-setup-button span {
        font-size: 14px;
        line-height: 1;
    }

@media (max-width: 700px) {

    .ninjatrader-account-actions {
        align-items: flex-start;
    }

    .ninjatrader-setup-button {
        width: 100%;
    }
}
/* =========================================================
   NINJATRADER SETUP GUIDE
   ========================================================= */

.ninjatrader-setup-guide {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #26313e;
}

    .ninjatrader-setup-guide.is-open {
        display: block;
    }

.ninjatrader-guide-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

    .ninjatrader-guide-header h3 {
        margin: 7px 0 0;
        color: #f5f7fa;
        font-size: 19px;
        font-weight: 650;
    }

    .ninjatrader-guide-header p {
        margin-top: 6px;
    }

.ninjatrader-guide-close {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #293544;
    border-radius: 8px;
    background: #111923;
    color: #8995a7;
    font-size: 20px;
    cursor: pointer;
}

    .ninjatrader-guide-close:hover {
        border-color: #f7bc32;
        color: #f7bc32;
    }

.ninjatrader-setup-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 24px;
    border: 1px solid #293544;
    border-radius: 12px;
    background: #0a1119;
    overflow: hidden;
}

    .ninjatrader-setup-summary > div {
        padding: 18px 20px;
    }

        .ninjatrader-setup-summary > div + div {
            border-left: 1px solid #26313e;
        }

    .ninjatrader-setup-summary span {
        display: block;
        color: #74808e;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 0.6px;
    }

    .ninjatrader-setup-summary strong {
        display: block;
        margin-top: 7px;
        color: #f5f7fa;
        font-size: 15px;
    }

    .ninjatrader-setup-summary > div:last-child strong {
        color: #f7bc32;
    }

.ninjatrader-balance-warning {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(247, 188, 50, 0.32);
    border-radius: 11px;
    background: rgba(247, 188, 50, 0.055);
}

    .ninjatrader-balance-warning strong {
        display: block;
        color: #f7bc32;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.5px;
    }

    .ninjatrader-balance-warning p {
        margin: 8px 0 0;
        color: #c0c7d0;
        font-size: 11px;
        line-height: 1.6;
    }

    .ninjatrader-balance-warning span {
        display: block;
        margin-top: 6px;
        color: #8995a7;
        font-size: 10px;
    }

.ninjatrader-steps {
    margin-top: 22px;
}

.ninjatrader-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(38, 49, 62, 0.75);
}

    .ninjatrader-step:last-child {
        border-bottom: 0;
    }

.ninjatrader-step-number {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(247, 188, 50, 0.30);
    border-radius: 8px;
    background: rgba(247, 188, 50, 0.07);
    color: #f7bc32;
    font-size: 9px;
    font-weight: 800;
}

.ninjatrader-step strong {
    color: #f4f7fa;
    font-size: 11px;
}

.ninjatrader-step p {
    margin-top: 5px;
    color: #75818f;
    font-size: 10px;
    line-height: 1.55;
}

    .ninjatrader-step p b {
        color: #dce3ea;
        font-weight: 700;
    }

@media (max-width: 700px) {
    .ninjatrader-setup-summary {
        grid-template-columns: 1fr;
    }

        .ninjatrader-setup-summary > div + div {
            border-left: 0;
            border-top: 1px solid #26313e;
        }
}
/* =========================================================
   NINJATRADER ACCOUNT - COMPACT HEADER
   ========================================================= */

.ninjatrader-account-panel {
    padding: 16px 20px;
}

    .ninjatrader-account-panel .panel-heading {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        min-height: 0 !important;
        height: auto !important;
        gap: 24px;
    }

        .ninjatrader-account-panel .panel-heading > div:first-child {
            flex: 1;
        }

        .ninjatrader-account-panel .panel-heading h2 {
            margin-top: 5px !important;
            margin-bottom: 0;
        }

        .ninjatrader-account-panel .panel-heading p {
            margin-top: 3px;
            margin-bottom: 0;
        }

    .ninjatrader-account-panel .ninjatrader-account-actions {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 7px;
        padding: 0;
        margin: 0;
    }

    .ninjatrader-account-panel .status-active,
    .ninjatrader-account-panel .status-passed,
    .ninjatrader-account-panel .status-failed,
    .ninjatrader-account-panel .status-qualified,
    .ninjatrader-account-panel .status-pending {
        margin: 0 !important;
    }

    .ninjatrader-account-panel .ninjatrader-setup-button {
        min-height: 32px;
        margin: 0;
    }

@media (max-width: 700px) {
    .ninjatrader-account-panel .panel-heading {
        flex-direction: column;
    }

    .ninjatrader-account-panel .ninjatrader-account-actions {
        width: 100%;
        align-items: flex-start;
    }
}


/* ============================================================
   MACPRO PREMIUM HOME 2026 - scoped, non-destructive overrides
   Original global styles remain intact for other pages.
   ============================================================ */
body.macpro-body {
    background: #060c12;
    background-image: radial-gradient(ellipse at 86% 4%, rgba(185,125,23,.09), transparent 34%), radial-gradient(ellipse at 6% 55%, rgba(25,89,118,.13), transparent 42%);
}

.macpro-main.macpro-main-top-layout {
    background: transparent;
}

.macpro-content.macpro-content-top-layout {
    max-width: 1660px;
    padding-top: 30px;
}

.macpro-portal-header {
    background: rgba(6,13,20,.97);
    border-bottom: 1px solid #24303b;
}

.macpro-top-nav-item.active {
    color: #f2bc45;
    background: linear-gradient(180deg,rgba(224,169,49,.11),rgba(224,169,49,.025));
}

.portal-home {
    position: relative;
    isolation: isolate;
}

    .portal-home::before {
        content: "";
        pointer-events: none;
        position: absolute;
        z-index: -1;
        inset: 0;
        background-image: linear-gradient(rgba(126,155,175,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(126,155,175,.022) 1px,transparent 1px);
        background-size: 56px 56px;
        mask-image: linear-gradient(to bottom,#000,transparent 70%);
    }

.portal-home-welcome {
    position: relative;
    overflow: hidden;
    padding: 30px 34px !important;
    border: 1px solid #293644;
    border-radius: 16px;
    min-height: 210px;
    background: radial-gradient(ellipse at 78% 42%,rgba(218,151,37,.21),transparent 34%), linear-gradient(105deg,rgba(7,15,23,.99) 15%,rgba(10,21,31,.92) 58%,rgba(22,23,24,.88));
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

    .portal-home-welcome::before {
        content: "";
        position: absolute;
        right: -3%;
        bottom: -35%;
        width: 56%;
        height: 125%;
        opacity: .28;
        pointer-events: none;
        background: repeating-linear-gradient(116deg,transparent 0 24px,rgba(234,170,57,.13) 25px,transparent 27px 54px);
        transform: skewX(-9deg);
        mask-image: linear-gradient(to right,transparent,#000);
    }

    .portal-home-welcome::after {
        content: "";
        position: absolute;
        right: 13%;
        bottom: 18%;
        width: 32%;
        height: 44%;
        pointer-events: none;
        opacity: .3;
        background: linear-gradient(135deg,transparent 48%,rgba(237,177,69,.45) 49%,transparent 50%), linear-gradient(160deg,transparent 48%,rgba(237,177,69,.22) 49%,transparent 50%);
        background-size: 90px 80px,130px 100px;
    }

    .portal-home-welcome > * {
        position: relative;
        z-index: 1;
    }

.portal-home-welcome-copy h1 {
    font-size: clamp(36px,4vw,60px) !important;
    line-height: 1.06 !important;
    letter-spacing: -2px !important;
    font-weight: 800 !important;
}

    .portal-home-welcome-copy h1 span {
        color: #e5af32 !important;
        text-transform: uppercase;
    }

.portal-home-welcome-copy p {
    font-size: 13px !important;
    max-width: 510px;
    line-height: 1.65;
}

.portal-home-section {
    margin-top: 28px !important;
}

.portal-home-section-heading {
    margin-bottom: 16px !important;
}

    .portal-home-section-heading h2 {
        font-size: 24px !important;
        letter-spacing: -.6px;
    }

.portal-home-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 14px !important;
    border: 0 !important;
    background: transparent !important;
}

.portal-home-overview-item {
    position: relative;
    min-width: 0;
    padding: 22px !important;
    border: 1px solid #263847 !important;
    border-radius: 12px !important;
    background: linear-gradient(145deg,#11202c,#0b151e) !important;
    min-height: 142px;
}

    .portal-home-overview-item:nth-child(2), .portal-home-overview-item:nth-child(4) {
        background: linear-gradient(145deg,#0c3028,#0b1b1c) !important;
        border-color: #1c5a49 !important;
    }

    .portal-home-overview-item:nth-child(3) {
        background: linear-gradient(145deg,#342716,#171a1b) !important;
        border-color: #5b4220 !important;
    }

.portal-home-overview-label {
    display: block;
    font-size: 10px !important;
    letter-spacing: .8px !important;
}

.portal-home-overview-value {
    display: block;
    margin-top: 14px !important;
    font-size: 32px !important;
    line-height: 1.1;
}

.portal-home-overview-description {
    display: block;
    margin-top: 7px !important;
    line-height: 1.45;
}

.macpro-home-stat-icon {
    display: none;
}

.portal-home-trading-panel {
    overflow: visible !important;
    border: 1px solid #2a3944 !important;
    border-radius: 15px !important;
    background: linear-gradient(150deg,#0d1923,#09121a) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,.16);
}

.portal-home-trading-header {
    padding: 17px 24px !important;
}

.macpro-home-account-grid {
    display: grid;
    grid-template-columns: minmax(0,1.75fr) minmax(320px,.9fr);
    gap: 16px;
    padding: 16px;
    align-items: stretch;
}

.macpro-home-account-details {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(209,159,56,.28);
    border-radius: 12px;
    background: linear-gradient(135deg,#101b25,#0b141c);
}

    .macpro-home-account-details .portal-home-trading-identity {
        padding: 0 !important;
        border: 0 !important;
    }

        .macpro-home-account-details .portal-home-trading-identity h3 {
            font-size: clamp(23px,2.4vw,34px) !important;
            overflow-wrap: anywhere;
        }

    .macpro-home-account-details .portal-home-trading-meta {
        display: grid !important;
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
        gap: 9px !important;
        margin-top: 20px !important;
        padding: 0 !important;
        border: 0 !important;
    }

        .macpro-home-account-details .portal-home-trading-meta > div {
            min-width: 0;
            padding: 13px !important;
            border: 1px solid #253441 !important;
            border-radius: 9px;
            background: #0b1721;
            overflow-wrap: anywhere;
        }

    .macpro-home-account-details .portal-home-trading-rules {
        display: grid !important;
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        gap: 9px !important;
        margin-top: 12px !important;
        padding: 0 !important;
        border: 0 !important;
    }

        .macpro-home-account-details .portal-home-trading-rules > div {
            min-width: 0;
            padding: 13px !important;
            border: 1px solid #253441 !important;
            border-radius: 9px;
            background: #0b1721;
        }

        .macpro-home-account-details .portal-home-trading-meta span, .macpro-home-account-details .portal-home-trading-rules span {
            display: block;
            font-size: 9px !important;
            line-height: 1.4;
            letter-spacing: .45px;
        }

        .macpro-home-account-details .portal-home-trading-meta strong, .macpro-home-account-details .portal-home-trading-rules strong {
            display: block;
            margin-top: 7px;
            font-size: 14px !important;
            overflow-wrap: anywhere;
        }

.macpro-home-engine-card {
    min-width: 0;
    display: flex;
    padding: 22px;
    border: 1px solid rgba(228,167,48,.55);
    border-radius: 12px;
    background: radial-gradient(ellipse at 100% 0%,rgba(226,159,45,.17),transparent 60%),linear-gradient(155deg,#242017,#14191d 68%);
    box-shadow: inset 0 1px rgba(255,204,100,.08);
}

    .macpro-home-engine-card .portal-home-engine-activation {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .macpro-home-engine-card .portal-home-engine-main {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 24px !important;
    }

    .macpro-home-engine-card .portal-home-engine-copy h3 {
        font-size: 22px !important;
        line-height: 1.25;
    }

    .macpro-home-engine-card .portal-home-engine-copy p {
        font-size: 12px !important;
        line-height: 1.7;
    }

    .macpro-home-engine-card .portal-home-engine-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100%;
    }

        .macpro-home-engine-card .portal-home-engine-actions form, .macpro-home-engine-card .portal-home-engine-actions a, .macpro-home-engine-card .portal-home-engine-actions button {
            width: 100% !important;
            max-width: none !important;
        }

    .macpro-home-engine-card .portal-home-primary-button {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        background: linear-gradient(100deg,#f6cf58,#d99d24) !important;
        color: #181206 !important;
        border: 1px solid #e9b741 !important;
        box-shadow: 0 5px 18px rgba(214,151,28,.15);
    }

    .macpro-home-engine-card .portal-home-secondary-button {
        min-height: 45px;
        border: 1px solid #5b4a2b !important;
        background: rgba(5,10,15,.7) !important;
        color: #f3f1eb !important;
    }

    .macpro-home-engine-card .portal-home-activation-code {
        overflow-wrap: anywhere;
        margin-top: 18px !important;
    }

.portal-home-quick-list {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 14px !important;
}

.portal-home-quick-row {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center;
    gap: 14px !important;
    min-width: 0;
    min-height: 105px;
    padding: 18px !important;
    border: 1px solid #283a48 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg,#10212d,#0b161f) !important;
    text-decoration: none !important;
}

    .portal-home-quick-row:hover {
        border-color: #ba8b2c !important;
        background: #142634 !important;
        transform: translateY(-2px);
    }

.portal-home-quick-number {
    display: grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: rgba(219,167,47,.10);
    color: #e7b64b !important;
}

.portal-home-quick-copy h3 {
    font-size: 14px !important;
}

.portal-home-quick-copy p {
    font-size: 11px !important;
    line-height: 1.5;
}

@media(max-width:1150px) {
    .macpro-home-account-grid {
        grid-template-columns: 1fr;
    }

    .portal-home-overview-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

    .portal-home-quick-list {
        grid-template-columns: 1fr !important;
    }
}

@media(max-width:700px) {
    .macpro-content.macpro-content-top-layout {
        padding: 20px 14px 40px !important;
    }

    .portal-home-welcome {
        padding: 24px !important;
    }

    .portal-home-welcome-copy h1 {
        font-size: 38px !important;
    }

    .portal-home-overview-grid {
        grid-template-columns: 1fr !important;
    }

    .macpro-home-account-grid {
        padding: 10px;
    }

    .macpro-home-account-details, .macpro-home-engine-card {
        padding: 16px;
    }

        .macpro-home-account-details .portal-home-trading-meta {
            grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        }

        .macpro-home-account-details .portal-home-trading-rules {
            grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        }
}

@media(prefers-reduced-motion:reduce) {
    .portal-home-quick-row {
        transition: none !important;
    }

        .portal-home-quick-row:hover {
            transform: none;
        }
}

/* =========================================================
   MACPRO HOME V2 — WIDER, CLEARER, MORE DEPTH
   Scoped to portal home to avoid affecting other pages.
   ========================================================= */
body.macpro-body {
    background-color: #070d13;
    background-image: radial-gradient(ellipse at 90% 12%,rgba(171,121,32,.075),transparent 35%),radial-gradient(ellipse at 8% 55%,rgba(22,83,106,.09),transparent 48%);
}

.macpro-content.macpro-content-top-layout {
    max-width: none !important;
    width: 100% !important;
    padding: 32px clamp(20px,3.2vw,68px) 70px !important;
}

.portal-home {
    max-width: 1820px !important;
    width: 100% !important;
    margin-inline: auto !important;
}

.portal-home-welcome {
    min-height: 245px !important;
    padding: clamp(28px,3vw,52px) !important;
    background-image: linear-gradient(95deg,rgba(8,16,25,.97) 0%,rgba(9,20,29,.93) 45%,rgba(22,20,18,.65) 100%),repeating-linear-gradient(116deg,transparent 0,transparent 51px,rgba(228,173,62,.085) 52px,transparent 53px),radial-gradient(ellipse at 84% 50%,rgba(238,174,55,.27),transparent 46%) !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.035) !important;
}

.portal-home-welcome-copy h1 {
    font-size: clamp(36px,3.4vw,64px) !important;
    letter-spacing: -1.8px !important;
}

.portal-home-welcome-copy p {
    font-size: clamp(12px,.95vw,15px) !important;
    line-height: 1.65 !important;
    max-width: 600px !important;
}

.portal-home-section-heading h2 {
    font-size: clamp(22px,1.65vw,29px) !important;
}

.portal-home-section-heading p {
    font-size: 13px !important;
}

.portal-home-overview-grid {
    gap: 18px !important;
}

.portal-home-overview-item {
    min-height: 164px !important;
    padding: 23px 25px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.12) !important;
    transition: transform .2s ease,border-color .2s ease !important;
}

    .portal-home-overview-item:hover {
        transform: translateY(-3px);
        border-color: rgba(221,170,64,.55) !important;
    }

    .portal-home-overview-item:nth-child(1) {
        background: linear-gradient(145deg,#10382e,#0b1b1c) !important;
        border-color: #1c5a49 !important;
    }

    .portal-home-overview-item:nth-child(2) {
        background: linear-gradient(145deg,#3a2b15,#191b1c) !important;
        border-color: #695024 !important;
    }

    .portal-home-overview-item:nth-child(3) {
        background: linear-gradient(145deg,#142634,#0c1923) !important;
        border-color: #29455a !important;
    }

    .portal-home-overview-item:nth-child(4) {
        background: linear-gradient(145deg,#302027,#15181e) !important;
        border-color: #58353c !important;
    }

.macpro-home-stat-symbol {
    display: inline-grid;
    place-items: center;
    position: absolute;
    right: 20px;
    top: 17px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    color: #e6b74e;
    font-size: 22px;
}

.portal-home-overview-value {
    font-size: 38px !important;
    margin-top: 17px !important;
}

.portal-home-overview-description {
    font-size: 11px !important;
    color: #9aabba !important;
}

.macpro-home-account-grid {
    grid-template-columns: minmax(0,1.7fr) minmax(330px,.85fr) !important;
    gap: 20px !important;
    padding: 20px !important;
}

.macpro-home-account-details {
    padding: clamp(20px,2vw,34px) !important;
}

.macpro-home-engine-card {
    padding: clamp(20px,2vw,32px) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.20),inset 0 1px rgba(255,211,117,.12) !important;
}

.macpro-home-account-details .portal-home-trading-meta strong, .macpro-home-account-details .portal-home-trading-rules strong {
    font-size: clamp(13px,1vw,17px) !important;
}

.portal-home-quick-row {
    min-height: 118px !important;
}

@media(max-width:1180px) {
    .macpro-home-account-grid {
        grid-template-columns: 1fr !important;
    }
}

@media(max-width:850px) {
    .portal-home-overview-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

    .portal-home-welcome-main {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
}

@media(max-width:580px) {
    .macpro-content.macpro-content-top-layout {
        padding: 16px 12px 42px !important;
    }

    .portal-home-overview-grid {
        grid-template-columns: 1fr !important;
    }

    .portal-home-welcome {
        padding: 25px 19px !important;
    }

    .portal-home-welcome-copy h1 {
        font-size: 36px !important;
    }

    .macpro-home-account-grid {
        padding: 10px !important;
    }
}

@media(prefers-reduced-motion:reduce) {
    .portal-home-overview-item {
        transition: none !important;
    }

        .portal-home-overview-item:hover {
            transform: none;
        }
}


/* ========================================================
   MACPRO HOME V3 — LIQUID GLASS (HOME ONLY)
   ======================================================== */
.portal-home-overview-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 22px !important;
}

.portal-home-overview-item {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    min-height: 185px !important;
    padding: 28px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.20),inset 0 -1px 0 rgba(255,255,255,.045),0 18px 42px rgba(0,0,0,.32),0 0 32px rgba(60,100,150,.055) !important;
    transition: transform .28s ease,box-shadow .28s ease,border-color .28s ease !important;
}

    .portal-home-overview-item:nth-child(1) {
        background: linear-gradient(128deg,rgba(22,137,111,.49),rgba(8,34,44,.78) 65%),radial-gradient(circle at 12% 0%,rgba(71,255,192,.27),transparent 62%) !important;
        border: 1px solid rgba(90,245,193,.54) !important;
    }

    .portal-home-overview-item:nth-child(2) {
        background: linear-gradient(128deg,rgba(166,114,26,.48),rgba(39,30,27,.79) 65%),radial-gradient(circle at 10% 0%,rgba(255,218,109,.26),transparent 62%) !important;
        border: 1px solid rgba(255,210,116,.55) !important;
    }

    .portal-home-overview-item:nth-child(3) {
        background: linear-gradient(128deg,rgba(58,100,169,.48),rgba(20,33,57,.8) 65%),radial-gradient(circle at 10% 0%,rgba(151,185,255,.25),transparent 62%) !important;
        border: 1px solid rgba(151,185,255,.50) !important;
    }

    .portal-home-overview-item::before {
        content: '';
        position: absolute;
        inset: 1px;
        border-radius: inherit;
        pointer-events: none;
        z-index: -1;
        background: linear-gradient(155deg,rgba(255,255,255,.13),transparent 30%,transparent 70%,rgba(255,255,255,.025));
    }

    .portal-home-overview-item::after {
        content: '';
        position: absolute;
        inset: -90% auto auto -75%;
        width: 75%;
        height: 270%;
        pointer-events: none;
        background: linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent);
        transform: rotate(24deg) translateX(-70%);
        transition: transform .7s ease;
        opacity: .8;
    }

    .portal-home-overview-item:hover {
        transform: translateY(-7px) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.27),0 26px 60px rgba(0,0,0,.4),0 0 36px rgba(224,181,88,.12) !important;
    }

        .portal-home-overview-item:hover::after {
            transform: rotate(24deg) translateX(360%);
        }

    .portal-home-overview-item .portal-home-overview-label {
        color: #d8e3eb !important;
        font-size: 11px !important;
        letter-spacing: 1.1px !important;
    }

    .portal-home-overview-item .portal-home-overview-value {
        font-size: 46px !important;
        color: #fff !important;
        text-shadow: 0 0 24px rgba(255,255,255,.10);
    }

    .portal-home-overview-item:nth-child(1) .portal-home-overview-value {
        color: #6fffc0 !important;
    }

    .portal-home-overview-item:nth-child(2) .portal-home-overview-value {
        color: #ffdc83 !important;
    }

    .portal-home-overview-item:nth-child(3) .portal-home-overview-value {
        color: #bed0ff !important;
    }

    .portal-home-overview-item .portal-home-overview-description {
        color: #d0dbe4 !important;
        font-size: 12px !important;
    }

    .portal-home-overview-item .macpro-home-stat-symbol {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 25px;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.20);
        box-shadow: inset 0 1px rgba(255,255,255,.15);
    }

.macpro-home-engine-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg,rgba(107,78,30,.43),rgba(20,23,31,.9) 72%) !important;
    border: 1px solid rgba(248,193,81,.66) !important;
    border-radius: 19px !important;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px rgba(255,237,184,.2),0 22px 60px rgba(0,0,0,.35),0 0 35px rgba(220,157,39,.1) !important;
}

    .macpro-home-engine-card::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at 90% 0%,rgba(255,206,104,.22),transparent 45%);
    }

    .macpro-home-engine-card > * {
        position: relative;
    }

    .macpro-home-engine-card .portal-home-primary-button {
        background: linear-gradient(115deg,#ffe894,#ffc74d 42%,#e8a72d) !important;
        box-shadow: 0 10px 28px rgba(245,180,58,.24),inset 0 1px rgba(255,255,255,.55) !important;
        transition: transform .2s,box-shadow .2s !important;
    }

        .macpro-home-engine-card .portal-home-primary-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 38px rgba(245,180,58,.35) !important;
        }

.portal-home-welcome {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(216,174,88,.28) !important;
}

@media(max-width:980px) {
    .portal-home-overview-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:600px) {
    .portal-home-overview-grid {
        grid-template-columns: 1fr !important;
    }

    .portal-home-overview-item {
        min-height: 150px !important;
    }
}

@media(prefers-reduced-motion:reduce) {
    .portal-home-overview-item, .portal-home-overview-item::after, .macpro-home-engine-card .portal-home-primary-button {
        transition: none !important;
    }

        .portal-home-overview-item:hover, .macpro-home-engine-card .portal-home-primary-button:hover {
            transform: none !important;
        }
}

/* =========================================================
   MACPRO V3.1 — CINEMATIC WELCOME BACKGROUND ONLY
   Keeps all Liquid Glass cards, buttons and Razor behavior.
   ========================================================= */
.portal-home-welcome {
    background-image: linear-gradient(90deg,rgba(6,14,23,.99) 0%,rgba(7,16,26,.98) 31%,rgba(7,17,27,.82) 53%,rgba(9,16,24,.30) 100%), url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5NTAgMzYwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBzbGljZSI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJmYWRlIj48c3RvcCBzdG9wLWNvbG9yPSIjRDZBMzNFIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9Ii4zNSIgc3RvcC1jb2xvcj0iI0Q2QTMzRSIgc3RvcC1vcGFjaXR5PSIuMjUiLz48c3RvcCBvZmZzZ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ZSkiIHN0cm9rZS13aWR0aD0iMiIgb3BhY2l0eT0iLjY1Ii8+PC9zdmc+"), radial-gradient(ellipse at 84% 35%,rgba(235,165,51,.35),transparent 38%), radial-gradient(ellipse at 70% 100%,rgba(18,91,116,.31),transparent 57%), linear-gradient(125deg,#07111c,#121b25 65%,#292116) !important;
    background-size: cover, min(65%,950px) auto,cover,cover,cover !important;
    background-position: center,right 4% center,center,center,center !important;
    background-repeat: no-repeat !important;
    border-color: rgba(226,176,76,.30) !important;
    box-shadow: 0 20px 55px rgba(0,0,0,.24),inset 0 1px rgba(255,224,155,.09) !important;
}
    /* Remove the old diagonal stripes and geometric line overlays. */
    .portal-home-welcome::before,
    .portal-home-welcome::after {
        content: none !important;
        display: none !important;
    }

@media(max-width:700px) {
    .portal-home-welcome {
        background-image: linear-gradient(90deg,rgba(6,14,23,.98),rgba(7,16,26,.88)), url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5NTAgMzYwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBzbGljZSI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJmYWRlIj48c3RvcCBzdG9wLWNvbG9yPSIjRDZBMzNFIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9Ii4zNSIgc3RvcC1jb2xvcj0iI0Q2QTMzRSIgc3RvcC1vcGFjaXR5PSIuMjUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGM0JGNTkiIHN0b3Atb3BhY2l0eT0iLjciLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48bGluZSB4MT0iNzAiIHkxPSIyMTEiIHgyPSI3MCIgeTI9IjI3MCIgc3Ryb2tlPSIjNTY3Rjg1IiBzdHJva2Utd2lkdGg9IjIiIG9wYWNpdHk9IjAuMjAiLz48cmVjdCB4PSI2NCIgeT0iMj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xPSI1MiIgeDI9IjgyNiIgeTI9IjExMiIgc3Ryb2tlPSIjRTVCMDRBIiBzdHJva2Utd2lkdGg9IjIiIG9wYWNpdHk9IjAuNDgiLz48cmVjdCB4PSI4MjAiIHk9IjY5IiB3aWR0aD0iMTIiIGhlaWdodD0iMjgiIHJ4PSIyIiBmaWxsPSIjRTVCMDRBIiBvcGFjaXR5PSIwLjQ4Ii8+PGxpbmUgeDE9Ijg1NCIgeTE9IjMxIiB4Mj0iODU0IiB5Mj0iODUiIHN0cm9rZT0iIzU2N0Y4NSIgc3Ryb2tlLXdpZHRoPSIyIiBvcGFjaXR5PSIwLjQ5Ii8+PHJlY3QgeD0iODQ4IiB5PSI0OCIgd2lkdGg9IjEyIiBoZWlnaHQ9IjIyIiByeD0iMiIgZmlsbD0iIzU2N0Y4NSIgb3BhY2l0eT0iMC40OSIvPjxwb2x5bGluZSBwb2ludHM9IjcwLDIzNyA5OCwyMjcgMTI2LDIzNSAxNTQsMjEwIDE4MiwxOTkgMjEwLDIxMyAyMzgsMTkxIDI2NiwyMDUgMjk0LDE4MCAzMjIsMTYzIDM1MCwxNzUgMzc4LDE1MiA0MDYsMTYxIDQzNCwxMzUgNDYyLDE0NCA0OTAsMTI3IDUxOCwxNDcgNTQ2LDExOCA1NzQsMTA0IDYwMiwxMTUgNjMwLDkxIDY1OCwxMDIgNjg2LDg1IDcxNCw5OSA3NDIsNzYgNzcwLDg5IDc5OCw2NyA4MjYsNzggODU0LDU3IiBmaWxsPSJub25lIiBzdHJva2U9InVybCgjZmFkZSkiIHN0cm9rZS13aWR0aD0iMiIgb3BhY2l0eT0iLjY1Ii8+PC9zdmc+"), radial-gradient(ellipse at 80% 35%,rgba(235,165,51,.20),transparent 55%), linear-gradient(125deg,#07111c,#17202b) !important;
        background-size: cover,100% auto,cover,cover !important;
        background-position: center,right bottom,center,center !important;
    }
}
