/* ZELVOO Luxury Dark & Gold Styles */
:root {
    --bg-main: #0c0d12;
    --body-bg: #0c0d12;
    --card-bg: #15161f;
    --card-inner: #1a1c26;
    --border-color: #232533;
    --border-light: #2d3042;
    --btn-color: #facc15;
    --btn-hover: #eab308;
    --btn-text-color: #000000;
    --heading-color: #ffffff;
    --accent-color: #facc15;
    --text-primary: #ffffff;
    --text-muted: #8e93a6;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --sidebar-width: 240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--body-bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Responsive Desktop & Mobile Shell */
.user-layout-shell {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: var(--body-bg);
    position: relative;
}

/* Left Sidebar (Desktop Fixed, Mobile Slide-out Drawer) */
.user-sidebar {
    width: var(--sidebar-width);
    background: #111218;
    border-right: 1px solid #1f212b;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PC Desktop Collapsed / Hidden State */
body.sidebar-collapsed .user-sidebar {
    transform: translateX(-100%);
}

body.sidebar-collapsed .user-main-wrapper {
    margin-left: 0 !important;
}

.user-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.sidebar-header {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #1f212b;
}

.sidebar-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.35);
}

.sidebar-brand-name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1.25;
    text-transform: uppercase;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #8e93a6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.sidebar-nav-link i {
    width: 18px;
    font-size: 15px;
}

.sidebar-nav-link:hover {
    color: #ffffff;
    background: #181922;
}

.sidebar-nav-link.active {
    background: #181922;
    color: #facc15;
    border: 1px solid #facc15;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.12);
}

.sidebar-nav-link.logout-link {
    color: #ef4444 !important;
    margin-top: auto;
}

.sidebar-nav-link.logout-link:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Main Content Area */
.user-main-wrapper {
    flex: 1;
    min-width: 0;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navbar */
.user-topbar {
    height: 68px;
    background: #111218;
    border-bottom: 1px solid #1f212b;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-search-wrap {
    flex: 1;
    max-width: 360px;
    position: relative;
}

.topbar-search-input {
    width: 100%;
    background: #181922;
    border: 1px solid #272935;
    color: #ffffff;
    border-radius: 20px;
    padding: 9px 16px 9px 38px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}

.topbar-search-input:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.2);
}

.topbar-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8e93a6;
    font-size: 13px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-currency-badge {
    background: #181922;
    border: 1px solid #272935;
    color: #facc15;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-notif-btn {
    position: relative;
    background: #181922;
    border: 1px solid #272935;
    color: #facc15;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
}

.topbar-menu-dropdown {
    animation: topbarDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75) !important;
}

@keyframes topbarDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.topbar-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
}

.user-avatar-gold {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #facc15;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.user-pill-meta {
    line-height: 1.2;
}

.user-pill-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.user-pill-sub {
    font-size: 11px;
    color: #facc15;
}

.sidebar-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #181922;
    border: 1px solid #272935;
    color: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
    background: #232533;
    border-color: #facc15;
    color: #ffffff;
    transform: scale(1.05);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
}

/* App View Container */
.app-container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 24px;
    min-height: calc(100vh - 68px);
    position: relative;
    background: transparent;
}

/* Hero Banner Card (Matches Screenshot 3) */
.dash-hero-card {
    background: #171822;
    border: 1px solid #2a2c3a;
    border-radius: 18px;
    padding: 34px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dash-hero-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.dash-hero-title {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 8px;
}

.dash-hero-tagline {
    font-size: 14px;
    color: #facc15;
    font-weight: 600;
    margin-bottom: 22px;
}

.btn-hero-start {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #facc15;
    color: #000000 !important;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-hero-start:hover {
    background: #eab308;
    transform: translateY(-1px);
}

.dash-hero-img-wrap {
    flex: 1;
    max-width: 480px;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.dash-hero-img-wrap img {
    width: 100%;
    max-height: 190px;
    object-fit: contain;
}

/* 4 Stat Cards Grid (Matches Screenshot 3) */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.dash-stat-box {
    background: #171822;
    border: 1px solid #232533;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    transition: transform 0.2s, border-color 0.2s;
}

.dash-stat-box:hover {
    border-color: #3b3e52;
}

.stat-box-label {
    font-size: 12px;
    font-weight: 600;
    color: #8e93a6;
    margin-bottom: 6px;
}

.stat-box-val-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.stat-box-amount {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.stat-box-amount.gold {
    color: #facc15;
}

.stat-box-amount.green {
    color: #10b981;
}

.stat-box-amount.red {
    color: #ef4444;
}

.btn-stat-withdraw {
    background: #facc15;
    color: #000000;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-stat-withdraw:hover {
    background: #eab308;
}

/* Popular Tasks Section (Matches Screenshot 4) */
.dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.dash-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 6px;
}

.dash-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: #facc15;
    border-radius: 2px;
}

.dash-view-all {
    color: #facc15;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.dash-view-all:hover {
    opacity: 0.85;
}

.dash-tasks-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.task-card-item {
    background: #171822;
    border: 1px solid #232533;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.task-card-item:hover {
    border-color: #3b3e52;
    transform: translateY(-2px);
}

.task-card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #121319;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.task-card-price {
    font-size: 15px;
    font-weight: 800;
    color: #facc15;
    margin-bottom: 2px;
}

.task-card-category {
    font-size: 11px;
    color: #8e93a6;
    margin-bottom: 12px;
}

.btn-grab-order {
    width: 100%;
    background: #facc15;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 9px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
    margin-top: auto;
}

.btn-grab-order:hover {
    background: #eab308;
}

/* Profile View (Matches Screenshot 5) */
.profile-shell-container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-gold-banner {
    background: linear-gradient(135deg, #ca8a04, #854d0e, #1c1917);
    border-radius: 16px 16px 0 0;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.profile-gold-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(254, 240, 138, 0.25), transparent 60%);
}

.profile-user-header {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.profile-large-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #09090b;
    border: 2px solid #ffffff;
    color: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

.profile-meta-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.profile-partner-sub {
    font-size: 12px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.status-active-pill {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #34d399;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
}

/* ID Verification Alert Box */
.id-verify-card {
    background: #171822;
    border: 1px solid #262835;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0;
}

.id-verify-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.badge-pending {
    background: #fef3c7;
    color: #d97706;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
}

.btn-upload-id {
    width: 100%;
    background: #facc15;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 14px;
    transition: background 0.2s;
}

.btn-upload-id:hover {
    background: #eab308;
}

.my-tasks-card-gap {
    background: #171822;
    border: 1px solid #262835;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: border-color 0.2s;
}

.my-tasks-card-gap:hover {
    border-color: #facc15;
}

.my-tasks-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.my-tasks-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #facc15;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.profile-details-table {
    background: #171822;
    border: 1px solid #262835;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.detail-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #1f212b;
    font-size: 13px;
}

.detail-row-item:last-child {
    border-bottom: none;
}

.detail-row-item .label {
    color: #8e93a6;
    font-weight: 500;
}

.detail-row-item .val {
    color: #ffffff;
    font-weight: 700;
}

/* Floating Bottom Navigation for Mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #111218;
    border-top: 1px solid #1f212b;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 998;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #8e93a6;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-item i {
    font-size: 18px;
}

.nav-item.active {
    color: #facc15;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .dash-tasks-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .user-sidebar {
        transform: translateX(-100%);
    }
    .user-sidebar.open {
        transform: translateX(0);
    }
    .user-sidebar-backdrop.active {
        display: block;
    }
    .user-main-wrapper {
        margin-left: 0;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .dash-hero-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }
    .dash-hero-img-wrap {
        width: 100%;
        margin-top: 20px;
        justify-content: center;
    }
    .dash-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-tasks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .bottom-nav {
        display: none !important;
    }
    .app-container {
        padding-bottom: 40px !important;
    }
}

@media (max-width: 600px) {
    .dash-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .dash-stat-box {
        padding: 14px;
    }
    .stat-box-amount {
        font-size: 18px;
    }
    .dash-tasks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .topbar-search-wrap {
        display: none;
    }
}


/* Landing Header */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 30px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #14b8a6, #0da58a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 165, 138, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ffffff;
}

.btn-support-pill {
    background: #10b981;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600 !important;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

/* Landing Hero Grid */
.landing-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 860px) {
    .landing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .landing-hero-text {
        text-align: center;
    }
    .nav-links {
        display: none;
    }
}

.badge-hiring {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 165, 138, 0.15);
    border: 1px solid rgba(13, 165, 138, 0.3);
    color: #2dd4bf;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #2dd4bf;
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #2dd4bf, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 16px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 30px;
    max-width: 500px;
}

.feature-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* White Form Card (Login / Register) */
.auth-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px;
    color: #1e293b;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 14px;
    color: #64748b;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.input-box i, .input-box svg {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
}

.input-field {
    width: 100%;
    padding: 13px 14px 13px 44px;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    border-radius: 8px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.input-field:focus {
    background: #ffffff;
    border-color: var(--btn-color);
    box-shadow: 0 0 0 3px rgba(13, 165, 138, 0.15);
}

.btn-primary {
    width: 100%;
    background-color: var(--btn-color);
    color: var(--btn-text-color);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(13, 165, 138, 0.25);
    text-decoration: none;
}

.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 14px;
}

.auth-links a {
    color: var(--btn-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 24px 0 16px;
}

.auth-divider span {
    font-size: 12px;
    color: #94a3b8;
    background: #ffffff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.btn-whatsapp {
    width: 100%;
    border: 1px solid #10b981;
    color: #10b981;
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    background: rgba(16, 185, 129, 0.06);
}

.support-footer-note {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 10px;
}

/* App Header & Top Navigation (Mobile App Look) */
.user-top-hero {
    background: linear-gradient(135deg, var(--btn-color), #0891b2);
    color: #ffffff;
    padding: 20px 18px 50px 18px;
    border-radius: 0 0 24px 24px;
    position: relative;
}

.user-profile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-avatar-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.user-names {
    display: flex;
    flex-direction: column;
}

.user-names .name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.user-names .ref-badge {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.top-icons {
    display: flex;
    gap: 10px;
}

.icon-btn-round {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.icon-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
}

.assets-amount-box {
    margin-top: 10px;
}

.assets-amount-box .label {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.assets-amount-box .amount {
    font-size: 36px;
    font-weight: 800;
    margin-top: 4px;
    letter-spacing: -0.5px;
}

/* Floating Action Card (Recharge & Withdraw) */
.floating-actions-card {
    background: #ffffff;
    border-radius: 16px;
    margin: -32px 18px 16px 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.action-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.15s;
}

.action-col:hover {
    transform: translateY(-2px);
}

.action-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.action-icon-circle.recharge {
    background: #ecfdf5;
    color: #10b981;
}

.action-icon-circle.withdraw {
    background: #fff7ed;
    color: #f97316;
}

.action-divider-v {
    width: 1px;
    height: 36px;
    background: #f1f5f9;
}

/* Quick Support Grid */
.quick-services-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 18px;
    margin-bottom: 20px;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    text-align: center;
}

.service-card i, .service-card svg {
    font-size: 24px;
    color: var(--btn-color);
}

/* Hall of Fame Live Ticker */
.hall-of-fame-card {
    background: #ffffff;
    border-radius: 14px;
    margin: 0 18px 20px 18px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.section-head h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.live-badge {
    background: #fee2e2;
    color: #ef4444;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.fame-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    max-height: 200px;
}

.fame-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.fame-phone {
    color: #64748b;
    font-weight: 500;
}

.fame-action {
    color: #10b981;
    font-weight: 600;
}

/* Partners */
.partners-card {
    background: #ffffff;
    border-radius: 14px;
    margin: 0 18px 20px 18px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.partner-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    height: 54px;
}

.partner-logo-box img {
    max-height: 28px;
    max-width: 90%;
    object-fit: contain;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
    gap: 4px;
    transition: color 0.15s;
    width: 20%;
}

.nav-item i, .nav-item svg {
    font-size: 20px;
}

.nav-item.active {
    color: var(--btn-color);
    font-weight: 700;
}

/* Standard Header for Inner Pages */
.app-header {
    background: #111218;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1f212b;
    position: sticky;
    top: 0;
    z-index: 50;
}

.app-header h1 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    flex: 1;
}

.header-back {
    color: #facc15;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.header-right {
    width: 24px;
}

/* Order (Record) Page */
.order-progress-banner {
    background: #171822;
    border: 1px solid #232533;
    color: #ffffff;
    margin: 16px 0;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
}

.order-progress-banner .title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #8e93a6;
}

.order-progress-banner .count {
    font-size: 24px;
    font-weight: 800;
    color: #facc15;
}

.order-tabs-nav {
    display: flex;
    border-bottom: 1px solid #232533;
    margin-bottom: 16px;
}

.order-tab-link {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #8e93a6;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.order-tab-link.active {
    color: #facc15;
}

.order-tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #facc15;
    border-radius: 2px;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #8e93a6;
}

.empty-icon {
    font-size: 54px;
    margin-bottom: 12px;
    color: #2a2c3a;
}

/* Trade (Order Grab) Page */
.trade-card {
    background: #171822;
    border-radius: 16px;
    margin: 18px 0;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #232533;
}

.trade-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #232533;
}

.trade-balance-row .label {
    font-size: 14px;
    color: #8e93a6;
    font-weight: 600;
}

.trade-balance-row .val {
    font-size: 24px;
    font-weight: 800;
    color: #facc15;
}

.trade-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.trade-stat-box {
    background: #111218;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    border: 1px solid #232533;
}

.trade-stat-box .stat-label {
    font-size: 12px;
    color: #8e93a6;
    margin-bottom: 6px;
    font-weight: 600;
}

.trade-stat-box .stat-val {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.trade-stat-box .stat-val.profit {
    color: #10b981;
}

/* Matching Radar Animation */
.radar-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-circle-outer {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(250, 204, 21, 0.25);
    animation: radarRipple 3s infinite linear;
}

.radar-circle-mid {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1.5px solid rgba(250, 204, 21, 0.45);
    animation: radarRipple 3s infinite linear 1s;
}

.radar-center-btn {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: #111218;
    border: 2px solid #facc15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #facc15;
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.25);
    z-index: 5;
    gap: 4px;
}

.radar-center-btn i, .radar-center-btn svg {
    font-size: 30px;
}

.radar-center-btn span {
    font-size: 12px;
    font-weight: 700;
}

@keyframes radarRipple {
    0% { transform: scale(0.7); opacity: 1; }
    100% { transform: scale(1.15); opacity: 0; }
}

.btn-matching {
    width: 100%;
    background: #facc15;
    color: #000000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-matching:hover {
    background: #eab308;
}

.btn-matching:disabled {
    background: #2a2c3a;
    color: #8e93a6;
    cursor: not-allowed;
    box-shadow: none;
}

/* Modal Popup for Grabbed Order */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-box {
    background: #171822;
    border: 1px solid #2a2c3a;
    border-radius: 18px;
    width: 100%;
    max-width: 420px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    animation: modalPop 0.25s ease-out;
    color: #ffffff;
}

@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.grab-product-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin: 10px auto;
    border: 1px solid #232533;
    background: #111218;
}

.grab-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #232533;
}

.grab-detail-row.bold {
    font-weight: 700;
    font-size: 15px;
}

/* Team Page */
.team-stats-box {
    background: #171822;
    border: 1px solid #232533;
    color: #ffffff;
    margin: 16px 0;
    border-radius: 14px;
    padding: 20px;
}

.team-referral-input-group {
    background: #111218;
    border: 1px solid #232533;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.btn-copy-code {
    background: #facc15;
    color: #000000;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.team-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.team-tab-btn {
    padding: 8px 16px;
    border-radius: 20px;
    background: #171822;
    color: #8e93a6;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #232533;
    cursor: pointer;
    white-space: nowrap;
}

.team-tab-btn.active {
    background: #facc15;
    color: #000000;
    border-color: #facc15;
}

/* Alerts and Notifications */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #facc15;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

