/* =====================================
   THEME VARIABLES
===================================== */

:root {
    --page-bg: #f5f9ff;
    --navbar-bg: rgba(255, 255, 255, 0.97);
    --surface: #ffffff;
    --surface-soft: #f3f8ff;

    --main-text: #08244d;
    --muted-text: #72839f;

    --border: #dfe8f4;

    --green: #13b978;
    --blue: #1768e5;

    --status-bg: rgba(19, 185, 120, 0.13);
    --shadow: 0 14px 35px rgba(20, 60, 105, 0.08);
}

html[data-theme="dark"] {
    --page-bg: #0f1220;
    --navbar-bg: rgba(20, 22, 36, 0.98);
    --surface: #242635;
    --surface-soft: #1c2030;

    --main-text: #f5f7ff;
    --muted-text: #aeb8cc;

    --border: #363a4d;

    --green: #35c998;
    --blue: #6e72ff;

    --status-bg: rgba(53, 201, 152, 0.14);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}


/* =====================================
   RESET
===================================== */

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

html {
    scroll-behavior: smooth;
    background: var(--page-bg);
}

body {
    min-height: 100vh;
    font-family: "Inter", Arial, sans-serif;
    color: var(--main-text);
    background: var(--page-bg);
    transition:
        color 0.3s ease,
        background-color 0.3s ease;
}

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

button,
input {
    font: inherit;
}


.resource-link {
    gap: 7px;
}

.screener-link {
    position: relative;
}

.dashboard-new-badge {
    position: absolute;
    top: 13px;
    left: 50%;
    padding: 2px 6px;
    transform: translateX(-50%);
    border-radius: 20px;
    color: #fff;
    background: var(--blue);
    font-size: 8px;
    font-weight: 800;
}


.notification-count {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    border: 2px solid var(--surface);
    border-radius: 50%;
    color: #fff;
    background: #f04040;
    font-size: 9px;
    font-weight: 800;
}

.dashboard-hero {
    width: 100%;
    padding: 24px;
    background: var(--page-bg);
}

.hero-banner {
    width: 100%;
    min-height: 390px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23, 104, 229, .08);
    border-radius: 17px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.95), transparent 24%),
        linear-gradient(180deg, #d9efff 0%, #e9f7ff 58%, #d8f7ee 100%);
    box-shadow: 0 18px 48px rgba(24, 73, 125, .09);
}

html[data-theme="dark"] .hero-banner {
    border-color: var(--border);
    background:
        radial-gradient(circle at 80% 15%, rgba(76,131,224,.22), transparent 25%),
        linear-gradient(180deg, #162740 0%, #19364c 58%, #13413f 100%);
    box-shadow: var(--shadow);
}

/* =========================================
   USER PROFILE AVATAR
========================================= */


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

.orders-page {
    min-height: calc(100vh - 88px);
    background: var(--page-bg);
}


/* Orders heading */

.orders-header {
    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(19, 185, 120, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(23, 104, 229, 0.08),
            transparent 28%
        ),
        var(--surface);
}

.orders-header-inner {
    width: min(1400px, 88%);
    min-height: 190px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.orders-label {
    margin-bottom: 10px;

    color: var(--green);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.orders-header h1 {
    color: var(--main-text);

    font-size: clamp(31px, 3vw, 43px);
    line-height: 1.15;
}

.orders-subtitle {
    margin-top: 13px;

    color: var(--muted-text);

    font-size: 16px;
    line-height: 1.6;
}


/* Main content */

.orders-content {
    min-height: calc(100vh - 278px);
    padding: 45px 0 120px;
}

.orders-container {
    width: min(1400px, 88%);
    min-height: 480px;
    margin: 0 auto;

    position: relative;
}


/* Order table */

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

.orders-table {
    width: 100%;
    min-width: 950px;

    border-collapse: collapse;

    color: var(--main-text);
}

.orders-table thead {
    border-bottom: 1px solid var(--border);
}

.orders-table th {
    padding: 19px 17px;

    color: var(--muted-text);

    text-align: left;
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}

.orders-table th:first-child {
    padding-left: 0;
}

.orders-table td {
    padding: 19px 17px;

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

    font-size: 14px;
}

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

.orders-table tbody tr:hover {
    background: var(--surface-soft);
}


/* =====================================
   EMPTY ORDERS
===================================== */

.orders-empty-state {
    width: 100%;
    min-height: 420px;
    padding: 60px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.orders-empty-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(23, 104, 229, 0.2);
    border-radius: 22px;

    color: var(--blue);
    background: rgba(23, 104, 229, 0.08);

    font-size: 28px;
}

.orders-empty-state h2 {
    color: var(--main-text);

    font-size: 20px;
    font-weight: 650;
}

.orders-empty-state p {
    max-width: 440px;
    margin: 12px 0 27px;

    color: var(--muted-text);

    font-size: 14px;
    line-height: 1.7;
}

.orders-invest-btn {
    min-width: 155px;
    min-height: 54px;
    padding: 0 23px;

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

    border-radius: 14px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--blue),
        var(--green)
    );

    box-shadow: 0 14px 35px rgba(23, 104, 229, 0.2);

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

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.orders-invest-btn:hover {
    transform: translateY(-3px);

    box-shadow: 0 18px 40px rgba(19, 185, 120, 0.22);
}

.orders-invest-btn i {
    transition: transform 0.25s ease;
}

.orders-invest-btn:hover i {
    transform: translateX(4px);
}


/* =====================================
   FLOATING REWARD BUTTON
===================================== */

.orders-reward-btn {
    min-width: 155px;
    height: 55px;
    padding: 0 19px;

    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 900;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 2px solid var(--blue);
    border-radius: 18px;

    color: #182239;
    background: #ffffff;

    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);

    cursor: pointer;
    font-size: 16px;

    transition: transform 0.25s ease;
}

.orders-reward-btn:hover {
    transform: translateY(-4px);
}

.orders-reward-btn strong {
    font-size: 18px;
}

.reward-coin {
    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #ffffff;
    background: linear-gradient(
        135deg,
        #ffca38,
        #ff9f1a
    );

    font-size: 11px;
}


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


@media (max-width: 960px) {

    .mobile-menu-btn {
        display: grid;
    }

    

    

    

    

    

    .dashboard-new-badge {
        top: 4px;
        right: auto;
        left: 85px;
    }

    
}


@media (max-width: 700px) {

    

    

    

    

    .orders-header-inner {
        width: calc(100% - 36px);
        min-height: 170px;
    }

    .orders-header h1 {
        font-size: 30px;
    }

    .orders-subtitle {
        font-size: 14px;
    }

    .orders-container {
        width: calc(100% - 36px);
    }

    .orders-content {
        padding-top: 30px;
    }

    .orders-empty-state {
        min-height: 370px;
        padding-inline: 10px;
    }

    .orders-empty-state h2 {
        font-size: 18px;
    }

    .orders-reward-btn {
        min-width: auto;
        height: 49px;

        right: 16px;
        bottom: 16px;

        padding: 0 15px;

        font-size: 14px;
    }

    .orders-reward-btn strong {
        font-size: 16px;
    }
}


@media (max-width: 480px) {

    

    .orders-empty-icon {
        width: 61px;
        height: 61px;

        border-radius: 18px;

        font-size: 23px;
    }
}
/* =========================================================
   WPV ORDERS — HIIVE-INSPIRED PREMIUM THEME
========================================================= */

:root {
    --page-bg: #f4f1e8;
    --navbar-bg: #174f5c;
    --surface: #fffdf8;
    --surface-soft: #ece8df;
    --main-text: #26383d;
    --muted-text: #707977;
    --border: #d8ddd6;
    --green: #5b9d70;
    --blue: #2f7d8e;
    --accent: #f45f63;
    --accent-hover: #df4e53;
    --shadow: 0 16px 38px rgba(24, 65, 72, 0.10);
}

html[data-theme="dark"] {
    --page-bg: #101c20;
    --navbar-bg: #103842;
    --surface: #18323a;
    --surface-soft: #214049;
    --main-text: #f7f5ee;
    --muted-text: #b6c1bf;
    --border: rgba(255,255,255,.12);
    --green: #87c99a;
    --blue: #6eb6c6;
    --accent: #ff7478;
    --accent-hover: #ff6267;
    --shadow: 0 20px 48px rgba(0,0,0,.28);
}

html, body {
    background: var(--page-bg) !important;
}

body {
    font-family: "Inter", Arial, sans-serif !important;
}

/* NAVBAR */


/* ORDERS HEADER */

.orders-page {
    min-height: calc(100vh - 88px) !important;
    background: var(--page-bg) !important;
}

.orders-header {
    border-bottom: 1px solid var(--border) !important;
    background:
        radial-gradient(circle at 14% 18%, rgba(244,95,99,.08), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(23,79,92,.08), transparent 30%),
        var(--surface) !important;
}

html[data-theme="dark"] .orders-header {
    background:
        radial-gradient(circle at 14% 18%, rgba(255,116,120,.08), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(110,182,198,.08), transparent 30%),
        var(--surface) !important;
}

.orders-header-inner {
    width: min(1400px, 86%) !important;
    min-height: 230px !important;
}

.orders-label {
    color: var(--accent) !important;
    letter-spacing: 2.2px !important;
}

.orders-header h1 {
    color: var(--main-text) !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(44px, 5vw, 68px) !important;
    line-height: 1.04 !important;
    font-weight: 500 !important;
    letter-spacing: -1.4px !important;
}

.orders-subtitle {
    margin-top: 16px !important;
    color: var(--muted-text) !important;
    font-size: 17px !important;
}

/* CONTENT */

.orders-content {
    min-height: calc(100vh - 318px) !important;
    padding: 52px 0 120px !important;
    background: var(--page-bg) !important;
}

.orders-container {
    width: min(1400px, 86%) !important;
    min-height: 470px !important;
    padding: 26px 30px !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    background: var(--surface) !important;
    box-shadow: none !important;
}

.orders-table {
    color: var(--main-text) !important;
}

.orders-table thead,
.orders-table td {
    border-color: var(--border) !important;
}

.orders-table th {
    color: var(--muted-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.orders-table tbody tr:hover {
    background: rgba(23,79,92,.035) !important;
}

html[data-theme="dark"] .orders-table tbody tr:hover {
    background: rgba(255,255,255,.025) !important;
}

/* EMPTY STATE */

.orders-empty-state {
    min-height: 390px !important;
}

.orders-empty-icon {
    width: 76px !important;
    height: 76px !important;
    margin-bottom: 24px !important;
    border: 1px solid rgba(244,95,99,.24) !important;
    border-radius: 50% !important;
    color: var(--accent) !important;
    background: rgba(244,95,99,.09) !important;
}

.orders-empty-state h2 {
    color: var(--main-text) !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 30px !important;
    font-weight: 600 !important;
}

.orders-empty-state p {
    max-width: 470px !important;
    margin: 15px 0 30px !important;
    color: var(--muted-text) !important;
    font-size: 15px !important;
}

.orders-invest-btn {
    min-width: 164px !important;
    min-height: 56px !important;
    padding: 0 25px !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--accent) !important;
    box-shadow: none !important;
}

.orders-invest-btn:hover {
    transform: translateY(-3px) !important;
    background: var(--accent-hover) !important;
    box-shadow: 0 14px 30px rgba(244,95,99,.22) !important;
}

/* RESPONSIVE */


@media (max-width: 1180px) {
    

    

    

    .orders-header-inner,
    .orders-container {
        width: 92% !important;
    }
}

@media (max-width: 700px) {
    .orders-header-inner {
        width: calc(100% - 36px) !important;
        min-height: 190px !important;
    }

    .orders-header h1 {
        font-size: 43px !important;
    }

    .orders-container {
        width: calc(100% - 36px) !important;
        padding: 18px !important;
    }

    .orders-empty-state h2 {
        font-size: 26px !important;
    }
}

@media (max-width: 480px) {
    .orders-header h1 {
        font-size: 37px !important;
    }

    .orders-empty-icon {
        width: 64px !important;
        height: 64px !important;
    }

    .orders-empty-state h2 {
        font-size: 23px !important;
    }
}
