/* =========================================================
   NIMCO TOOLS — LUXURY ADMIN CONTROL CENTER
========================================================= */

:root {

    --adm-bg: #07100d;
    --adm-card: rgba(255,255,255,.055);
    --adm-card-strong: rgba(255,255,255,.075);

    --adm-border: rgba(255,255,255,.105);
    --adm-border-soft: rgba(255,255,255,.065);

    --adm-text: #f7faf8;
    --adm-secondary: #aebbb5;
    --adm-muted: #718079;

    --adm-green: #00e887;
    --adm-blue: #65a9ff;
    --adm-purple: #a88cff;
    --adm-orange: #ffb45e;
    --adm-cyan: #55d9d0;
    --adm-red: #ff7180;

}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 15% -10%,
            rgba(0,232,135,.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 100% 15%,
            rgba(101,169,255,.08),
            transparent 30%
        ),
        var(--adm-bg);
}


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

.admin-page {

    width: min(100%, 1280px);

    margin: 0 auto;

    padding:
        24px
        18px
        130px;

}


/* =========================================================
   ADMIN DASHBOARD — MAIN HERO
========================================================= */

.admin-hero {
    position: relative;
    overflow: hidden;

    padding: 26px;

    border: 1px solid #21483c;
    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #102b23,
            #0d241d 48%,
            #091c17
        );

    box-shadow:
        0 18px 50px rgba(0,0,0,.32),
        inset 0 1px 0 rgba(113,255,196,.08);
}


/* subtle corner highlight */

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

    position: absolute;

    top: -45px;
    right: -45px;

    width: 150px;
    height: 150px;

    background:
        rgba(0,232,135,.055);

    transform:
        rotate(35deg);

    pointer-events: none;
}


/* subtle angled highlight */

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

    position: absolute;

    top: 0;
    right: 20%;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(113,255,196,.08),
            transparent
        );

    transform:
        rotate(18deg);

    pointer-events: none;
}


.admin-hero-content {
    position: relative;
    z-index: 2;
}


/* =========================================================
   EYEBROW
========================================================= */

.admin-eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    color: #00e887;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.admin-live-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #00e887;

    box-shadow:
        0 0 7px rgba(0,232,135,.45);
}


/* =========================================================
   TITLE
========================================================= */

.admin-hero h1 {
    margin-top: 10px;

    color: #f5fffa;

    font-size:
        clamp(29px, 7vw, 43px);

    line-height: 1;

    letter-spacing: -1.5px;

    font-weight: 650;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.admin-hero p {
    max-width: 620px;

    margin-top: 11px;

    color: #8ea59d;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   BOTTOM AREA
========================================================= */

.admin-hero-bottom {
    position: relative;
    z-index: 2;

    display: flex;

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

    gap: 15px;

    margin-top: 22px;
    padding-top: 16px;

    border-top:
        1px solid #1c4035;
}


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

.admin-user {
    display: flex;

    align-items: center;

    gap: 10px;
}

.admin-avatar {
    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color: #00e887;

    background:
        #102c23;

    border:
        1px solid #285344;
}

.admin-avatar svg {
    width: 18px;
    height: 18px;
}

.admin-user-name {
    color: #f4fffa;

    font-size: 10px;

    font-weight: 700;
}

.admin-user-role {
    margin-top: 3px;

    color: #718b81;

    font-size: 7px;

    letter-spacing: .8px;

    text-transform: uppercase;
}


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

.admin-system-pill {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 11px;

    border:
        1px solid #285344;

    border-radius: 10px;

    color: #91a89f;

    background:
        #102a22;

    font-size: 8px;

    font-weight: 700;
}

.admin-system-pill span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #00e887;

    box-shadow:
        0 0 7px rgba(0,232,135,.45);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .admin-hero {
        padding: 20px;

        border-radius: 20px;
    }

    .admin-hero h1 {
        font-size: 31px;
    }

    .admin-hero-bottom {
        align-items: flex-start;

        flex-direction: column;
    }

    .admin-system-pill {
        width: 100%;

        justify-content: center;
    }
}


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

.admin-section {

    margin-top: 29px;

}

.admin-section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 13px;

}

.admin-section-title {

    color: #fff;

    font-size: 17px;

    font-weight: 750;

    letter-spacing: -.5px;

}

.admin-section-description {

    margin-top: 4px;

    color:
        var(--adm-muted);

    font-size: 9px;

}


/* =========================================================
   FINANCE HERO
========================================================= */

.finance-grid {

    display: grid;

    grid-template-columns:
        1.45fr
        .85fr
        .85fr;

    gap: 12px;

}

.finance-card {

    position: relative;

    overflow: hidden;

    min-height: 150px;

    padding: 19px;

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

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );

    box-shadow:
        0 18px 50px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.035);

}

.finance-card::after {

    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    right: -70px;
    bottom: -75px;

    border-radius: 50%;

    background:
        var(--accent);

    opacity: .10;

    filter: blur(28px);

}

.finance-card.revenue {

    --accent:
        var(--adm-green);

}

.finance-card.users {

    --accent:
        var(--adm-blue);

}

.finance-card.coins {

    --accent:
        var(--adm-purple);

}

.finance-card-label {

    display: flex;

    align-items: center;

    justify-content: space-between;

    color:
        var(--adm-muted);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

}

.finance-icon {

    width: 33px;
    height: 33px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    color:
        var(--accent);

    background:
        color-mix(
            in srgb,
            var(--accent) 9%,
            transparent
        );

    border:
        1px solid
        color-mix(
            in srgb,
            var(--accent) 20%,
            transparent
        );

}

.finance-icon svg {

    width: 16px;
    height: 16px;

}

.finance-value {

    margin-top: 18px;

    color:
        #fff;

    font-size:
        clamp(25px, 5vw, 37px);

    line-height: 1;

    letter-spacing: -1.5px;

    font-weight: 760;

}

.finance-sub {

    margin-top: 9px;

    color:
        #899790;

    font-size: 8.5px;

}

.finance-sub strong {

    color:
        var(--accent);

}


/* =========================================================
   PERIOD REVENUE
========================================================= */

.period-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

}

.period-card {

    position: relative;

    padding: 16px;

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

    border-radius: 17px;

    background:
        rgba(255,255,255,.045);

    box-shadow:
        0 12px 34px rgba(0,0,0,.18);

}

.period-label {

    color:
        var(--adm-muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .9px;

    text-transform: uppercase;

}

.period-value {

    margin-top: 11px;

    color:
        #fff;

    font-size: 18px;

    font-weight: 750;

    letter-spacing: -.5px;

}

.period-meta {

    margin-top: 5px;

    color:
        #78857f;

    font-size: 7.5px;

}

.period-card.today {
    border-top:
        2px solid
        var(--adm-green);
}

.period-card.week {
    border-top:
        2px solid
        var(--adm-blue);
}

.period-card.month {
    border-top:
        2px solid
        var(--adm-purple);
}

.period-card.year {
    border-top:
        2px solid
        var(--adm-orange);
}


/* =========================================================
   METRIC ROW
========================================================= */

.metric-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

}

.metric {

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 14px;

    border:
        1px solid
        var(--adm-border-soft);

    border-radius: 15px;

    background:
        rgba(255,255,255,.035);

}

.metric-icon {

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;

    place-items: center;

    border-radius: 10px;

}

.metric-icon svg {

    width: 16px;
    height: 16px;

}

.metric:nth-child(1) .metric-icon {

    color:
        var(--adm-cyan);

    background:
        rgba(85,217,208,.08);

}

.metric:nth-child(2) .metric-icon {

    color:
        var(--adm-orange);

    background:
        rgba(255,180,94,.08);

}

.metric:nth-child(3) .metric-icon {

    color:
        var(--adm-purple);

    background:
        rgba(168,140,255,.08);

}

.metric-label {

    color:
        var(--adm-muted);

    font-size: 7.5px;

    text-transform: uppercase;

    letter-spacing: .7px;

}

.metric-value {

    margin-top: 3px;

    color:
        #fff;

    font-size: 15px;

    font-weight: 750;

}


/* =========================================================
   ANALYTICS
========================================================= */

.analytics-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        .8fr;

    gap: 12px;

}

.analytics-card {

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

    border-radius: 20px;

    background:
        rgba(255,255,255,.045);

    box-shadow:
        0 16px 45px rgba(0,0,0,.22);

    overflow: hidden;

}

.analytics-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        16px
        18px;

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

}

.analytics-title {

    color:
        #fff;

    font-size: 11px;

    font-weight: 750;

}

.analytics-caption {

    color:
        var(--adm-muted);

    font-size: 7.5px;

}

.revenue-filter {

    appearance: auto;

    width: auto;

    min-width: 92px;
    max-width: 115px;

    height: 28px;

    padding:
        0
        7px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 8px;

    color:
        #aebbb5;

    background:
        rgba(255,255,255,.045);

    font-family: inherit;

    font-size: 7.5px;

    font-weight: 700;

    cursor: pointer;

    outline: none;

    flex: 0 0 auto;

}


.revenue-filter:hover,
.revenue-filter:focus {

    border-color:
        rgba(0,232,135,.30);

    background:
        rgba(0,232,135,.055);

}


.revenue-filter option {

    color: #111;

    background: #fff;

}

.custom-range-box {

    position: absolute;

    top: 48px;
    right: 10px;

    z-index: 50;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 7px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 10px;

    background:
        #101815;

    box-shadow:
        0 15px 35px rgba(0,0,0,.40);

}


.custom-range-box input {

    width: 92px;

    height: 27px;

    padding:
        0
        6px;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 7px;

    outline: none;

    color: #aebbb5;

    background:
        rgba(255,255,255,.05);

    font-family: inherit;

    font-size: 7px;

}


.custom-range-box span {

    color:
        #66736d;

    font-size: 7px;

}


.custom-range-box button {

    height: 27px;

    padding:
        0
        9px;

    border: 0;

    border-radius: 7px;

    color:
        #07110d;

    background:
        #00e887;

    font-family: inherit;

    font-size: 7px;

    font-weight: 800;

    cursor: pointer;

}


.custom-range-box button:hover {

    filter: brightness(1.08);

}

.chart {

    height: 205px;

    display: flex;

    align-items: flex-end;

    gap: 8px;

    padding:
        24px
        20px
        20px;

    overflow-x: auto;

    overflow-y: hidden;

    scrollbar-width: thin;

}

   

.chart-bar {

    flex: 1;

    min-width: 8px;

    height: var(--height);

    border-radius:
        7px
        7px
        3px
        3px;

    background:
        linear-gradient(
            to top,
            rgba(0,232,135,.22),
            rgba(0,232,135,.88)
        );

    box-shadow:
        0 0 18px rgba(0,232,135,.07);

}

.chart-labels {

    display: flex;

    gap: 8px;

    padding:
        0
        20px
        15px;

    overflow-x: auto;

    scrollbar-width: thin;

}

.chart-labels span {

    flex: 1;

    text-align: center;

    color:
        #66736d;

    font-size: 7px;

}


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

.activity-list {

    padding:
        3px
        18px
        8px;

}

.activity {

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        12px
        0;

    border-bottom:
        1px solid
        rgba(255,255,255,.045);

}

.activity:last-child {

    border-bottom: 0;

}

.activity-icon {

    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    color:
        var(--adm-green);

    background:
        rgba(0,232,135,.065);

}

.activity-icon svg {

    width: 14px;
    height: 14px;

}

.activity-info {

    min-width: 0;

    flex: 1;

}

.activity-title {

    overflow: hidden;

    color:
        #dce5e0;

    font-size: 8.5px;

    font-weight: 650;

    white-space: nowrap;

    text-overflow: ellipsis;

}

.activity-time {

    margin-top: 3px;

    color:
        #66736d;

    font-size: 7px;

}

.activity-amount {

    color:
        var(--adm-green);

    font-size: 9px;

    font-weight: 750;

    white-space: nowrap;

}


/* =========================================================
   MANAGEMENT
========================================================= */

.management-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

}

.management-card {

    position: relative;

    min-height: 105px;

    padding: 15px;

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

    border-radius: 17px;

    background:
        rgba(255,255,255,.042);

    text-decoration: none;

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

}

.management-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(255,255,255,.18);

    background:
        rgba(255,255,255,.065);

}

.management-icon {

    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    margin-bottom: 11px;

}

.management-icon svg {

    width: 17px;
    height: 17px;

}

.management-card:nth-child(1) .management-icon {

    color:
        var(--adm-green);

    background:
        rgba(0,232,135,.08);

}

.management-card:nth-child(2) .management-icon {

    color:
        var(--adm-blue);

    background:
        rgba(101,169,255,.08);

}

.management-card:nth-child(3) .management-icon {

    color:
        var(--adm-purple);

    background:
        rgba(168,140,255,.08);

}

.management-card:nth-child(4) .management-icon {

    color:
        var(--adm-orange);

    background:
        rgba(255,180,94,.08);

}


/* Announcements icon — cyan */
.management-card:nth-child(5) .management-icon {
    color: var(--adm-cyan);
    background: rgba(85,217,208,.09);
    border: 1px solid rgba(85,217,208,.16);
}

/* Email Orders icon — pink-red */
.management-card:nth-child(6) .management-icon {
    color: var(--adm-red);
    background: rgba(255,113,128,.09);
    border: 1px solid rgba(255,113,128,.16);
}


.management-card h3 {

    color:
        #fff;

    font-size: 10px;

    font-weight: 750;

}

.management-card p {

    margin-top: 4px;

    color:
        #7c8983;

    font-size: 7.5px;

    line-height: 1.45;

}

/* =========================================================
   SYSTEM — STATUS CARD
========================================================= */

.system-card {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

}


/* =========================================================
   SYSTEM ITEM
========================================================= */

.system-item {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

    min-height: 64px;

    padding:
        14px
        16px;

    overflow: hidden;

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

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.025)
        );

    box-shadow:
        0 12px 35px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.035);

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

}


.system-item::after {

    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -55px;
    bottom: -60px;

    border-radius: 50%;

    background:
        var(--adm-green);

    opacity: .07;

    filter: blur(22px);

    pointer-events: none;

}


.system-item:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(0,232,135,.18);

    background:
        linear-gradient(
            135deg,
            rgba(0,232,135,.055),
            rgba(255,255,255,.035)
        );

}


/* =========================================================
   SYSTEM NAME
========================================================= */

.system-name {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 8px;

    min-width: 0;

    color:
        #d7e0dc;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .15px;

}


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

.system-dot {

    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background:
        var(--adm-green);

    box-shadow:
        0 0 7px var(--adm-green),
        0 0 14px rgba(0,232,135,.35);

}


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

.system-state {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 64px;

    padding:
        6px
        9px;

    border:
        1px solid
        rgba(0,232,135,.14);

    border-radius: 8px;

    color:
        var(--adm-green);

    background:
        rgba(0,232,135,.055);

    font-size: 7.5px;

    font-weight: 800;

    letter-spacing: .45px;

    text-transform: uppercase;

    white-space: nowrap;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .system-card {

        grid-template-columns:
            1fr;

        gap: 8px;

    }

    .system-item {

        min-height: 58px;

        padding:
            13px
            14px;

    }

}

/* =========================================================
   LOADING
========================================================= */

.admin-loading {

    min-height: 75vh;

    display: grid;

    place-items: center;

}

.admin-loader {

    text-align: center;

}

.admin-loader-ring {

    width: 38px;
    height: 38px;

    margin: auto;

    border:
        2px solid
        rgba(0,232,135,.12);

    border-top-color:
        var(--adm-green);

    border-radius: 50%;

    animation:
        adminSpin .8s linear infinite;

}

@keyframes adminSpin {

    to {
        transform: rotate(360deg);
    }

}

.admin-loader-text {

    margin-top: 12px;

    color:
        #75827c;

    font-size: 8px;

}


/* =========================================================
   ACCESS DENIED
========================================================= */

.admin-denied {

    width: min(100% - 30px, 450px);

    margin:
        100px auto;

    padding: 28px;

    text-align: center;

    border:
        1px solid
        rgba(255,113,128,.2);

    border-radius: 22px;

    background:
        rgba(255,113,128,.045);

}

.admin-denied h1 {

    color:
        #fff;

    font-size: 20px;

}

.admin-denied p {

    margin-top: 8px;

    color:
        #8d9993;

    font-size: 9px;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .finance-grid {

        grid-template-columns:
            1fr 1fr;

    }

    .finance-card.revenue {

        grid-column:
            1 / -1;

    }

    .analytics-grid {

        grid-template-columns: 1fr;

    }

    .management-grid {

        grid-template-columns:
            1fr 1fr;

    }

}

@media (max-width: 620px) {

    .admin-page {

        padding:
            18px
            13px
            120px;

    }

    .admin-hero {

        padding: 20px;

        border-radius: 22px;

    }

    .admin-hero h1 {

        font-size: 31px;

    }

    .admin-hero-bottom {

        align-items: flex-start;

        flex-direction: column;

    }

    .admin-system-pill {

        width: 100%;

        justify-content: center;

    }

    .finance-grid {

        grid-template-columns:
            1fr 1fr;

    }

    .finance-card {

        min-height: 130px;

        padding: 14px;

    }

    .finance-value {

        font-size: 22px;

    }

    .period-grid {

        grid-template-columns:
            1fr 1fr;

    }

    .metric-grid {

        grid-template-columns:
            1fr;

    }

    .management-grid {

        grid-template-columns:
            1fr 1fr;

    }

    .system-card {

        grid-template-columns:
            1fr;

    }

}

@media (max-width: 370px) {

    .finance-grid {

        grid-template-columns:
            1fr;

    }

    .finance-card.revenue {

        grid-column:
            auto;

    }

    .management-grid {

        grid-template-columns:
            1fr;

    }

}


/* =========================================================
   TOAST
========================================================= */

.admin-toast {

    position: fixed;

    left: 50%;

    bottom: 90px;

    z-index: 10000;

    width:
        min(
            calc(100% - 30px),
            390px
        );

    padding:
        12px
        14px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 12px;

    color:
        #edf5f1;

    background:
        rgba(7,14,11,.97);

    box-shadow:
        0 20px 60px rgba(0,0,0,.45);

    font-size: 9px;

    text-align: center;

    opacity: 0;

    visibility: hidden;

    transform:
        translate(-50%, 10px);

    transition:
        .2s ease;

}

.admin-toast.show {

    opacity: 1;

    visibility: visible;

    transform:
        translate(-50%, 0);

}


/* =========================================================
   INLINE APP INSTALL PROMPT
========================================================= */

.admin-install-inline[hidden] {
    display: none !important;
}

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

    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 7px 10px;

    border: 1px solid #285344;
    border-radius: 10px;

    background: #102a22;
    box-sizing: border-box;
}

.admin-install-logo {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    object-fit: contain;
    border-radius: 7px;
}

.admin-install-message {
    flex: 1;
    min-width: 0;

    color: #a9c2b7;
    font-size: 9px;
    line-height: 1.4;
}

.admin-install-action {
    flex: 0 0 auto;

    padding: 9px 13px;
    border: 0;
    border-radius: 8px;

    background: #00e887;
    color: #07100d;

    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;

    cursor: pointer;
}

.admin-install-action:active {
    opacity: .8;
}

@media (max-width: 370px) {
    .admin-install-inline {
        gap: 7px;
        padding: 7px;
    }

    .admin-install-logo {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .admin-install-message {
        font-size: 8px;
    }

    .admin-install-action {
        padding: 8px 10px;
        font-size: 9px;
    }
}


/* =========================================================
   COMPACT FINANCIAL CARDS
========================================================= */

.finance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.finance-card.revenue {
    grid-column: 1 / -1;
}

.finance-card {
    min-width: 0;
    min-height: 108px;
    padding: 12px;
    border-radius: 15px;
}

.finance-card.users {
    --accent: var(--adm-blue);
}

.finance-card.coins {
    --accent: var(--adm-purple);
}

.finance-card.opay {
    --accent: var(--adm-cyan);
}

.finance-card-label {
    gap: 5px;
    font-size: 9px;
    letter-spacing: .4px;
}

.finance-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 8px;
}

.finance-icon svg {
    width: 14px;
    height: 14px;
}

.finance-value {
    margin-top: 12px;
    font-size: clamp(17px, 2.8vw, 28px);
    letter-spacing: -.7px;
    overflow-wrap: anywhere;
}

.finance-sub {
    margin-top: 7px;
    font-size: 8px;
    line-height: 1.4;
}

@media (max-width: 620px) {
    .finance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .finance-card {
        min-height: 100px;
        padding: 9px;
        border-radius: 12px;
    }

    .finance-card-label {
        font-size: 8px;
        letter-spacing: 0;
    }

    .finance-icon {
        width: 23px;
        height: 23px;
        flex-basis: 23px;
    }

    .finance-icon svg {
        width: 12px;
        height: 12px;
    }

    .finance-value {
        margin-top: 12px;
        font-size: clamp(15px, 4vw, 22px);
        letter-spacing: -.5px;
    }
}

@media (max-width: 370px) {
    .finance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .finance-card {
        padding: 7px;
    }

    .finance-card-label {
        font-size: 7px;
    }

    .finance-value {
        font-size: 14px;
    }
}

