* {
    box-sizing: border-box;
}
html {
    min-width: 320px;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}
a,
button,
input {
    font-family: inherit;
}
button {
    cursor: pointer;
}
.app-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 19px;
    background: #fff;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}
.app-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-brand {
    color: #00a982;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.075em;
    text-align:center;
}
    .loader-brand img {
        height: auto;
        width: 50%;
    }
.brand-g {
    color: var(--primary-color);
}
.loader-dot {
    color: var(--primary-color);
}
.loader-track {
    width: 130px;
    height: 4px;
    border-radius: 9px;
    background: #eaf2fa;
    overflow: hidden;
}
.loader-track span {
    display: block;
    width: 35%;
    height: 100%;
    border-radius: 9px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: load 900ms ease-in-out infinite;
}
@keyframes load {
    from {
        transform: translateX(-120%);
    }
    to {
        transform: translateX(390%);
    }
}
.app-shell {
    min-height: 100vh;
}
.app-sidebar {
    position: fixed;
    z-index: 1100;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: var(--sidebar-width);
    padding: 24px 17px 17px;
    background: #fff;
    border-right: 1px solid #e8edf4;
    overflow-y: auto;
    overflow-x: hidden;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color .3s ease;
}
    /* Chrome, Edge, Safari */
    .app-sidebar::-webkit-scrollbar {
        width: 5px;
    }

    .app-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .app-sidebar::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 10px;
    }

    /* Show scrollbar on hover */
    .app-sidebar:hover {
        scrollbar-color: #cbd3e1 transparent;
    }

        .app-sidebar:hover::-webkit-scrollbar-thumb {
            background: #cbd3e1;
        }

    /* Scrollbar hover */
    .app-sidebar::-webkit-scrollbar-thumb:hover {
        background: #9ba8bc;
    }
.brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 140px;
    margin: 0 0 10px 5px;
    color: inherit;
    text-decoration: none;
}
.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 12px 12px 12px 4px;
    background: linear-gradient(145deg, #137de0, #06bd91);
    color: #fff;
    font-size: 29px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.08em;
    box-shadow: 0 6px 13px rgba(18, 120, 211, 0.19);
}
.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.brand-copy strong {
    color: #137cbd;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 1.05;
}
.brand-copy small {
    color: #65748c;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    margin-bottom: 17px;
    border: 1px solid #e8eff7;
    border-radius: 13px;
    background: #f9fbfe;
}
.sidebar-profile-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.sidebar-profile-copy strong {
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.sidebar-profile-copy span {
    color: #8793a2;
    font-size: 10px;
}
.online-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00bd87;
    box-shadow: 0 0 0 3px #ddf8ef;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-caption {
    margin: 7px 10px 6px;
    color: #a1aab6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}
.nav-caption-spaced {
    margin-top: 19px;
}
.side-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 35px;
    padding: 0 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #697688;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.side-link > i:first-child {
    width: 17px;
    color: #8b98a8;
    font-size: 15px;
    text-align: center;
}
.side-link:hover {
    background: #f5f9fd;
    color: var(--primary-color);
}
.side-link:hover > i:first-child,
.side-link.active > i:first-child {
    color: var(--primary-color);
}
.side-link.active {
    background: #eaf5ff;
    color: #0875c9;
    font-weight: 700;
}
.side-link.active::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -17px;
    width: 3px;
    border-radius: 0 5px 5px 0;
    background: var(--primary-color);
    content: "";
}
.side-link-arrow {
    margin-left: auto;
    color: #8fb9db;
    font-size: 11px;
}
.side-chevron {
    margin-left: auto;
    color: #a1acb9;
    font-size: 10px;
}
.sub-link {
    min-height: 31px;
    padding-left: 43px;
    color: #8792a1;
    font-size: 12px;
}
.sub-link-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b8c7d7;
}
.nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    margin-left: auto;
    border-radius: 7px;
    background: #fff0e9;
    color: #e0783b;
    font-size: 9px;
    font-weight: 700;
}
.sidebar-bottom {
    margin-top: auto;
    padding-top: 18px;
}
.help-card {
    padding: 13px;
    border: 1px solid #e1effb;
    border-radius: 13px;
    background: linear-gradient(140deg, #f3f9ff, #f0fcf8);
}
.help-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 9px;
    border-radius: 9px;
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(18, 120, 211, 0.07);
}
.help-card strong {
    display: block;
    color: #364456;
    font-size: 11px;
}
.help-card > span {
    display: block;
    margin: 4px 0 8px;
    color: #8793a1;
    font-size: 9px;
    line-height: 1.45;
}
.help-card a {
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}
.help-card a i {
    margin-left: 4px;
}
.logout-link {
    width: 100%;
    margin-top: 12px;
    color: #8994a2;
}
.sidebar-version {
    display: flex;
    justify-content: space-between;
    padding: 11px 5px 0;
    color: #a2acb9;
    font-size: 9px;
}
.sidebar-version span {
    color: #b2bbc5;
}
.main-panel {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 35px;
    border-bottom: 1px solid #e9eef4;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}
.topbar-left,
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}
.breadcrumb-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9aa5b3;
    font-size: 11px;
}
.breadcrumb-line i {
    color: #c2cad3;
    font-size: 9px;
}
.breadcrumb-line strong {
    color: #394758;
    font-weight: 700;
}
.topbar-actions {
    gap: 11px;
}
.top-search {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 230px;
    height: 39px;
    padding: 0 10px;
    border: 1px solid #e6ebf2;
    border-radius: 10px;
    background: #fafbfd;
    color: #9aa6b4;
}
.top-search i {
    font-size: 13px;
}
.top-search input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #4b5b6c;
    font-size: 10px;
}
.top-search input::placeholder {
    color: #a0aab6;
}
.top-search kbd {
    padding: 3px 5px;
    border: 1px solid #e5eaf0;
    border-radius: 5px;
    background: #fff;
    color: #9ba5b2;
    font-size: 8px;
    white-space: nowrap;
}
.notification-button {
    border-radius: 10px;
}
.notification-dot {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    background: #ff696e;
}
.user-menu-button {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 0 0 5px;
    border: 0;
    background: transparent;
    text-align: left;
}
.user-menu-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.user-menu-copy strong {
    color: #394758;
    font-size: 10px;
    font-weight: 700;
}
.user-menu-copy small {
    color: #9aa5b3;
    font-size: 9px;
}
.user-menu-button > i {
    margin-left: 3px;
    color: #9da8b5;
    font-size: 10px;
}
.mobile-menu-button {
    display: none;
}
.page-content {
    max-width: 1680px;
    margin: 0 auto;
    padding: 30px 35px 22px;
}
.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.eyebrow {
    margin: 0 0 8px;
    color: #90a0b1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
}
.page-heading h1 {
    margin: 0;
    color: #293949;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.055em;
}
.wave {
    display: inline-block;
    margin-left: 4px;
    color: #f4b64d;
    font-size: 19px;
    transform: rotate(12deg);
}
.page-subtitle {
    margin: 6px 0 0;
    color: #8491a0;
    font-size: 12px;
}
.heading-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}
.dashboard-grid {
    display: block;
}
.dashboard-main-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 23px;
}
.earnings-hero {
    position: relative;
    display: flex;
    min-height: 220px;
    padding: 23px 25px 0;
    overflow: hidden;
    border: 0;
    background: linear-gradient(112deg, #dff0ff 0%, #d7f0eb 100%);
}
.earnings-hero-content {
    position: relative;
    z-index: 2;
    width: 75%;
}
.hero-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5f7c91;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.hero-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--primary-color);
    font-size: 13px;
}
.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 2px;
    padding: 4px 7px;
    border: 1px solid rgba(0, 153, 114, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.45);
    color: #008d68;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0;
}
.live-pill span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00bd87;
    box-shadow: 0 0 0 3px rgba(0, 189, 135, 0.12);
}
.hero-title {
    margin: 17px 0 2px;
    color: #466071;
    font-size: 12px;
    font-weight: 600;
}
.hero-amount {
    color: #0878d7;
    font-size: 33px;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.15;
}
.hero-note {
    margin: 5px 0 12px;
    color: #6b8b98;
    font-size: 9px;
}
.hero-note i {
    color: #00a87b;
}
.hero-breakdown {
    display: flex;
    align-items: center;
    gap: 23px;
    max-width: 470px;
    padding: 12px 0 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.62);
}
.breakdown-item {
    display: flex;
    min-width: 150px;
    flex-direction: column;
    gap: 3px;
}
.breakdown-item > span {
    color: #6d7e8a;
    font-size: 9px;
    font-weight: 600;
}
.breakdown-item > strong {
    color: #374b5a;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.breakdown-item > small {
    font-size: 9px;
    font-weight: 700;
}
.positive-text {
    color: #009c73 !important;
}
.pending-text {
    color: #d77a4b !important;
}
.breakdown-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.8);
}
.hero-art {
    position: absolute;
    top: 12px;
    right: 18px;
    width: 195px;
    height: 190px;
}
.hero-art-glow {
    position: absolute;
    top: 17px;
    right: 15px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.37);
    filter: blur(1px);
}
.wallet-card-back {
    position: absolute;
    top: 48px;
    right: 26px;
    width: 112px;
    height: 72px;
    border: 1px solid rgba(0, 110, 88, 0.13);
    border-radius: 12px;
    background: linear-gradient(135deg, #06c994, #007e65);
    box-shadow: 0 12px 18px rgba(0, 116, 92, 0.18);
    transform: rotate(9deg);
}
.wallet-card {
    position: absolute;
    top: 35px;
    right: 52px;
    width: 105px;
    height: 73px;
    padding: 12px;
    border: 1px solid rgba(14, 91, 118, 0.12);
    border-radius: 10px;
    background: linear-gradient(145deg, #fefefe, #e9f6f6);
    box-shadow: 0 8px 16px rgba(35, 95, 109, 0.12);
    transform: rotate(-9deg);
}
.wallet-card-chip {
    width: 18px;
    height: 13px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f7d88a, #d7ae50);
}
.wallet-card-line {
    width: 56px;
    height: 4px;
    margin-top: 7px;
    border-radius: 5px;
    background: #c6dce0;
}
.wallet-card-line.short {
    width: 36px;
    margin-top: 4px;
}
.wallet-card-symbol {
    position: absolute;
    right: 11px;
    bottom: 7px;
    color: #0878d7;
    font-size: 18px;
    font-weight: 800;
}
.wallet-pocket {
    position: absolute;
    top: 86px;
    right: 17px;
    width: 115px;
    height: 53px;
    border: 5px solid #008968;
    border-radius: 8px 8px 18px 18px;
    background: linear-gradient(110deg, #06c895, #00775d);
    box-shadow: 0 9px 14px rgba(0, 105, 83, 0.2);
}
.wallet-pocket span {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 17px;
    height: 17px;
    border: 3px solid #f5d16d;
    border-radius: 50%;
    background: #eebd44;
}
.coin {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eab546;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe99b, #dfa22c);
    color: #a9710d;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 3px 7px rgba(163, 111, 17, 0.2);
}
.coin-one {
    right: 31px;
    bottom: 28px;
    width: 29px;
    height: 29px;
}
.coin-two {
    right: 62px;
    bottom: 19px;
    width: 22px;
    height: 22px;
    font-size: 9px;
}
.coin-three {
    right: 7px;
    bottom: 24px;
    width: 15px;
    height: 15px;
}
.art-spark {
    position: absolute;
    color: #fff;
}
.spark-one {
    top: 20px;
    right: 3px;
    font-size: 16px;
}
.spark-two {
    bottom: 23px;
    left: 5px;
    font-size: 20px;
    color: #0789bf;
}
.hero-decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
}
.hero-decoration-one {
    top: -72px;
    right: -62px;
    width: 255px;
    height: 255px;
}
.hero-decoration-two {
    top: -45px;
    right: -31px;
    width: 195px;
    height: 195px;
}
.section-block {
    min-width: 0;
}
.commission-card {
    position: relative;
    min-height: 165px;
    padding: 16px 17px 14px;
    overflow: hidden;
    transition: var(--transition);
}
.commission-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.commission-blue {
    border-color: #cfe7fc;
    background: linear-gradient(145deg, #fff 52%, #f5faff);
}
.commission-green {
    border-color: #ccefe4;
    background: linear-gradient(145deg, #fff 52%, #f3fcf8);
}
.commission-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.commission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 16px;
}
.commission-green .commission-icon {
    color: var(--secondary-color);
}
.mini-tag {
    padding: 5px 8px;
    border-radius: 6px;
    background: #eef7ff;
    color: #4487bc;
    font-size: 9px;
    font-weight: 700;
}
.commission-green .mini-tag {
    background: #edfaf5;
    color: #249e7c;
}
.commission-card h3 {
    margin: 12px 0 4px;
    color: #374651;
    font-size: 13px;
    font-weight: 700;
}
.commission-card p {
    margin: 0;
    color: #8a96a5;
    font-size: 10px;
}
.commission-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}
.commission-green .commission-link {
    color: #009e76;
}
.commission-link span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #eaf5ff;
}
.commission-green .commission-link span {
    background: #e7f9f2;
}
.performance-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 20px 15px;
}
.performance-metric {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 0 13px;
    border-right: 1px solid #edf1f6;
}
.performance-metric:first-child {
    padding-left: 3px;
}
.performance-metric:last-child {
    border: 0;
    padding-right: 0;
}
.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex: 0 0 auto;
    border-radius: 11px;
    font-size: 15px;
}
.metric-blue {
    color: var(--primary-color);
    background: #eaf5ff;
}
.metric-green {
    color: #00a77a;
    background: #e9faf4;
}
.metric-amber {
    color: #d58c2e;
    background: #fff6e9;
}
.metric-red {
    color: #e45862;
    background: #fff0f1;
}
.performance-metric div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}
.performance-metric div > span {
    overflow: hidden;
    color: #8692a0;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.performance-metric strong {
    color: #2d4152;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.2;
}
.performance-metric small {
    overflow: hidden;
    color: #9ba5b1;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.performance-metric small i {
    margin-right: 2px;
}
.metric-value-green {
    color: #00b887 !important;
}
.metric-value-amber {
    color: #e99f46 !important;
}
.metric-value-red {
    color: #ed666c !important;
}
.dashboard-side-column {
    gap: 17px;
}
.quick-actions-card {
    padding: 18px 17px 10px;
}
.compact-heading {
    align-items: center;
    margin-bottom: 13px;
}
.quick-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: #fff7e7;
    color: #d89b28;
}
.quick-action {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid #f0f3f7;
    background: transparent;
    text-align: left;
}
.quick-action:first-of-type {
    border-top: 0;
}
.quick-action > span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}
.quick-action strong {
    color: #435262;
    font-size: 10px;
    font-weight: 700;
}
.quick-action small {
    color: #9aa4b0;
    font-size: 9px;
}
.quick-action > i {
    color: #aeb8c3;
    font-size: 11px;
    transition: var(--transition);
}
.quick-action:hover > i {
    color: var(--primary-color);
    transform: translateX(3px);
}
.quick-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
    border-radius: 11px;
    font-size: 15px;
}
.qa-blue {
    color: var(--primary-color);
    background: #edf6ff;
}
.qa-green {
    color: #00a77a;
    background: #eafaf4;
}
.qa-purple {
    color: #8a64d6;
    background: #f3efff;
}
.goal-card {
    padding: 17px 17px 16px;
    background: linear-gradient(145deg, #fff, #f8fcff);
}
.goal-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.goal-overline {
    color: #9ba6b1;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.11em;
}
.goal-card h3 {
    margin: 5px 0 0;
    color: #3a4c5c;
    font-size: 13px;
    font-weight: 700;
}
.goal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff5e4;
    color: #d99a31;
    font-size: 15px;
}
.goal-value-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 18px;
}
.goal-value-row strong {
    color: var(--primary-color);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.06em;
}
.goal-value-row span {
    color: #8b98a6;
    font-size: 9px;
}
.goal-progress {
    height: 7px;
    margin-top: 7px;
    border-radius: 12px;
    background: #eaf0f6;
}
.goal-progress .progress-bar {
    border-radius: 12px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}
.goal-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    color: #8995a3;
    font-size: 9px;
}
.goal-foot strong {
    color: #5c6a79;
    font-size: 9px;
}
.support-promo {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-color: #e4eff9;
    background: linear-gradient(120deg, #f2f9ff, #f1fcf8);
}
.support-promo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #fff;
    color: var(--primary-color);
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(18, 120, 211, 0.07);
}
.support-promo strong {
    display: block;
    margin: 1px 0 4px;
    color: #405263;
    font-size: 10px;
}
.support-promo p {
    margin: 0 0 7px;
    color: #8492a1;
    font-size: 9px;
    line-height: 1.5;
}
.support-promo a {
    color: var(--primary-color);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}
.chart-section {
    margin-top: 25px;
}
.chart-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.chart-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7d8997;
    font-size: 10px;
}
.chart-legend i {
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: var(--secondary-color);
}
.chart-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    padding: 23px 22px 32px;
}
.chart-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 0 9px 3px;
}
.chart-summary > span {
    color: #8793a0;
    font-size: 10px;
}
.chart-summary > strong {
    margin: 7px 0 4px;
    color: #344757;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.06em;
}
.chart-summary > small {
    font-size: 9px;
}
.earnings-chart {
    display: flex;
    min-width: 0;
    height: 190px;
    padding-top: 5px;
}
.chart-y-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 12px 25px 0;
    color: #a1aab5;
    font-size: 8px;
}
.chart-plot {
    position: relative;
    flex: 1;
    min-width: 0;
}
.chart-gridline {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    border-top: 1px dashed #e9eef3;
}
.gridline-1 {
    top: 0;
}
.gridline-2 {
    top: 25%;
}
.gridline-3 {
    top: 50%;
}
.gridline-4 {
    top: 75%;
}
.chart-bars {
    position: absolute;
    inset: 0 0 0;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 10px;
}
.chart-bar-group {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 24px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.chart-bar-value {
    margin-bottom: 5px;
    color: #536170;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}
.chart-bar {
    width: min(46px, 62%);
    height: var(--bar-height);
    min-height: 12px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #24b78d, #007b61);
    box-shadow: 0 4px 8px rgba(0, 141, 104, 0.08);
    transition:
        height 0.4s ease,
        filter 0.2s ease;
}
.chart-bar-group:hover .chart-bar {
    filter: brightness(1.08);
}
.bar-1 {
    opacity: 0.35;
}
.bar-2,
.bar-3 {
    opacity: 0.52;
}
.bar-4 {
    opacity: 0.72;
}
.bar-5 {
    opacity: 0.86;
}
.chart-period-label {
    position: absolute;
    bottom: -22px;
    color: #9aa5b1;
    font-size: 8px;
    white-space: nowrap;
}
.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 27px;
    padding: 15px 0 0;
    border-top: 1px solid #e8edf3;
    color: #a0aab6;
    font-size: 9px;
}
.app-footer div {
    display: flex;
    align-items: center;
    gap: 18px;
}
.app-footer a {
    color: #8b98a7;
    text-decoration: none;
}
.app-footer a:hover {
    color: var(--primary-color);
}
.app-footer i {
    color: #f08a92;
    font-size: 8px;
}
.breadcrumb-line strong,
.section-heading h2,
.page-heading h1 {
    transition: color 0.2s ease;
}
.module-placeholder {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    border: 1px dashed #d6e3ef;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}
.module-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    border-radius: 17px;
    background: #edf6ff;
    color: var(--primary-color);
    font-size: 24px;
}
.module-placeholder h2 {
    margin: 0;
    color: #334455;
    font-size: 21px;
    font-weight: 700;
}
.module-placeholder p {
    max-width: 440px;
    margin: 9px 0 18px;
    color: #8492a1;
    font-size: 12px;
    line-height: 1.7;
}
.module-status {
    padding: 6px 10px;
    border-radius: 20px;
    background: #fff6e8;
    color: #b67a27;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.selling-modal-content {
    padding: 7px;
    border: 1px solid #e7edf4;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}
.selling-modal-content .modal-header {
    padding: 22px 22px 14px;
}
.modal-eyebrow {
    color: #8c9aab;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
}
.selling-modal-content .modal-title {
    margin-top: 7px;
    color: #2e4051;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.04em;
}
.modal-subtitle {
    margin: 5px 0 0;
    color: #8b97a5;
    font-size: 11px;
}
.selling-modal-content .modal-body {
    padding: 0 22px 22px;
}
.selling-option {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    text-align: left;
    transition: var(--transition);
}
.selling-option:hover {
    border-color: #b8d9f4;
    background: #f8fcff;
    transform: translateY(-1px);
}
.selling-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 12px;
    font-size: 17px;
}
.option-blue {
    color: var(--primary-color);
    background: #eaf5ff;
}
.option-green {
    color: #009e76;
    background: #e8faf4;
}
.selling-option > span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}
.selling-option strong {
    color: #3e4e5d;
    font-size: 12px;
}
.selling-option small {
    color: #8c98a5;
    font-size: 10px;
}
.selling-option > i {
    color: #9eabb8;
    font-size: 13px;
}
.sidebar-backdrop {
    display: none;
}


/* Commission Role Switch */

.commission-role-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    white-space: nowrap;
}

.commission-role-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-text-color);
    font-size: 10px;
    font-weight: 500;
    transition: .2s ease;
}

.commission-role-label.is-active {
    color: var(--primary-color);
    font-weight: 600;
}

.commission-role-label i {
    font-size: 19px;
    color: var(--primary-color);
}

.commission-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.commission-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.commission-toggle-track {
    position: absolute;
    inset: 0;
    background: #e5ebf3;
    border-radius: 50px;
    transition: .25s ease;
}

.commission-toggle-track::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    top: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: .25s ease;
}

.commission-toggle input:checked + .commission-toggle-track {
    background: #e1edf9;
}

.commission-toggle input:checked + .commission-toggle-track::before {
    transform: translateX(20px);
}

.commission-toggle input:focus-visible + .commission-toggle-track {
    outline: 3px solid rgba(18,120,211,.2);
    outline-offset: 3px;
}

@media(max-width: 768px) {
    .commission-role-switch {
        width: 100%;
        justify-content: space-between;
        order: -1;
    }
}
