* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(117, 83, 255, 0.12),
            transparent 30%
        ),
        #080d18;

    color: #e9ecf5;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
}


a {
    color: inherit;
}


button,
input,
select {
    font-family: inherit;
}


button {
    cursor: pointer;
}


/* =====================================================
   AQUA ADMIN CONTROL CENTER
===================================================== */

.admin-page {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 20% 0%, rgba(136, 96, 255, 0.14), transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(79, 150, 255, 0.12), transparent 25%),
        linear-gradient(135deg, #050c16 0%, #0b1724 32%, #09151f 100%);
    color: #edf5ff;
}

.admin-page::before,
.admin-page::after {
    position: fixed;
    left: -8%;
    width: 116%;
    height: 210px;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(90, 145, 255, 0.12), transparent 70%);
    border-top: 1px solid rgba(137, 162, 255, 0.25);
    border-radius: 48% 52% 0 0;
    transform: rotate(-3deg);
}

.admin-page::before {
    bottom: -110px;
}

.admin-page::after {
    bottom: -150px;
    opacity: 0.8;
    transform: rotate(4deg);
}

.admin-container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.admin-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 30px;
}

.admin-header h1 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: -1px;
    color: #f6fbff;
    text-shadow: 0 10px 30px rgba(102, 152, 255, 0.15);
}

.admin-header > div:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.admin-header .eyebrow {
    display: inline-block;
    color: #90d3ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.admin-page .secondary-button {
    background: linear-gradient(180deg, #15263d, #0d1b2a);
    border: 1px solid rgba(130, 162, 255, 0.25);
    color: #eff7ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-page .secondary-button:hover {
    background: linear-gradient(180deg, #1a3350, #122233);
    color: white;
    transform: translateY(-1px);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.admin-page .stat-card,
.admin-panel {
    background: linear-gradient(145deg, rgba(20, 35, 54, 0.9), rgba(8, 17, 29, 0.96));
    border: 1px solid rgba(122, 158, 255, 0.2);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-radius: 15px;
}

.admin-page .stat-card {
    padding: 18px 20px;
    color: #eff7ff;
}

.admin-page .stat-card.purple {
    background: linear-gradient(145deg, rgba(84, 122, 255, 0.2), rgba(18, 34, 66, 0.95));
}

.admin-panel {
    margin-bottom: 20px;
    overflow: hidden;
    padding: 22px 22px 16px;
}

.admin-panel h2 {
    margin: 0 0 18px;
    font-size: clamp(22px, 2vw, 30px);
    color: #eef9ff;
}

.admin-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.admin-filter input,
.admin-filter select {
    min-width: 190px;
    padding: 11px 13px;
    color: #edf5ff;
    background: rgba(7, 16, 29, 0.76);
    border: 1px solid rgba(128, 163, 255, 0.22);
    border-radius: 8px;
}

.admin-filter input::placeholder {
    color: rgba(218, 233, 245, 0.7);
}

.admin-pagination {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding-top: 18px;
}

.admin-pagination a {
    color: #8bc8ff;
}

.admin-page .admin-control-grid > div {
    background: linear-gradient(135deg, rgba(81, 133, 255, 0.12), rgba(18, 32, 49, 0.82));
    border: 1px solid rgba(128, 162, 255, 0.2);
    border-radius: 10px;
}

.admin-page table th {
    color: #9acbff;
}

@keyframes admin-wave {
    from {
        margin-left: -3%;
        border-radius: 42% 58% 0 0;
    }
    to {
        margin-left: 3%;
        border-radius: 58% 42% 0 0;
    }
}

.wheel-panel {
    text-align: center;
    position: relative;
}

.spin-wheel {
    width: 280px;
    height: 280px;
    margin: 24px auto 30px;
    border: 12px solid #18243a;
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center;
    background: conic-gradient(
        #7c4dff 0deg 60deg,
        #21d4a8 60deg 120deg,
        #ffb547 120deg 180deg,
        #ec5b9f 180deg 240deg,
        #4d8cff 240deg 300deg,
        #f06c50 300deg 360deg
    );
    box-shadow: 0 0 40px rgba(124,77,255,.35);
    transition: transform 4.2s cubic-bezier(.12,.78,.18,1);
    overflow: hidden;
}

.spin-wheel::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.32);
}

.spin-wheel::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(255,255,255,.5);
    border-radius: 50%;
}

.wheel-center {
    width: 92px;
    height: 92px;
    z-index: 1;
    display: grid;
    place-items: center;
    border: 8px solid #263652;
    border-radius: 50%;
    background: #101a2b;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
    letter-spacing: .08em;
}

.wheel-pointer {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffcf57;
    font-size: 25px;
    filter: drop-shadow(0 2px 5px #000);
}

.spin-wheel.spinning {
    transform: rotate(2520deg) scale(1.03);
}

.primary-button:disabled {
    opacity: .7;
    cursor: wait;
}

@media (max-width: 700px) {
    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-header > div:last-child {
        justify-content: flex-start;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   SIDEBAR
===================================================== */

.sidebar {

    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: 235px;

    padding: 28px 16px;

    background:
        linear-gradient(
            180deg,
            #0d1422,
            #090f1a
        );

    border-right:
        1px solid #243149;

    z-index: 50;
}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 42px;

    padding: 0 10px;
}


.brand-icon {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #7553ff,
            #b47cff
        );

    color: white;

    font-size: 20px;

    box-shadow:
        0 8px 30px
        rgba(117, 83, 255, 0.3);
}


.brand strong {

    display: block;

    font-size: 17px;
}


.brand span {

    display: block;

    margin-top: 3px;

    color: #8f79df;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 2px;
}


.sidebar-nav {

    display: grid;

    gap: 6px;
}


.sidebar-nav a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 13px;

    border-radius: 10px;

    color: #9ca7ba;

    text-decoration: none;

    transition: 0.2s;
}


.sidebar-nav a span {

    width: 20px;

    text-align: center;

    color: #9c7cff;

    font-size: 16px;
}


.sidebar-nav a:hover {

    background: #171f30;

    color: white;

    transform: translateX(2px);
}


.logout {

    position: absolute;

    left: 16px;
    right: 16px;
    bottom: 25px;

    display: block;

    padding: 12px;

    border-radius: 10px;

    color: #9ca7ba;

    text-align: center;

    text-decoration: none;
}


.logout:hover {

    background: #171f30;

    color: white;
}


/* =====================================================
   MAIN
===================================================== */

.main-content {

    min-height: 100vh;

    margin-left: 235px;
}


.topbar {

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 32px;

    border-bottom:
        1px solid #243149;

    background:
        rgba(8, 13, 24, 0.78);

    backdrop-filter: blur(15px);

    position: sticky;

    top: 0;

    z-index: 40;
}


.topbar-title {

    color: #727f96;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


.user-area {

    display: flex;

    align-items: center;

    gap: 10px;
}


.user-area strong {

    display: block;

    font-size: 13px;
}


.user-area small {

    display: block;

    color: #737f93;

    font-size: 10px;

    margin-top: 3px;
}


.user-avatar {

    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #7351ff,
            #a876ff
        );

    font-weight: 800;
}


.page-content {

    width: 100%;

    max-width: 1250px;

    margin: auto;

    padding: 35px;
}


/* =====================================================
   TEXT
===================================================== */

.page-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 28px;
}


.page-heading h1 {

    margin: 7px 0;

    font-size: 32px;

    line-height: 1.1;

    letter-spacing: -1px;
}


.page-heading p {

    margin: 0;

    color: #7f8ba0;

    line-height: 1.7;
}


.eyebrow {

    color: #9a7bff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =====================================================
   BUTTONS
===================================================== */

.primary-button,
.secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 42px;

    padding: 10px 18px;

    border-radius: 9px;

    border: 0;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition: 0.2s;
}


.primary-button {

    background:
        linear-gradient(
            135deg,
            #7553ff,
            #a46eff
        );

    color: white;

    box-shadow:
        0 9px 25px
        rgba(117, 83, 255, 0.22);
}


.primary-button:hover {

    transform: translateY(-1px);

    box-shadow:
        0 13px 30px
        rgba(117, 83, 255, 0.32);
}


.secondary-button {

    background: #182234;

    border:
        1px solid #32415b;

    color: #d6dbea;
}


.secondary-button:hover {

    background: #202b40;

    color: white;
}


.primary-button.full {

    width: 100%;
}


/* =====================================================
   FLASH
===================================================== */

.flash {

    padding: 13px 16px;

    border-radius: 10px;

    margin-bottom: 18px;

    border: 1px solid transparent;
}


.flash.success {

    background: rgba(29, 150, 108, 0.12);

    border-color:
        rgba(50, 203, 152, 0.25);

    color: #70e4bd;
}


.flash.error {

    background: rgba(220, 64, 84, 0.12);

    border-color:
        rgba(220, 64, 84, 0.25);

    color: #ff9da9;
}


/* =====================================================
   STATS
===================================================== */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

    margin-bottom: 18px;
}


.stat-card {

    padding: 22px;

    background:
        linear-gradient(
            145deg,
            #111a29,
            #0e1726
        );

    border:
        1px solid #28364e;

    border-radius: 15px;
}


.stat-card.purple {

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(125, 83, 255, 0.23),
            transparent 45%
        ),
        #111a29;
}


.stat-icon {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    margin-bottom: 16px;

    border-radius: 10px;

    background: #1b2639;

    color: #a27dff;

    font-size: 17px;
}


.stat-card span {

    display: block;

    color: #8792a7;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.stat-card strong {

    display: block;

    margin-top: 8px;

    font-size: 25px;
}


/* =====================================================
   PANELS
===================================================== */

.dashboard-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin-bottom: 18px;
}


.premium-panel {

    padding: 26px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(117, 83, 255, 0.16),
            transparent 45%
        ),
        #111a29;

    border:
        1px solid #28364f;

    border-radius: 16px;

    margin-bottom: 16px;
}


.premium-panel h2 {

    margin: 10px 0;

    font-size: 22px;
}


.premium-panel p {

    color: #8995a9;

    line-height: 1.7;

    margin-bottom: 20px;
}


.quick-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.quick-card {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 18px;

    background: #111a29;

    border:
        1px solid #28364f;

    border-radius: 13px;

    text-decoration: none;

    transition: 0.2s;
}


.quick-card:hover {

    transform: translateY(-2px);

    border-color: #55458b;
}


.quick-card > span {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: #1c2639;

    color: #a27cff;
}


.quick-card strong,
.quick-card small {

    display: block;
}


.quick-card small {

    color: #737f94;

    margin-top: 4px;
}


/* =====================================================
   PACKAGES
===================================================== */

.package-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}


.package-card {

    padding: 22px;

    background:
        linear-gradient(
            145deg,
            #111a29,
            #0d1625
        );

    border:
        1px solid #293750;

    border-radius: 15px;

    transition: 0.2s;
}


.package-card:hover {

    transform: translateY(-3px);

    border-color: #594991;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.2);
}


.package-top {

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.package-badge {

    padding: 5px 8px;

    border-radius: 5px;

    background:
        rgba(145, 106, 255, 0.13);

    color: #a98cff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.spin-badge {

    background:
        rgba(181, 109, 255, 0.13);

    color: #c58aff;
}


.package-icon {

    color: #a27cff;

    font-size: 22px;
}


.package-card h2 {

    margin: 20px 0 8px;

    font-size: 20px;
}


.package-price {

    margin-bottom: 20px;

    font-size: 34px;

    font-weight: 900;
}


.package-price span {

    color: #8d78ce;

    font-size: 16px;
}


.package-info {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}


.package-info div {

    padding: 11px;

    background: #172133;

    border-radius: 8px;
}


.package-info span {

    display: block;

    color: #727e93;

    font-size: 9px;

    text-transform: uppercase;
}


.package-info strong {

    display: block;

    margin-top: 5px;

    font-size: 13px;
}


.package-divider {

    height: 1px;

    background: #29364e;

    margin: 18px 0;
}


.package-note {

    color: #79869a;

    font-size: 11px;

    line-height: 1.5;
}


/* =====================================================
   SURVEYS
===================================================== */

.balance-banner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 24px;

    margin-bottom: 18px;

    border:
        1px solid #293750;

    border-radius: 14px;

    background: #111a29;
}


.purple-banner {

    background:
        radial-gradient(
            circle at 90% 0,
            rgba(117, 83, 255, 0.22),
            transparent 45%
        ),
        #111a29;
}


.balance-banner span {

    display: block;

    color: #7d899e;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1.3px;
}


.balance-banner strong {

    display: block;

    margin-top: 5px;

    font-size: 23px;
}


.banner-note {

    text-align: right;
}


.banner-note small {

    display: block;

    color: #6f7b8f;

    margin-top: 5px;
}


.survey-card {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 19px;

    margin-bottom: 12px;

    background: #111a29;

    border:
        1px solid #293750;

    border-radius: 14px;
}


.survey-icon {

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        rgba(117, 83, 255, 0.12);

    color: #a17cff;

    font-size: 18px;
}


.survey-main {

    flex: 1;
}


.survey-main h2 {

    margin: 5px 0;

    font-size: 17px;
}


.survey-main p {

    color: #79869a;

    margin: 0 0 9px;

    line-height: 1.5;
}


.survey-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    color: #778399;

    font-size: 10px;
}


.survey-reward {

    text-align: right;
}


.survey-reward span {

    display: block;

    color: #78849a;

    font-size: 9px;
}


.survey-reward strong {

    display: block;

    margin-top: 5px;

    color: #72e4bc;

    font-size: 18px;
}


.section-title {

    margin: 30px 0 12px;
}


.section-title h2 {

    margin: 0;

    font-size: 18px;
}


.history-card {

    background: #111a29;

    border:
        1px solid #293750;

    border-radius: 14px;

    overflow: hidden;
}


.history-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 16px 18px;

    border-bottom:
        1px solid #26334a;
}


.history-row:last-child {

    border-bottom: 0;
}


.history-left {

    display: flex;

    align-items: center;

    gap: 12px;
}


.history-icon {

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background: #19263a;

    color: #8e70ff;
}


.history-row strong {

    display: block;
}


.history-row small {

    display: block;

    color: #6f7b8e;

    margin-top: 4px;

    font-size: 10px;
}


.history-reward,
.green-text {

    color: #70dfb8;

    font-weight: 800;
}


/* =====================================================
   FORMS
===================================================== */

.form {

    display: grid;

    gap: 3px;
}


.form label,
.auth-form label {

    margin-top: 8px;

    color: #9ca7ba;

    font-size: 11px;
}


input,
select {

    width: 100%;

    padding: 12px;

    margin: 4px 0 8px;

    color: white;

    background: #0c1523;

    border:
        1px solid #30405b;

    border-radius: 9px;

    outline: none;
}


input:focus,
select:focus {

    border-color: #7656e7;

    box-shadow:
        0 0 0 3px
        rgba(117, 83, 255, 0.09);
}


.two-column {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}


/* =====================================================
   SUPPORT
===================================================== */

.support-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}


.support-card {

    padding: 25px;

    background: #111a29;

    border:
        1px solid #293750;

    border-radius: 15px;
}


.support-icon {

    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    margin-bottom: 18px;

    border-radius: 11px;

    background: #1b263a;

    color: #a27cff;

    font-size: 19px;
}


.support-card h2 {

    font-size: 18px;

    margin: 0 0 8px;
}


.support-card p {

    color: #7d899d;

    line-height: 1.6;

    margin-bottom: 18px;
}


/* =====================================================
   SPIN NAVIGATION
===================================================== */

.spin-navigation {

    display: flex;

    gap: 7px;

    flex-wrap: wrap;

    margin-bottom: 18px;
}


.spin-navigation a {

    padding: 9px 12px;

    background: #111a29;

    border:
        1px solid #2a3750;

    border-radius: 8px;

    color: #8c97aa;

    font-size: 11px;

    text-decoration: none;

    transition: 0.2s;
}


.spin-navigation a:hover {

    color: white;

    border-color: #7657d8;

    background: #171f31;
}


/* =====================================================
   PROGRESS
===================================================== */

.progress-area {

    margin: 22px 0;
}


.progress-label {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 8px;

    color: #8591a5;

    font-size: 11px;
}


.progress-label strong {

    color: #dce0e9;
}


.progress-bar {

    width: 100%;

    height: 8px;

    overflow: hidden;

    border-radius: 20px;

    background: #202c40;
}


.progress-fill {

    height: 100%;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #7050ff,
            #b075ff
        );
}


.large-progress {

    max-width: 650px;

    margin: 25px 0;
}


.package-detail-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin: 22px 0;
}


.package-detail-grid div {

    padding: 14px;

    background: #172134;

    border-radius: 9px;
}


.package-detail-grid span {

    display: block;

    color: #758197;

    font-size: 9px;

    text-transform: uppercase;
}


.package-detail-grid strong {

    display: block;

    margin-top: 5px;
}


/* =====================================================
   RESULT
===================================================== */

.result-screen {

    max-width: 650px;

    margin: 70px auto;

    padding: 50px 30px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(117, 83, 255, 0.22),
            transparent 50%
        ),
        #111a29;

    border:
        1px solid #3b3161;

    border-radius: 20px;
}


.success-circle {

    width: 65px;
    height: 65px;

    display: grid;

    place-items: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background:
        rgba(56, 201, 149, 0.13);

    color: #70e1b9;

    font-size: 27px;
}


.result-screen h1 {

    margin: 10px 0;

    font-size: 30px;
}


.reward-amount {

    margin: 25px 0;

    color: #a47dff;

    font-size: 48px;

    font-weight: 900;
}


.result-screen p {

    color: #7d899e;

    line-height: 1.6;
}


.result-actions {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 25px;
}


/* =====================================================
   EMPTY
===================================================== */

.empty-state {

    padding: 55px 25px;

    text-align: center;

    background: #111a29;

    border:
        1px solid #293750;

    border-radius: 15px;
}


.empty-state.small {

    padding: 35px;
}


.empty-icon {

    width: 50px;
    height: 50px;

    display: grid;

    place-items: center;

    margin: 0 auto 15px;

    border-radius: 13px;

    background: #19253a;

    color: #9b7cff;

    font-size: 21px;
}


.empty-state h2 {

    margin: 8px 0;

    font-size: 20px;
}


.empty-state p {

    color: #788499;

    margin-bottom: 20px;
}


.empty-small {

    padding: 30px;

    color: #707c90;

    text-align: center;
}


/* =====================================================
   STATUS
===================================================== */

.status {

    display: inline-block;

    padding: 5px 8px;

    border-radius: 6px;

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;
}


.status.approved,
.status.credited {

    background:
        rgba(52, 204, 151, 0.12);

    color: #67dbb1;
}


.status.pending {

    background:
        rgba(255, 190, 80, 0.12);

    color: #e7bb70;
}


.status.rejected {

    background:
        rgba(230, 70, 88, 0.12);

    color: #f07e8d;
}


/* =====================================================
   AUTH
===================================================== */

.auth-page {

    min-height: 100vh;

    display: grid;

    place-items: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(117, 83, 255, 0.18),
            transparent 45%
        ),
        #080d18;
}


.auth-container {

    width: 100%;

    max-width: 390px;

    padding: 35px;

    background: #111a29;

    border:
        1px solid #293750;

    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 30px 70px
        rgba(0, 0, 0, 0.25);
}


.auth-logo {

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    margin: 0 auto 15px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #7553ff,
            #b27bff
        );

    font-size: 25px;
}


.auth-container h1 {

    margin: 0 0 8px;

    font-size: 28px;
}


.auth-form {

    margin-top: 28px;

    text-align: left;
}


.auth-footer {

    color: #79859a;

    margin-top: 20px;
}


.auth-footer a {

    color: #a17cff;

    text-decoration: none;
}


.demo-login {

    margin-top: 18px;

    padding: 10px;

    border-radius: 8px;

    background: #172235;

    color: #727f94;

    font-size: 10px;
}


/* =====================================================
   ADMIN
===================================================== */

.admin-page {

    min-height: 100vh;

    padding: 35px;

    background: #080d18;
}


.admin-container {

    max-width: 1300px;

    margin: auto;
}


.admin-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;
}


.admin-header h1 {

    margin: 8px 0 0;

    font-size: 30px;
}


.admin-stats {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

    margin-bottom: 18px;
}


.admin-panel {

    margin-bottom: 18px;

    padding: 22px;

    background: #111a29;

    border:
        1px solid #293750;

    border-radius: 15px;
}


.admin-panel h2 {

    margin: 0 0 18px;

    font-size: 18px;
}


.table-wrapper {

    overflow-x: auto;
}


table {

    width: 100%;

    border-collapse: collapse;

    min-width: 700px;
}


th,
td {

    padding: 13px;

    border-bottom:
        1px solid #28354c;

    text-align: left;

    color: #a8b1c1;

    font-size: 11px;
}


th {

    color: #747f94;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.action-buttons {

    display: flex;

    gap: 6px;
}


.small-button {

    padding: 7px 9px;

    border: 0;

    border-radius: 6px;

    color: white;

    font-size: 9px;

    font-weight: 700;

    cursor: pointer;
}


.small-button.approve {

    background: #176a50;
}


.small-button.reject {

    background: #76263a;
}


.admin-control-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}


.admin-control-grid div {

    padding: 15px;

    background: #172235;

    border-radius: 9px;
}


.admin-control-grid strong {

    display: block;
}


.admin-control-grid span {

    display: block;

    margin-top: 5px;

    color: #727f94;

    font-size: 10px;
}


/* =====================================================
   STEPS
===================================================== */

.steps-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.step-card {

    position: relative;

    padding: 23px;

    background: #111a29;

    border:
        1px solid #293750;

    border-radius: 15px;
}


.step-number {

    position: absolute;

    top: 15px;

    right: 15px;

    color: #424e63;

    font-size: 10px;

    font-weight: 900;
}


.step-icon {

    display: block;

    margin-bottom: 25px;

    color: #a27cff;

    font-size: 23px;
}


.step-card h2 {

    margin: 0 0 9px;

    font-size: 17px;
}


.step-card p {

    margin: 0;

    color: #788499;

    line-height: 1.6;

    font-size: 12px;
}


.notice-panel {

    margin-top: 18px;

    padding: 20px;

    background:
        rgba(117, 83, 255, 0.08);

    border:
        1px solid
        rgba(117, 83, 255, 0.25);

    border-radius: 13px;
}


.notice-panel strong {

    color: #a27cff;
}


.notice-panel p {

    margin-bottom: 0;

    color: #8995a9;

    line-height: 1.7;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .package-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .steps-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .support-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 850px) {

    .sidebar {

        width: 72px;

        padding:
            20px 10px;
    }


    .brand {

        justify-content: center;

        padding: 0;
    }


    .brand > div:last-child {

        display: none;
    }


    .sidebar-nav a {

        justify-content: center;

        font-size: 0;

        padding: 13px;
    }


    .sidebar-nav a span {

        font-size: 18px;
    }


    .logout {

        font-size: 0;
    }


    .logout::before {

        content: "⇥";

        font-size: 18px;
    }


    .main-content {

        margin-left: 72px;
    }


    .dashboard-grid,
    .two-column {

        grid-template-columns:
            1fr;
    }


    .package-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .quick-grid {

        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .page-content {

        padding: 20px 15px;
    }


    .topbar {

        padding: 0 15px;
    }


    .topbar-title {

        display: none;
    }


    .page-heading {

        display: block;
    }


    .page-heading h1 {

        font-size: 27px;
    }


    .stats-grid {

        grid-template-columns:
            1fr;
    }


    .package-grid {

        grid-template-columns:
            1fr;
    }


    .support-grid {

        grid-template-columns:
            1fr;
    }


    .steps-grid {

        grid-template-columns:
            1fr;
    }


    .admin-stats {

        grid-template-columns:
            1fr;
    }


    .admin-control-grid {

        grid-template-columns:
            1fr;
    }


    .balance-banner {

        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .banner-note {

        text-align: left;
    }


    .survey-card {

        align-items: flex-start;

        flex-wrap: wrap;
    }


    .survey-main {

        min-width: 200px;
    }


    .survey-reward {

        text-align: left;
    }


    .package-detail-grid {

        grid-template-columns:
            1fr;
    }


    .result-actions {

        flex-direction: column;
    }


    .result-screen {

        margin: 25px auto;

        padding: 35px 20px;
    }

}

@media (max-width: 1100px) {
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .balance-card { grid-column: span 2; }
    .dashboard-columns { grid-template-columns: 1fr 1fr; }
    .package-preview { grid-column: span 2; }
}

@media (max-width: 700px) {
    .dashboard-welcome { align-items: flex-start; flex-direction: column; }
    .dashboard-welcome h1 { font-size: 24px; }
    .dashboard-stats, .dashboard-columns { grid-template-columns: 1fr; }
    .balance-card, .package-preview { grid-column: auto; }
    .mini-packages { grid-template-columns: repeat(2, 1fr); }
    .dashboard-notice { align-items: flex-start; flex-direction: column; gap: 5px; }
    .dashboard-footer-links { gap: 10px; }
}

/* Dashboard overview */
.dashboard-welcome { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:22px; }
.dashboard-welcome h1 { margin:8px 0 5px; font-size:30px; }
.dashboard-welcome p { margin:0; color:#8e9bb3; }
.dashboard-help { color:#b9c3d5; text-decoration:none; display:flex; gap:8px; align-items:center; }
.dashboard-help:first-letter { border:1px solid #657187; border-radius:50%; padding:0 5px; }
.dashboard-stats { display:grid; grid-template-columns:2fr repeat(4, 1fr); gap:12px; margin-bottom:14px; }
.balance-card, .dashboard-stat-card, .dashboard-panel { border:1px solid rgba(106,126,166,.28); background:linear-gradient(145deg,rgba(20,32,57,.95),rgba(12,21,39,.98)); border-radius:12px; box-shadow:0 14px 35px rgba(0,0,0,.16); }
.balance-card { padding:20px; background:linear-gradient(125deg,#096fc8,#6330db 78%); }
.balance-columns { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:16px 0; border-top:1px solid rgba(255,255,255,.18); padding-top:14px; }
.balance-columns small { color:#d7e6ff; line-height:1.45; font-size:10px; }
.balance-columns strong { display:block; font-size:24px; margin-top:4px; }
.balance-actions { display:flex; gap:8px; }
.light-button, .outline-light-button { flex:1; text-align:center; text-decoration:none; padding:9px 8px; border-radius:6px; font-weight:700; font-size:12px; }
.light-button { background:#fff; color:#1d2b50; }.outline-light-button { border:1px solid rgba(255,255,255,.55); color:#fff; }
.dashboard-stat-card { padding:16px 13px; text-decoration:none; color:#fff; min-width:0; }
.dashboard-stat-card small { display:block; color:#abb6c9; font-size:10px; min-height:28px; }.dashboard-stat-card strong { display:block; font-size:21px; margin:7px 0 12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.dashboard-stat-card em { color:#6bc8ff; font-size:10px; font-style:normal; }.dashboard-stat-card.green em { color:#52d994; }.dashboard-stat-card.orange em { color:#ffc155; }.dashboard-stat-card.violet em { color:#c783ff; }
.dashboard-stat-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; margin-bottom:13px; background:#1dba70; box-shadow:0 0 20px rgba(29,186,112,.35); font-weight:800; }.blue .dashboard-stat-icon { background:#3e75ed; box-shadow:0 0 20px rgba(62,117,237,.35); }.orange .dashboard-stat-icon { background:#ed8b25; }.violet .dashboard-stat-icon { background:#9951dc; }
.dashboard-notice { display:flex; align-items:center; gap:16px; padding:13px 18px; margin-bottom:14px; border:1px solid #5e4318; border-radius:9px; background:linear-gradient(90deg,rgba(18,27,44,.95),rgba(17,31,50,.7)); color:#d8dfeb; font-size:12px; }.dashboard-notice strong { color:#ffc43e; white-space:nowrap; }
.dashboard-columns { display:grid; grid-template-columns:1.35fr 1fr 1fr; gap:12px; }.dashboard-panel { padding:15px; min-width:0; }.panel-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:14px; }.panel-heading h2 { font-size:15px; margin:0 0 4px; }.panel-heading p { color:#8491a7; font-size:10px; margin:0; }.panel-heading a { color:#73a7ff; font-size:10px; text-decoration:none; white-space:nowrap; }.mini-packages { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }.mini-package { display:flex; flex-direction:column; gap:4px; padding:10px 8px; border:1px solid #2c3952; border-radius:8px; color:#fff; text-decoration:none; background:#172237; }.mini-package.active { border-color:#8750f4; box-shadow:inset 0 0 0 1px #8750f4; }.mini-package-icon { width:27px; height:27px; display:grid; place-items:center; border-radius:50%; background:#2d65d8; color:#fff; }.mini-package strong { font-size:11px; }.mini-package b { font-size:15px; }.mini-package small { color:#8795ab; font-size:9px; }.mini-package > span:last-child { margin-top:4px; border:1px solid #435371; border-radius:4px; padding:4px; text-align:center; font-size:9px; color:#c6d1e2; }.survey-number { color:#b177ff; font-size:10px; }.survey-question { padding:18px 0; border-top:1px solid #293751; border-bottom:1px solid #293751; margin-bottom:15px; }.survey-question strong { font-size:14px; }.survey-question p { color:#9da9bc; font-size:11px; line-height:1.5; }.transaction-row { display:flex; align-items:center; gap:9px; padding:10px 0; border-bottom:1px solid #26334a; }.transaction-row:last-child { border-bottom:0; }.transaction-row > div { min-width:0; flex:1; }.transaction-row strong, .transaction-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.transaction-row strong { font-size:11px; }.transaction-row small { color:#7e8ba1; font-size:9px; margin-top:3px; }.transaction-row b { color:#49d98b; font-size:11px; }.transaction-row b.negative { color:#f07885; }.transaction-icon { display:grid; place-items:center; width:25px; height:25px; border-radius:7px; background:rgba(46,206,132,.16); color:#4be092; }.empty-state { color:#8996aa; font-size:12px; }.dashboard-footer-links { display:flex; gap:18px; flex-wrap:wrap; padding:11px 14px; margin-top:14px; border-radius:8px; background:#141f34; color:#8592a9; font-size:10px; }.dashboard-footer-links span:first-child { color:#77adff; }