/* =============================================
   Mind Box - Premium Fintech UI Stylesheet
   Deep Purple / Indigo Theme (matching screenshots)
   ============================================= */

:root {
    --primary: #5B4AFF;
    --primary-light: #6C5CE7;
    --primary-dark: #4338CA;
    --primary-deeper: #3730A3;
    --accent: #00d4aa;
    --accent-light: #00f5c8;
    --accent-dark: #00b894;
    --bg-body: #f5f6fa;
    --bg-card: #ffffff;
    --bg-dark: #1a1340;
    --text-primary: #1e2243;
    --text-secondary: #5a6178;
    --text-muted: #8892a6;
    --text-white: #ffffff;
    --border: #e4e7f0;
    --border-light: #f1f3f9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --sidebar-active-bg: #fff8ed;
    --sidebar-active-text: #5B4AFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 12px 40px rgba(0,0,0,0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   FLASH MESSAGES
   ============================================= */
.flash-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    animation: slideDown 0.4s ease, fadeOut 0.4s ease 4s forwards;
    width: 90%;
    max-width: 480px;
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.flash-success .flash-content {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.flash-error .flash-content {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.flash-info .flash-content {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    margin-left: auto;
    font-size: 14px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.btn:active {
    transform: scale(0.97);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(91, 74, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(91, 74, 255, 0.4);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #0a2e26;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    font-weight: 700;
}

.btn-accent:hover {
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.35);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
}

.btn-danger {
    background: var(--danger);
    color: var(--text-white);
}

.btn-success {
    background: var(--success);
    color: var(--text-white);
}

.btn-warning {
    background: var(--warning);
    color: #1e2243;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* =============================================
   NAVBAR (Landing) - Deep Purple Bar
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary);
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-white);
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFC107;
    font-size: 15px;
}

.brand-icon-sm {
    width: 28px;
    height: 28px;
    background: rgba(91, 74, 255, 0.12);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 13px;
}

.navbar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.navbar-login-link {
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
}

.navbar-login-link:hover {
    opacity: 0.85;
}

.navbar-signup-btn {
    background: rgba(255,255,255,0.15);
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.35);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.navbar-signup-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

/* Hamburger for mobile menu */
.navbar-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.navbar-hamburger:hover {
    background: rgba(255,255,255,0.1);
}

/* =============================================
   MOBILE SLIDE MENU (Landing)
   ============================================= */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-card);
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.show {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.mobile-menu-brand .brand-icon {
    background: rgba(91, 74, 255, 0.1);
    color: var(--primary);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
}

.mobile-menu-close:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

.mobile-menu-nav {
    flex: 1;
    padding: 12px 0;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-menu-nav a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
}

.mobile-menu-nav a:hover {
    background: var(--bg-body);
    color: var(--primary);
}

.mobile-menu-nav a:hover i {
    color: var(--primary);
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 20px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 50%, #7C6FFF 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108,92,231,0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
    color: #FFC107;
}

.hero p {
    font-size: clamp(15px, 3vw, 18px);
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 48px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #FFC107;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
}

.trust-badge i {
    color: #FFC107;
    font-size: 14px;
}

/* =============================================
   HOW IT WORKS SECTION
   ============================================= */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-dark .section-title {
    color: var(--text-white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* =============================================
   POPULAR TASKS
   ============================================= */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.task-type-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.task-type-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.task-type-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
}

.task-type-icon.facebook { background: #e8f0fe; color: #1877f2; }
.task-type-icon.youtube { background: #fce4e4; color: #ff0000; }
.task-type-icon.video { background: #e8f5e9; color: #10b981; }
.task-type-icon.like { background: #fff3e0; color: #f59e0b; }

.task-type-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.task-type-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* =============================================
   AUTH FORMS
   ============================================= */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.5s ease;
}

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

.auth-header .brand-icon {
    margin: 0 auto 16px;
    width: 48px;
    height: 48px;
    font-size: 20px;
    background: rgba(91, 74, 255, 0.1);
    color: var(--primary);
}

.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(91, 74, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .form-control {
    padding-left: 44px;
}

.input-icon-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--primary-dark);
}

/* =============================================
   DASHBOARD TOPBAR (White bar with hamburger)
   ============================================= */
.dash-topbar {
    position: fixed;
    top: 0;
    left: 272px;
    right: 0;
    z-index: 1000;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0;
    height: 56px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: left 0.3s ease;
}

.dash-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 24px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-toggle {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--bg-body);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--border);
    color: var(--primary);
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 17px;
    color: var(--text-primary);
}

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

.topbar-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.topbar-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-body);
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition);
}

.topbar-icon:hover {
    background: var(--border);
    color: var(--primary);
}

.topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid var(--border);
}

.topbar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dropdown */
.dropdown-toggle {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-body);
}

.dropdown-menu .text-danger {
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

/* =============================================
   DASHBOARD SIDEBAR (Desktop: persistent, Mobile: slide-out)
   ============================================= */
.dash-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: none;
}

.dash-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.dash-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 272px;
    background: var(--bg-card);
    z-index: 2001;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-right: 1px solid var(--border);
}

.dash-sidebar.show {
    transform: translateX(0);
}

.dash-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.dash-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.dash-sidebar-brand .brand-icon {
    background: rgba(91, 74, 255, 0.1);
    color: var(--primary);
}

.dash-sidebar-close {
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
}

.dash-sidebar-close:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

.dash-sidebar-nav {
    flex: 1;
    padding: 8px 12px;
    overflow-y: auto;
}

.dash-sidebar-section {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    opacity: 0.6;
    padding: 16px 12px 8px;
}

.dash-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    margin-bottom: 2px;
}

.dash-sidebar-nav a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
}

.dash-sidebar-nav a:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

.dash-sidebar-nav a:hover i {
    color: var(--primary);
}

.dash-sidebar-nav a.active {
    background: var(--sidebar-active-bg);
    color: var(--primary);
    font-weight: 600;
}

.dash-sidebar-nav a.active i {
    color: var(--primary);
}



/* =============================================
   DASHBOARD LAYOUT
   ============================================= */
.dash-content {
    padding: 80px 30px 40px;
    max-width: 900px;
    margin-left: 272px;
    transition: margin-left 0.3s ease;
}

/* Welcome header */
.dash-welcome {
    margin-bottom: 20px;
}

.dash-welcome h1 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.dash-welcome p {
    font-size: 14px;
    color: var(--primary);
    opacity: 0.7;
    font-weight: 500;
}

.dash-section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-section-title a {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* Balance Cards */
.balance-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.balance-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.balance-card.deposit {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.balance-card.earning {
    background: linear-gradient(135deg, #0f766e, var(--accent-dark));
}

.balance-card-label {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 6px;
}

.balance-card-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
}

.balance-card-icon {
    position: absolute;
    right: 14px;
    top: 14px;
    font-size: 28px;
    opacity: 0.2;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    text-align: center;
}

.quick-action:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.quick-action-icon.blue { background: rgba(91, 74, 255, 0.1); color: var(--primary); }
.quick-action-icon.green { background: #d1fae5; color: var(--success); }
.quick-action-icon.orange { background: #fff3e0; color: var(--warning); }
.quick-action-icon.purple { background: #ede9fe; color: #7c3aed; }

/* Job Cards */
.job-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 16px;
    margin-bottom: 12px;
    transition: var(--transition);
    animation: fadeInUp 0.3s ease;
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.job-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.job-card-type {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.job-card-type.task-type-icon {
    width: 42px;
    height: 42px;
    margin: 0;
}

.job-card-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.job-card-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.job-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.job-card-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

.job-card-slots {
    font-size: 12px;
    color: var(--text-muted);
}

.job-card-slots span {
    color: var(--success);
    font-weight: 600;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved, .badge-active { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-paid { background: #dbeafe; color: #1e40af; }
.badge-completed { background: #e0e7ff; color: #3730a3; }

/* =============================================
   CARD COMPONENT
   ============================================= */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 20px 20px 0;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-body);
}

/* =============================================
   TABLES
   ============================================= */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table th, .table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.table th {
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tr:hover td {
    background: var(--bg-body);
}

/* =============================================
   WALLET & PAYMENT
   ============================================= */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method {
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:hover, .payment-method.selected {
    border-color: var(--primary);
    background: rgba(91, 74, 255, 0.04);
}

.payment-method.selected {
    box-shadow: 0 0 0 3px rgba(91, 74, 255, 0.15);
}

.payment-method-logo {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--primary);
}

.payment-method-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

/* =============================================
   PROFILE
   ============================================= */
.profile-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    color: var(--text-white);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    margin: 0 auto 12px;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-email {
    font-size: 13px;
    opacity: 0.8;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.profile-stat {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.profile-stat-value {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.profile-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* =============================================
   LEADERBOARD
   ============================================= */
.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
}

.leaderboard-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    background: var(--bg-body);
    color: var(--text-secondary);
}

.leaderboard-item:nth-child(1) .leaderboard-rank { background: #fef3c7; color: #92400e; }
.leaderboard-item:nth-child(2) .leaderboard-rank { background: #e2e8f0; color: #475569; }
.leaderboard-item:nth-child(3) .leaderboard-rank { background: #fed7aa; color: #9a3412; }

.leaderboard-user {
    flex: 1;
    min-width: 0;
}

.leaderboard-user strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.leaderboard-user span {
    font-size: 12px;
    color: var(--text-muted);
}

.leaderboard-score {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

/* =============================================
   NOTICE CARDS
   ============================================= */
.notice-card {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 1px solid #a5b4fc;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
}

.notice-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.notice-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.notice-card .notice-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 24px;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 12px;
}

.footer-brand .brand-icon {
    background: var(--primary);
    color: #FFC107;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.payment-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-badge {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition);
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
}

.admin-nav {
    padding: 0 12px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    margin-bottom: 2px;
}

.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.08);
    color: var(--text-white);
}

.admin-nav a.active {
    background: var(--primary);
    color: var(--text-white);
}

.admin-nav a i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.admin-nav-section {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.3);
    padding: 16px 16px 8px;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 24px;
    background: var(--bg-body);
    min-height: 100vh;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-topbar h1 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Admin Stat Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.admin-stat-card:hover {
    box-shadow: var(--shadow-md);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.admin-stat-icon.blue { background: rgba(91, 74, 255, 0.1); color: var(--primary); }
.admin-stat-icon.green { background: #d1fae5; color: var(--success); }
.admin-stat-icon.orange { background: #fff3e0; color: var(--warning); }
.admin-stat-icon.red { background: #fee2e2; color: var(--danger); }
.admin-stat-icon.purple { background: #ede9fe; color: #7c3aed; }

.admin-stat-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.admin-stat-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Admin Mobile Toggle */
.admin-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 18px;
    cursor: pointer;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text-primary);
    background: var(--bg-card);
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    color: var(--border);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-primary-color { color: var(--primary) !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.w-100 { width: 100%; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translate(-50%, -20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-fade-in {
    animation: fadeInUp 0.4s ease;
}

/* Loading spinner */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .navbar-hamburger {
        display: flex;
    }

    .navbar-actions .navbar-login-link,
    .navbar-actions .navbar-signup-btn {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .tasks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .balance-card-value {
        font-size: 18px;
    }

    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .quick-action {
        padding: 10px 4px;
        font-size: 10px;
    }

    .quick-action-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Dashboard sidebar: hidden on mobile, toggled via hamburger */
    .dash-sidebar {
        transform: translateX(-100%);
        box-shadow: 4px 0 30px rgba(0,0,0,0.1);
        border-right: none;
        z-index: 2001;
    }

    .dash-sidebar.show {
        transform: translateX(0);
    }

    .dash-sidebar-overlay {
        display: block;
    }

    .dash-sidebar-close {
        display: flex;
    }

    .sidebar-toggle {
        display: flex;
    }

    .dash-topbar {
        left: 0;
    }

    .dash-content {
        margin-left: 0;
        padding: 70px 16px 40px;
    }

    /* Admin responsive */
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        padding: 16px;
    }

    .admin-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .admin-stat-card {
        padding: 14px;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .tasks-grid {
        grid-template-columns: 1fr 1fr;
    }

    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .profile-stat {
        padding: 12px 8px;
    }

    .profile-stat-value {
        font-size: 16px;
    }
}

/* =============================================
   DARK SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Upload area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: var(--bg-body);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(91, 74, 255, 0.03);
}

/* Job image in card */
.job-card-image {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    margin-bottom: 12px;
}

/* Referral section */
.referral-link-box {
    background: var(--bg-body);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.referral-link-box input {
    flex: 1;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
}

/* Tab navigation */
.tab-nav {
    display: flex;
    gap: 4px;
    background: var(--bg-body);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    overflow-x: auto;
}

.tab-nav a {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
}

.tab-nav a.active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-nav a:hover:not(.active) {
    color: var(--text-primary);
}

/* ---- Online Users Widget ---- */
.online-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.online-user-item:last-child {
    border-bottom: none;
}
.online-user-item:hover {
    background: var(--bg-body);
}
.online-user-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
}
.online-user-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.online-user-avatar span {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.online-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}
.online-user-info {
    flex: 1;
    min-width: 0;
}
.online-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.online-user-time {
    font-size: 11px;
    color: var(--text-muted);
}
.badge-admin {
    font-size: 10px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Proof thumbnail images */
.proof-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}
.proof-thumb:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(91, 74, 255, 0.2);
}

/* Payment icons */
.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
