/* Exper Platform - Optimized CSS */
/* Original: 12,029 lines → Optimized: ~3,500 lines */

:root {
  /* Primary Colors */
  --primary-50: #F2F7FF;
  --primary-100: #E0EDFF;
  --primary-500: #0071E3;
  --primary-600: #005BB5;
  --primary-900: #001F3F;
  
  /* Neutral Colors */
  --neutral-0: #FFFFFF;
  --neutral-50: #F5F5F7;
  --neutral-100: #E5E5EA;
  --neutral-200: #D1D1D6;
  --neutral-400: #8E8E93;
  --neutral-600: #636366;
  --neutral-700: #48484A;
  --neutral-900: #1D1D1F;
  
  /* Semantic Colors */
  --success: #34C759;
  --success-50: rgba(52, 199, 89, 0.1);
  --success-100: #dcfce7;
  --success-700: #15803d;
  
  --warning: #FF9500;
  --warning-50: rgba(255, 149, 0, 0.1);
  --warning-100: #fff7ed;
  --warning-500: #FF9500;
  --warning-700: #e65100;
  
  --error: #FF3B30;
  --error-50: rgba(255, 59, 48, 0.1);
  --error-100: #fef2f2;
  --error-700: #b91c1c;
  
  --info: #5856D6;
  --info-50: rgba(88, 86, 214, 0.1);
  --info-100: #eef2ff;
  --info-700: #4338ca;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
  --font-size-4xl: 48px;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===========================================
   SECTION 1: ANIMATIONS
   =========================================== */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInSms { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(20px); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ===========================================
   SECTION 2: RESET & BASE STYLES
   =========================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; line-height: 1.5; font-display: swap; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--neutral-50); color: var(--neutral-900); -webkit-font-smoothing: antialiased; overflow-y: scroll; scrollbar-width: thin; scrollbar-color: var(--neutral-400) var(--neutral-100); }
img { max-width: 100%; height: auto; }
a { color: var(--primary-500); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ===========================================
   SECTION 3: NAVIGATION
   =========================================== */
.navbar { background: white; border-bottom: 1px solid var(--neutral-100); position: sticky; top: 0; z-index: 100; }
.nav-container { width: 100%; margin: 0; padding: 8px 32px; display: flex; justify-content: space-between; align-items: center; min-height: 70px; gap: 16px; }
.nav-brand { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.nav-brand h1 { font-size: 28px; font-weight: 700; color: var(--primary-500); margin-bottom: 2px; }
.nav-subtitle { font-size: 14px; color: var(--neutral-600); font-weight: 500; }
.nav-center-buttons { display: flex; align-items: center; justify-content: center; gap: 4px; z-index: 5; min-height: 36px; flex-wrap: nowrap; margin: 0 auto; }
#userInfo { display: none; }
.nav-tab-hidden { display: none; }

#editLocationGroup .city-btn-row { display: none; }
.nav-menu { display: none; }
.nav-tab-btn { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 8px; font-size: 11px; white-space: nowrap; transform-origin: center; height: 28px; }
.nav-tab-btn i { flex-shrink: 0; }
.nav-right-buttons { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
#loginBtn {
  flex-shrink: 0;
  font-size: 12px;
  padding: 6px 12px;
  min-height: 32px;
  background: var(--primary-500);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-base);
  text-decoration: none;
  justify-content: center;
}
#loginBtn:hover { background: var(--primary-600); }
#editProfileBtn, #supportBtn { flex-shrink: 0; }
#loginBtn i[data-lucide], #loginBtn svg { width: 20px; height: 20px; }
#logoutBtn { display: none; background: #dc2626; color: white; border: none; padding: 8px 14px; border-radius: 6px; font-size: 13px; cursor: pointer; white-space: nowrap; margin-left: auto; }
#logoutBtn:hover { background: #b91c1c; }
.wallet-nav { display: flex; align-items: center; gap: 6px; padding: 8px 14px; cursor: pointer; color: var(--primary-500); font-weight: 500; border-radius: 6px; transition: all 0.2s; }
.wallet-nav:hover { background: var(--primary-50); }
.nav-badge { background: var(--error); color: white; font-size: 10px; padding: 2px 6px; border-radius: 10px; margin-left: 4px; font-weight: 600; }
.nav-badge-success { background: #22c55e; }
.nav-tab-btn.active { background: var(--primary-500); color: white; }

/* ===========================================
   SECTION 4: PAGE LAYOUT
   =========================================== */
.page { min-height: calc(100vh - 80px); padding: var(--space-lg) 0; overflow-x: hidden; }
.page-hidden { display: none; }
.page-display-block { display: block; }
.page-display-none { display: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl); }

/* ===========================================
   SECTION 5: HERO & LANDING
   =========================================== */
.hero-section { background: var(--neutral-0); padding: var(--space-3xl) 0; margin-bottom: var(--space-2xl); }
.hero-content { text-align: center; margin-bottom: var(--space-3xl); }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-sm); background: var(--primary-500); color: white; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-lg); font-size: var(--font-size-sm); font-weight: 600; margin-bottom: var(--space-lg); }
.hero-title { font-size: var(--font-size-4xl); font-weight: 700; color: var(--neutral-900); line-height: 1.2; margin-bottom: var(--space-lg); }
.hero-subtitle { font-size: var(--font-size-lg); color: var(--neutral-600); line-height: 1.6; max-width: 600px; margin: 0 auto; }
.hero-expert-count { margin-top: 16px; color: #059669; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.icon-16 { width: 16px; height: 16px; }
.icon-16-inline { width: 16px; height: 16px; vertical-align: middle; }
.icon-12 { width: 12px; height: 12px; }
.how-it-works { margin-bottom: var(--space-3xl); }
.how-it-works h3 { font-size: var(--font-size-2xl); font-weight: 600; color: var(--neutral-900); text-align: center; margin-bottom: var(--space-xl); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-xl); max-width: 900px; margin: 0 auto; }
.step { display: flex; align-items: flex-start; gap: var(--space-lg); background: var(--neutral-0); padding: var(--space-xl); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--neutral-100); }
.step-number { width: 48px; height: 48px; background: var(--primary-500); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: var(--font-size-lg); font-weight: 700; flex-shrink: 0; }
.step-content h4 { font-size: var(--font-size-lg); font-weight: 600; color: var(--neutral-900); margin-bottom: var(--space-sm); }
.step-content p { color: var(--neutral-600); line-height: 1.5; }

.money-badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 16px;
 height: 16px;
 margin-left: 10px;
 border-radius: 0;
 background: transparent;
 color: var(--neutral-700);
 font-weight: 400;
 font-size: 14px;
 line-height: 1;
 font-family: system-ui, "Segoe UI Symbol", "Segoe UI", Arial, sans-serif;
 box-shadow: none;
}

.money-icon {
 display: inline-flex;
 width: 40px;
 height: 24px;
 margin-left: 10px;
 vertical-align: middle;
 color: var(--neutral-900);
}

.money-icon svg {
 width: 100%;
 height: 100%;
 display: block;
}

.why-safe {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: 28px 18px;
    background: linear-gradient(180deg, var(--neutral-0) 0%, var(--neutral-50) 100%);
    border: 1px solid var(--neutral-100);
    border-radius: 18px;
}
.why-safe h3 {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: 14px;
}
.why-safe h3::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    margin: 12px auto 0;
    background: var(--primary-500);
    border-radius: 999px;
}
.safety-features { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.safety-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--neutral-700);
    font-weight: 500;
    background: #fff;
    border: 1px solid var(--neutral-200);
    padding: 12px 14px;
    border-radius: 14px;
    max-width: 520px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.safety-item::before {
    content: '✓';
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary-600);
    font-weight: 800;
    margin-top: 1px;
}
.safety-item span { text-align: left; line-height: 1.4; }

@media (max-width: 640px) {
    .why-safe { padding: 22px 14px; border-radius: 16px; }
    .safety-features { justify-content: stretch; }
    .safety-item { width: 100%; max-width: none; }
}

/* ===========================================
   SECTION 6: BUTTONS
   =========================================== */
.btn-primary, .btn-secondary, .btn-danger, .btn-success { padding: var(--space-lg) var(--space-2xl); border: none; border-radius: var(--radius-md); font-size: var(--font-size-base); font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-sm); transition: var(--transition-base); text-decoration: none; justify-content: center; min-height: 56px; box-sizing: border-box; }
.btn-primary { background: var(--primary-500); color: white; }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn-secondary { background: white; color: var(--neutral-900); border: 1px solid var(--neutral-200); }
.btn-secondary:hover { background: var(--neutral-50); }
.btn-danger { background: var(--error); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-small { padding: var(--space-sm) var(--space-md); font-size: var(--font-size-sm); min-height: 36px; }
.btn-package-details { width: 100%; margin-top: 12px; padding: 10px 16px; font-size: 14px; }
.btn-package-details-gold { border-color: #B8860B; color: #B8860B; }
.btn-verify-email { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); padding: 8px 12px; background: #007AFF; color: white; border: none; border-radius: 6px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.btn-verify-email:hover { background: #0060c0; }
.btn-verify-email-small { padding: 6px 10px; font-size: 11px; }
.email-verified-badge { color: #10b981; font-size: 12px; }
.reg-email-verify-btn { padding: 8px 12px; font-size: 12px; background: #007AFF; color: white; border: none; border-radius: 6px; cursor: pointer; }
.reg-email-verify-btn:hover { background: #0060c0; }

/* ===========================================
   SECTION 7: FORMS & INPUTS
   =========================================== */
input, select, textarea { width: 100%; padding: var(--space-md); border: 1px solid var(--neutral-200); background: var(--neutral-0); font-size: var(--font-size-base); font-family: var(--font-family); color: var(--neutral-900); outline: none; height: 48px; border-radius: var(--radius-sm); transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; }
input:focus, select:focus, textarea:focus { border-color: var(--primary-500); }
input:disabled { cursor: not-allowed; opacity: 0.7; cursor: not-allowed !important; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px white inset !important; box-shadow: 0 0 0 1000px white inset !important; -webkit-text-fill-color: #1D1D1F !important; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input::placeholder { color: var(--neutral-400); }

/* Buyer Request Form - Consistent Element Heights */
.request-form input[type="url"],
.request-form input[type="text"],
.request-form input[type="number"],
.request-form input[type="tel"],
.request-form input[type="email"],
.request-form input[type="password"],
.request-form select,
.request-form .buyer-form-input,
.request-form .buyer-form-select,
.request-form .city-select-input {
    height: 48px;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    box-sizing: border-box;
}
.request-form .input-with-button .btn-secondary {
    height: 48px;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    box-sizing: border-box;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 2px 0 0 0;
    border-radius: 8px;
}

/* Compact city selector for request form */
.city-select-compact .city-select-input {
    height: 48px !important;
    min-height: 48px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Input with button wrapper - consistent heights and alignment */
.input-with-button {
    display: flex;
    gap: 8px;
    align-items: center;
}
.input-with-button input {
    flex: 1;
    height: 48px;
    box-sizing: border-box;
    padding: 12px 16px;
}
.input-with-button .btn-secondary {
    height: 48px;
    box-sizing: border-box;
    padding: 12px 16px !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 2px 0 0 0;
    border-radius: 8px;
}

.input-with-button .search-btn:focus-visible {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.input-with-button .search-btn:active {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.input-with-button .search-btn.search-btn-loading {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.input-with-button .search-btn:disabled {
    cursor: wait;
}
/* Lucide icon sizing in button */
.input-with-button .btn-secondary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.form-group { margin-bottom: var(--space-xl); }
.form-group label { display: block; font-size: var(--font-size-sm); font-weight: 500; color: var(--neutral-900); margin-bottom: var(--space-sm); }
.form-group-compact { margin-bottom: 0; }
.form-group-compact label { display: block; font-size: var(--font-size-sm); font-weight: 500; color: var(--neutral-900); margin-bottom: var(--space-sm); }
.form-group-compact input { height: 48px; padding: var(--space-sm) var(--space-md); font-size: var(--font-size-base); }
.form-group-compact-modal { margin-bottom: 12px; }
.form-group-compact-modal label { display: block; font-size: 12px; padding: 6px 10px; background: #f5f5f7; border-radius: 4px; color: #666; margin-bottom: 4px; }
.form-group-compact-modal input { width: 100%; padding: 10px 12px; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 14px; box-sizing: border-box; background: white; }
.form-group-compact-modal input:focus { border-color: #0071E3; outline: none; }

.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; margin-bottom: 0; }
.form-row-compact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.form-row-compact-modal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row-inline { display: flex; gap: 6px; position: relative; z-index: 1; }
.form-row-inline > div { position: relative; z-index: 1; }
.form-row-inline .flex-3 { flex: 3; position: relative; z-index: 10; }
.form-row-inline .flex-2 { flex: 2; position: relative; z-index: 5; }
.form-row-inline .width-100 { width: 100px; flex: none; position: relative; z-index: 5; }
.form-row-inline .z-index-10 { z-index: 10; }
.form-row-inline .z-index-5 { z-index: 5; }

.form-input { padding: 10px; font-size: 14px; background: white; border: 1px solid #e5e5e5; border-radius: 8px; width: 100%; box-sizing: border-box; }
.form-input:focus { border-color: #0071E3; outline: none; }
.form-input-readonly { padding: 10px; font-size: 14px; background: #f5f5f7; border: 1px solid #e5e5e5; border-radius: 8px; width: 100%; box-sizing: border-box; color: #666; cursor: not-allowed; }
.form-input-group { position: relative; display: flex; align-items: center; }
.form-input-group .form-input { padding-right: 80px; }

.form-label-block { font-size: 12px; padding: 6px 10px; background: #f5f5f7; border-radius: 4px; display: block; color: #666; }
.input-group { position: relative; }

/* ===========================================
   SECTION 8: SEGMENTED CONTROLS
   =========================================== */
.segment-control, .segmented-control, .segmented-control-modal { display: flex; background: white; border: 1px solid #ccc; border-radius: 10px; padding: 3px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); justify-content: center; flex-wrap: nowrap; }
.segment-btn, .segmented-control .segment, .segmented-control-modal .segment-btn { padding: 8px 12px; background: transparent; border: none; border-radius: 6px; font-size: 12px; font-weight: 500; color: #636366; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.segment-btn:hover, .segmented-control .segment:hover { background: #f5f5f7; }
.segment-btn.active, .segmented-control .segment.active { background: #0071E3; color: white; box-shadow: 0 2px 4px rgba(0,113,227,0.2); }
.segmented-control .segment.active { background: var(--primary-500); color: white; }
.success-segment .segment-btn span { font-size: 11px; }

/* Edit Profile Modal - bottom action buttons */
.edit-profile-segment {
  margin-top: 20px;
  padding: 8px 0 0;
  border: none;
  box-shadow: none;
  background: transparent;
  justify-content: flex-end;
  gap: 10px;
}

.edit-profile-segment .segment-btn {
  min-width: 96px;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 999px;
}

.edit-profile-segment #cancelEditProfile {
  background: #f5f5f7;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.edit-profile-segment #cancelEditProfile:hover {
  background: #e5e7eb;
}

.edit-profile-segment #saveProfile {
  background: #0071E3;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,113,227,0.3);
}

.edit-profile-segment #saveProfile:hover {
  background: #0060c0;
}

/* Fuel type segment - ensure buttons fill height */
.fuel-type-segment .segment-btn {
    flex: 1;
    min-height: 40px;
    padding: 4px 8px;
    font-size: 12px;
}

/* ===========================================
   SECTION 9: CITY PICKER
   =========================================== */
.city-select-wrapper { position: relative; }
.city-select-input { background: white; border: 1px solid #e5e5e5; padding: 12px; border-radius: 8px; font-size: 14px; width: 100%; box-sizing: border-box; cursor: pointer; height: 48px; }
.city-select-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #666; pointer-events: none; }
.city-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 2px solid var(--primary-200); border-radius: var(--radius-md); box-shadow: 0 10px 25px rgba(0,0,0,0.1); max-height: 300px; overflow-y: auto; z-index: 1000; display: none; }
.city-dropdown.show { display: block; }
.city-dropdown-section { padding: 8px; }
.city-dropdown-title { font-size: 12px; font-weight: 600; color: var(--neutral-500); margin-bottom: 8px; padding: 0 4px; }
.city-dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.city-dropdown-item { padding: 8px 12px; cursor: pointer; border-radius: var(--radius-sm); font-size: 13px; color: var(--neutral-700); transition: all 0.2s; text-align: center; }
.city-dropdown-item:hover { background: var(--primary-50); color: var(--primary-700); }
.city-dropdown-divider { height: 1px; background: var(--neutral-200); margin: 4px 0; }
.city-search-input { width: 100%; padding: 10px 12px; border: 1px solid var(--neutral-200); border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 4px; }
.city-search-input:focus { border-color: var(--primary-500); outline: none; }
.city-search-results { max-height: 150px; overflow-y: auto; }
.city-result { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid var(--neutral-100); font-size: 13px; }
.city-result:hover { background: var(--primary-50); }
.city-result.highlighted { background: var(--primary-100); color: var(--primary-700); font-weight: 600; }
.city-result-empty { padding: 12px; color: #999; font-size: 13px; }

.city-btn { padding: 8px 16px; background: #ffffff; border: 2px solid #e5e5e5; border-radius: 20px; cursor: pointer; transition: all 0.2s ease; font-weight: 500; text-align: center; min-width: 80px; font-size: 14px; color: #333333; }
.city-btn:hover { border-color: #0071E3; background: #f0f7ff; }
.city-btn.selected { background: #0071E3; border-color: #0071E3; color: #ffffff; font-weight: 600; }
.city-btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.city-btn-modal { padding: 8px 14px; background: #ffffff; border: 2px solid #e5e5e5; border-radius: 20px; cursor: pointer; transition: all 0.2s ease; font-weight: 500; font-size: 13px; min-width: 70px; color: #333333; }
.city-btn-modal:hover { border-color: #0071E3; background: #f0f7ff; }
.city-btn-modal.selected { background: #0071E3; border-color: #0071E3; color: #ffffff; font-weight: 600; }
.city-btn-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.city-search-input-modal { width: 100%; padding: 10px 12px; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 14px; box-sizing: border-box; margin-bottom: 8px; }
.city-search-results-modal { max-height: 150px; overflow-y: auto; border: 1px solid var(--neutral-200); border-radius: var(--radius-sm); background: white; }

.position-relative { position: relative; }

/* Brand Dropdown for Buyer Dashboard */
.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 44px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}
.dropdown-list.show {
  display: block;
}
.dropdown-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background: #f5f5f7;
}
.dropdown-empty {
  padding: 12px;
  color: #999;
  font-size: 13px;
}

/* ===========================================
   SECTION 10: MODALS
   =========================================== */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 1000; display: none; align-items: center; justify-content: center; }
.modal.show { display: flex; }
.modal-backdrop { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.25); 
  backdrop-filter: blur(4px);
}
.modal-content { 
  position: relative; 
  background: white; 
  border-radius: 20px; 
  box-shadow: 0 25px 80px rgba(0,0,0,0.25); 
  max-width: 90%; 
  max-height: 90%; 
  overflow-y: auto; 
  animation: slideDown 0.3s ease; 
}
.modal-close { 
  position: absolute; 
  top: 16px; 
  right: 16px; 
  background: var(--neutral-100); 
  border: none; 
  width: 32px; 
  height: 32px; 
  border-radius: 50%; 
  font-size: 20px; 
  cursor: pointer; 
  color: var(--neutral-600); 
  z-index: 10; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { 
  background: var(--neutral-200); 
  color: var(--neutral-900); 
}
.modal-header { padding: 20px 24px 0; text-align: center; }
.modal-header h3 { font-size: 20px; font-weight: 600; color: #1D1D1F; margin: 0 0 4px; }
.modal-header p { font-size: 14px; color: #636366; margin: 0; }
.modal-header-compact { padding: 20px 24px 0; text-align: center; }
.modal-header-compact h3 { font-size: 18px; font-weight: 600; color: #1D1D1F; margin: 0 0 4px; }
.modal-scroll-area { padding: 24px; max-height: calc(90vh - 40px); overflow-y: auto; }
.modal-body { padding: 0 24px 24px; }

.modal#expertOffersModal,
.modal#expertProfileModal { align-items: flex-start; padding-top: 6vh; box-sizing: border-box; }

.modal#reportPhotoUploadModal { align-items: flex-start; padding-top: 4vh; box-sizing: border-box; }
.report-photo-modal-content { max-height: 82vh; overflow: hidden; display: flex; flex-direction: column; }
.report-photo-modal-content .modal-header { padding: 14px 18px 0; }
.report-photo-modal-content .modal-header h3 { font-size: 18px; }
.report-photo-modal-content .modal-header p { font-size: 13px; }
.report-photo-modal-content .modal-close { top: 12px; right: 12px; width: 30px; height: 30px; }
.report-photo-modal-body { padding: 12px 16px 10px; overflow-y: auto; }
.report-photo-modal-content .upload-dropzone { padding: 14px; }
.report-photo-modal-content .upload-list { max-height: none; overflow: visible; }
.report-photo-modal-content .support-actions { margin-top: 0; padding: 10px 16px 14px; border-top: 1px solid #e5e7eb; background: #fff; flex-shrink: 0; }

.expert-offers-modal-content { width: min(520px, 92vw); max-height: 76vh; overflow: hidden; display: flex; flex-direction: column; }
.expert-profile-modal-content { width: min(560px, 92vw); max-height: 76vh; overflow: hidden; display: flex; flex-direction: column; }
.expert-offers-modal-content #expertOffersModalContent,
.expert-profile-modal-content #expertProfileModalContent { overflow-y: auto; padding: 0; }

.offer-price-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.expert-profile-actions { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 16px; width: 100%; }
.expert-profile-actions .btn-primary,
.expert-profile-actions .btn-secondary { min-height: 40px; padding: 10px 14px; font-size: 13px; border-radius: 10px; flex: 0 1 160px; }

@media (max-width: 480px) {
  .modal#expertOffersModal,
  .modal#expertProfileModal { padding-top: 3vh; }
  .modal#reportPhotoUploadModal { padding-top: 2vh; }
  .expert-profile-actions { justify-content: stretch; }
  .expert-profile-actions .btn-primary,
  .expert-profile-actions .btn-secondary { flex: 1 1 auto; }
}

/* Login Modal */
.login-modal .modal-content { 
  max-width: 360px; 
  padding: 24px 24px; 
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  overflow: visible;
}
.login-modal .auth-form {
  display: flex;
  flex-direction: column;
}
.login-modal .modal-content .auth-form .form-group {
  margin-bottom: 0;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-modal .modal-content .auth-form .form-group:last-of-type {
  min-height: 40px;
}
.login-modal-forgot {
  text-align: center;
  margin: 0;
  font-size: 12px;
  color: #636366;
  padding-bottom: 4px;
}
.auth-forgot-password-link {
  display: block;
  text-align: center;
  margin-top: 0;
  font-size: 11px;
}
.auth-forgot-password-link a {
  color: #636366;
  text-decoration: none;
}
.auth-forgot-password-link a:hover {
  text-decoration: underline;
}
.login-modal .modal-content .auth-form #createPasswordStep {
  height: auto;
  min-height: 140px;
  justify-content: flex-start;
  align-items: stretch;
}
.auth-modal-header { 
  text-align: center; 
  margin-bottom: 16px; 
}
.auth-modal-header h3 { 
  font-size: 20px; 
  font-weight: 700; 
  color: #1D1D1F; 
  margin: 0 0 4px; 
}
.auth-modal-header p { 
  font-size: 13px; 
  color: #636366; 
  margin: 0; 
}
.auth-tabs { 
  display: flex; 
  justify-content: center; 
  background: var(--neutral-50); 
  border: 1px solid var(--neutral-200); 
  border-radius: 10px; 
  padding: 4px; 
  margin-bottom: 12px; 
  height: 48px; 
}
.tab-button { 
  flex: 1; 
  padding: 0 12px; 
  background: none; 
  border: none; 
  border-radius: 8px; 
  font-size: 14px; 
  font-weight: 600; 
  color: #636366; 
  cursor: pointer; 
  transition: all 0.2s; 
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab-button.active { 
  background: white; 
  color: var(--primary-500); 
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.auth-form .form-group { margin-bottom: 20px; }
.auth-form .form-group label { 
  text-align: left; 
  display: block; 
  margin-bottom: 8px; 
  font-size: 14px; 
  font-weight: 600; 
  color: #1D1D1F; 
}
.auth-form-label-center { 
  text-align: center; 
  display: block; 
  margin-bottom: 4px; 
  font-size: 13px; 
  font-weight: 600; 
  color: #1D1D1F; 
}
.auth-form-label-success { 
  text-align: center; 
  display: block; 
  color: #16a34a; 
  margin-bottom: 12px; 
  font-size: 15px; 
  font-weight: 600; 
  padding: 12px;
  background: rgba(22,163,74,0.1);
  border-radius: 8px;
}
.auth-forgot-password { 
  text-align: center; 
  margin-top: 16px; 
  font-size: 14px; 
  color: #636366; 
}
.auth-forgot-password a { 
  color: var(--primary-500); 
  text-decoration: none; 
  font-weight: 500;
}
.auth-forgot-password a:hover { 
  text-decoration: underline; 
}
.auth-link { color: #0071E3; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.forgot-password-link { text-align: center; margin-top: 8px; }
.forgot-password-link a { font-size: 12px; color: #636366; text-decoration: none; }
.forgot-password-link a:hover { text-decoration: underline; }

/* Phone Input - Fixed for proper alignment */
.phone-input-group { 
  position: relative; 
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.phone-input-group:focus-within {
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}
.phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--neutral-50);
  color: #636366;
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  min-height: 48px;
  border-right: 1px solid #ddd;
}
.phone-input-group .phone-input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: 15px;
  height: 100%;
  outline: none;
  background: transparent;
  display: flex;
  align-items: center;
  line-height: 1;
}
.phone-input-group .phone-input:focus {
  outline: none;
}
.password-input { 
  width: 100%; 
  padding: 0 16px; 
  border: 1px solid #ddd; 
  border-radius: 8px; 
  font-size: 15px; 
  box-sizing: border-box; 
  height: 48px;
  display: flex;
  align-items: center;
  line-height: 1;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-input-group .password-input {
  border: none;
  border-radius: 0;
  background: transparent;
}
.phone-input-group .password-input:focus {
  outline: none;
}
.password-input:focus { 
  border-color: #007AFF; 
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}
.create-password-input { 
  width: 100%; 
  padding: 12px 16px; 
  border: 1px solid #ddd; 
  border-radius: 8px; 
  font-size: 15px; 
  box-sizing: border-box; 
  height: 48px; 
  margin-bottom: 8px; 
  transition: border-color 0.2s, box-shadow 0.2s;
}
.create-password-input:focus { 
  border-color: #16a34a; 
  outline: none;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}

/* SMS Section */
.sms-section { 
  display: none; 
  margin-top: 20px; 
  padding: 20px; 
  background: var(--neutral-50); 
  border-radius: 12px; 
  animation: fadeInSms 0.4s ease-out; 
}
.sms-section.show { display: block; }
.sms-label { 
  font-size: 14px; 
  font-weight: 600; 
  color: #1D1D1F; 
  margin-bottom: 12px; 
  display: block;
}
.sms-input-wrapper { display: flex; gap: 10px; margin-top: 4px; }
.sms-input { 
  flex: 1; 
  padding: 10px; 
  border: 2px solid var(--neutral-200); 
  border-radius: 10px; 
  font-size: 14px; 
  text-align: center; 
  letter-spacing: 1px; 
  box-sizing: border-box; 
  font-weight: 600;
  transition: border-color 0.2s;
}
.sms-input:focus { 
  border-color: #0071E3; 
  outline: none; 
  box-shadow: 0 0 0 3px rgba(0,113,227,0.1);
}
.sms-timer { 
  text-align: center; 
  margin-top: 16px; 
  font-size: 14px; 
  color: #636366; 
}
.sms-timer span { 
  color: var(--primary-500); 
  font-weight: 600; 
}
.sms-timer#smsTimerDisplay { display: none; }
.resend-btn#resendSmsBtn { display: none; }
.resend-btn { 
  width: 100%; 
  margin-top: 16px; 
  padding: 12px; 
  border-radius: 10px;
  font-size: 14px;
}

/* Login Buttons */
.login-buttons, .auth-form .login-buttons { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
  margin-top: 12px;
}
.login-buttons .btn-primary, .auth-form .login-buttons .btn-primary { 
  width: 100%; 
  padding: 0 16px; 
  border-radius: 10px; 
  font-weight: 600; 
  font-size: 14px;
  height: 48px;
  min-height: 48px;
  box-shadow: 0 4px 12px rgba(0,113,227,0.25);
}
.login-buttons .btn-primary:hover { 
  background: #0060c0; 
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,113,227,0.35);
}
.login-buttons .btn-primary.success { 
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 4px 12px rgba(22,163,74,0.25);
}
.login-buttons .btn-primary.success:hover { 
  background: linear-gradient(135deg, #15803d, #166534);
  transform: translateY(-1px);
}
.auth-modal-location-group { display: none !important; }

/* Edit Profile Modal */
.edit-profile-modal { display: none; align-items: center; justify-content: center; padding: 20px; }
.edit-profile-modal.show { display: flex; }
.profile-modal-content { max-width: 500px; width: 100%; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; }

#editProfileModal #editProfileScrollArea { padding: 0; margin: 10px 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--neutral-400) var(--neutral-100); }
#editProfileModal #editProfileScrollArea::-webkit-scrollbar { width: 6px; height: 6px; }
#editProfileModal #editProfileScrollArea::-webkit-scrollbar-track { background: var(--neutral-100); }
#editProfileModal #editProfileScrollArea::-webkit-scrollbar-thumb { background: var(--neutral-400); border-radius: 999px; }
#editProfileModal #editProfileScrollArea::-webkit-scrollbar-thumb:hover { background: var(--neutral-600); }

#editProfileModal .profile-scroll-inner { padding: 24px; box-sizing: border-box; }

/* Registration Modal */
.registration-modal .modal-content {
  max-width: 420px;
  width: 100%;
}
.registration-modal .profile-form {
  padding: 0 24px 24px;
}
.registration-segment {
  margin-top: 20px;
  padding: 0 24px 24px;
}

/* Email Verification Modal */
.modal-content.email-verification-modal { max-width: 420px; padding: 0 24px 24px; box-sizing: border-box; }
.email-verification-header { text-align: center; padding: 24px 24px 16px; }
.email-verification-header h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; color: #1D1D1F; }

.support-modal { max-width: 500px; width: 100%; padding: 16px 20px 14px; box-sizing: border-box; border-radius: 18px; max-height: none; overflow-y: visible; }
.support-modal-header { text-align: center; margin-bottom: 8px; }
.support-modal-icon { width: 40px; height: 40px; border-radius: 999px; background: #e0f2fe; display: inline-flex; align-items: center; justify-content: center; color: #0369a1; margin-bottom: 10px; }
.support-modal-title { font-size: 18px; font-weight: 600; margin: 0 0 4px; color: #1D1D1F; }
.support-modal-subtitle { font-size: 13px; color: #636366; margin: 0; }
.support-meta { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: #f5f5f7; margin-bottom: 16px; font-size: 12px; color: #4b5563; }
.support-meta-id { font-weight: 600; color: #111827; }
.support-meta-hint { font-size: 11px; color: #6b7280; }
.support-textarea { min-height: 90px; max-height: 180px; resize: vertical; }
.support-actions { margin-top: 12px; display: flex; justify-content: flex-end; gap: 12px; }
.support-actions .btn-primary,
.support-actions .btn-secondary { min-height: 36px; padding: 8px 14px; font-size: 13px; border-radius: 8px; box-shadow: none; }
.radio-group { display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; background: #f5f5f7; border-radius: 12px; border: 1px solid #e5e7eb; }
.radio-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #111827; cursor: pointer; }
.radio-item input[type="radio"] { width: 16px; height: 16px; accent-color: var(--primary-500); }
.listing-issue-text { color: #b45309; font-weight: 600; }
.listing-issue-modal { width: 90vw; max-width: 280px; }
.listing-issue-modal .modal-body { max-height: 70vh; overflow-y: visible; }
.listing-issue-modal .support-textarea { min-height: 56px; max-height: 160px; font-size: 14px; line-height: 1.4; padding: 10px 12px; }
.listing-issue-modal .support-textarea::placeholder { font-size: 14px; color: #6b7280; }
.listing-issue-modal .radio-group { gap: 8px; padding: 8px 10px; }
.listing-issue-modal .radio-item { font-size: 13px; }
.listing-issue-modal .support-modal-header { padding-left: 12px; padding-right: 12px; }
.listing-issue-modal .modal-body { padding: 12px; }
.listing-issue-history-modal { width: 90vw; max-width: 280px; }
.listing-issue-history-modal .modal-body { max-height: 70vh; overflow-y: visible; }
.listing-issue-history { gap: 8px; }
.listing-issue-item { padding: 10px; }

.inspection-preface-modal { max-width: 520px; }
.inspection-note-warning { background: var(--warning-50); border: 1px solid #fcd34d; color: #92400e; border-radius: 12px; padding: 12px; }
.inspection-note-warning-title { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.inspection-note-warning-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.inspection-note-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; font-size: 12px; font-weight: 700; }
.inspection-note-warning-hint { font-size: 12px; color: #6b7280; line-height: 1.35; }
.listing-issue-history-modal .support-modal-header { padding-left: 12px; padding-right: 12px; }
.listing-issue-history-modal .modal-body { padding: 12px; max-height: 70vh; overflow-y: visible; }
.listing-issue-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; max-width: 220px; }
.listing-issue-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-issue-pill-header { justify-self: center; }
.listing-issue-pill-empty { background: #f3f4f6; border-color: #e5e7eb; color: #6b7280; cursor: default; }
.listing-issue-history { display: flex; flex-direction: column; gap: 10px; }
.listing-issue-item { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; }
.listing-issue-item-title { font-weight: 700; color: #9a3412; font-size: 13px; margin-bottom: 6px; }
.listing-issue-item-meta { font-size: 12px; color: #6b7280; }
.listing-issue-item-details { margin-top: 6px; font-size: 13px; color: #111827; }
#supportSubject { height: 44px; padding: 10px 12px; line-height: 1.4; }
.support-modal .form-group { margin-bottom: 12px; }
.email-verification-header p { font-size: 14px; color: #636366; margin: 0; }
.email-verification-icon { width: 48px; height: 48px; background: var(--primary-50); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--primary-500); }
.email-verification-input-wrapper { margin-bottom: 16px; padding-top: 4px; }
.email-verification-input { width: 100%; padding: 14px; font-size: 20px; text-align: center; letter-spacing: 8px; border: 2px solid #e5e5e5; border-radius: 12px; font-weight: 600; outline: none; transition: border-color 0.2s; box-sizing: border-box; height: 52px; }
.email-verification-input:focus { border-color: #0071E3; }
.email-verification-buttons { display: flex; gap: 10px; margin-top: 8px; }
.email-verification-buttons .btn-secondary, .email-verification-buttons .btn-primary { flex: 1; padding: 12px; font-size: 14px; }
.email-verification-note { text-align: center; font-size: 12px; color: #999; margin: 16px 0 0; }

/* KVKK Checkbox */
.kvkk-checkbox-wrapper { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; }
.kvkk-checkbox-wrapper input[type="checkbox"] { width: 20px; height: 20px; accent-color: #0071E3; flex-shrink: 0; margin-top: 2px; }
.kvkk-checkbox-label { font-size: 13px; color: #666; line-height: 1.5; }
.kvkk-checkbox-label a { color: #0071E3; text-decoration: none; }
.kvkk-checkbox-label a:hover { text-decoration: underline; }

.legal-terms-block { background: #f5f5f7; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; }
.legal-terms-section + .legal-terms-section { border-top: 1px solid #e5e7eb; margin-top: 10px; padding-top: 10px; }
.legal-terms-section-title { font-weight: 800; color: #111827; font-size: 13px; margin-bottom: 6px; }
.legal-terms-section-text { font-size: 13px; color: #374151; line-height: 1.45; }

.inspection-legal-box { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; }
.inspection-legal-title { font-weight: 800; font-size: 13px; color: #111827; margin-bottom: 8px; }
.inspection-legal-item { font-size: 13px; color: #374151; line-height: 1.45; }
.inspection-legal-item + .inspection-legal-item { margin-top: 6px; }

.package-disclaimer { background: #f5f5f7; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; margin-top: 14px; }
.package-disclaimer-text { font-size: 13px; color: #111827; line-height: 1.5; }

.complaint-countdown { font-size: 12px; color: #6b7280; line-height: 1.35; }
.complaint-countdown-timer { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-weight: 800; color: #111827; }

.report-photo-corporate-pdf { margin-top: 12px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 12px; background: #f8fafc; }
.report-photo-corporate-title { font-weight: 800; font-size: 13px; color: #111827; margin-bottom: 8px; }
.report-photo-corporate-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.report-photo-corporate-meta { font-size: 12px; color: #6b7280; }

/* Bank Info Modal */
.bank-info-modal-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e5e5; }
.bank-info-modal-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 12px; }
.bank-form-group-modal { margin-bottom: 12px; }
.bank-form-group-modal label { display: block; font-size: 12px; padding: 6px 10px; background: #f5f5f7; border-radius: 4px; color: #666; margin-bottom: 4px; }
.bank-form-group-modal input { width: 100%; padding: 10px 12px; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 14px; box-sizing: border-box; background: white; }
.bank-form-group-modal input:focus { border-color: #0071E3; outline: none; }
.bank-form-group-modal input.monospace { font-family: monospace; }

/* Photo Gallery Modal */
.gallery-viewer-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 999999; display: none; align-items: center; justify-content: center; }
.gallery-viewer-modal.show { display: flex; }
.gallery-viewer-content { position: relative; max-width: 90%; max-height: 90%; }
.gallery-viewer-image { max-width: 100%; max-height: 80vh; border-radius: 8px; }
.gallery-viewer-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: white; font-size: 32px; cursor: pointer; padding: 8px; line-height: 1; }
.gallery-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: none; color: white; font-size: 24px; cursor: pointer; padding: 16px; border-radius: 50%; transition: background 0.2s; }
.gallery-viewer-nav:hover { background: rgba(255,255,255,0.3); }
.gallery-viewer-prev { left: -60px; }
.gallery-viewer-next { right: -60px; }
.gallery-viewer-counter { text-align: center; color: white; margin-top: 16px; font-size: 14px; }

/* ===========================================
   SECTION 11: BUYER DASHBOARD
   =========================================== */
.buyer-dashboard-page { overflow-y: visible; max-height: none; padding-bottom: 80px; }
.buyer-form-label { font-size: 12px; padding: 6px 10px; background: #f5f5f7; border-radius: 4px; display: block; color: #666; margin-bottom: 4px; }
.buyer-form-input { background: white; border: 1px solid #e5e5e5; flex: 1; margin-top: 4px; padding: 12px; border-radius: 8px; font-size: 14px; box-sizing: border-box; height: 48px; }
.buyer-form-input:focus { border-color: #0071E3; outline: none; }
.buyer-form-select { background: white; border: 1px solid #e5e5e5; padding: 12px; border-radius: 8px; width: 100%; color: #333; margin-top: 4px; box-sizing: border-box; cursor: pointer; font-size: 14px; height: 48px; }
.city-hint-text { font-size: 11px; color: #666; margin-top: 4px; margin-bottom: 0; }
.form-actions { display: flex; gap: var(--space-sm); justify-content: flex-end; margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--neutral-200); }
.form-actions-compact { margin-top: 20px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.form-actions-compact .btn-primary,
.form-actions-compact .btn-secondary { padding: 12px 24px; font-size: 14px; font-weight: 500; min-height: 44px; border-radius: 8px; }

@media (max-width: 640px) {
    .form-actions-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; justify-content: stretch; }
    .form-actions-compact .btn-primary,
    .form-actions-compact .btn-secondary { width: 100%; padding: 12px 12px; }
    #inspectionCompleteBtn,
    #inspectionSendBtn { grid-column: 1 / -1; }
}

.form-actions .btn-primary { padding: var(--space-sm) var(--space-lg); font-size: var(--font-size-sm); min-height: 40px; border-radius: var(--radius-sm); }
.listing-url-alert { display: none; margin-top: 8px; padding: 12px; border-radius: 8px; font-size: 13px; }
.listing-url-alert.warning { display: block; background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
.listing-url-alert.info { display: block; background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.tip-box { background: #f5f5f7; border-radius: 8px; padding: 10px 12px; margin-top: 8px; margin-bottom: 16px; }
.tip-box p { font-size: 12px; color: #636366; line-height: 1.4; margin: 0; }
.location-note { margin-top: var(--space-sm); padding: var(--space-sm) var(--space-md); background: var(--neutral-50); border-radius: var(--radius-sm); border-left: 4px solid var(--warning); }
.location-note small { color: var(--neutral-600); line-height: 1.4; }
.fuel-type-segment {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 4px;
    margin-top: 4px;
    justify-content: center;
    display: flex;
    height: 48px !important;
    min-height: 48px !important;
    align-items: center;
    box-sizing: border-box;
}

/* Vehicle Location Row - Side by side layout */
.vehicle-location-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-top: 0;
}
.vehicle-location-wrapper {
    flex: 1;
    min-width: 180px;
}
.vehicle-location-wrapper .buyer-form-label {
    font-size: 12px;
    padding: 6px 10px;
    background: #f5f5f7;
    border-radius: 4px;
    display: block;
    color: #666;
    margin-bottom: 4px;
    box-sizing: border-box;
    line-height: 1.2;
    height: 26px;
}
.vehicle-type-wrapper {
    flex: 1;
    min-width: 160px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
}
.vehicle-type-wrapper .buyer-form-label {
    font-size: 12px;
    padding: 6px 10px;
    background: #f5f5f7;
    border-radius: 4px;
    display: block;
    color: #666;
    margin-bottom: 4px;
    box-sizing: border-box;
    line-height: 1.2;
    height: 26px;
}
.vehicle-type-wrapper .buyer-form-select {
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    background: white;
    border: 1px solid #e5e5e5;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    color: #333;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 14px;
    height: 48px;
    line-height: 24px;
}
.vehicle-location-row .buyer-form-select {
    margin-top: 0;
}
.vehicle-type-wrapper .fuel-type-segment {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 4px;
    justify-content: center;
    display: flex;
    height: 48px !important;
    min-height: 48px !important;
    align-items: center;
}
.vehicle-type-wrapper .fuel-type-segment .segment-btn {
    flex: 1;
    min-height: 40px;
    height: 40px;
    padding: 0 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments for vehicle location row */
@media (max-width: 768px) {
    .vehicle-location-row {
        flex-direction: column;
        gap: 16px;
    }
    .vehicle-location-wrapper,
    .vehicle-type-wrapper {
        width: 100%;
        flex: none;
    }
    .requests-list {
        flex-direction: column;
        align-items: stretch;
    }
    .requests-list .request-card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* ===========================================
   SECTION 12: PACKAGES
   =========================================== */
.package-selection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* Package Card Fixes - Robust Style */
.package-card {
    position: relative;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px; /* Increased padding */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Fix for Profile Card inserted in users.js */
.profile-card-container {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    max-width: 600px;
    margin: 0 auto;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}
.profile-details {
    display: grid;
    gap: 16px;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}
.profile-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.package-card:hover { border-color: #0071E3; box-shadow: 0 4px 12px rgba(0,113,227,0.1); }
.package-card.premium { border-color: #0071E3; box-shadow: 0 4px 12px rgba(0,113,227,0.15); }
.package-card.gold { border: 2px solid #FFD700; background: linear-gradient(135deg, #fffef0 0%, #fff9e6 100%); }
.package-card.selected { border-color: #0071E3; background: var(--primary-50); }
.package-card.selected .package-selected-indicator { display: block; }
.package-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.package-selected-indicator { display: none; position: static; background: #0071E3; color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; z-index: 1; box-shadow: 0 2px 8px rgba(0,113,227,0.3); white-space: nowrap; }
.package-badge { text-align: center; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.package-badge-basic { background: #4CAF50; color: white; }
.package-badge-premium { background: linear-gradient(135deg, #0071E3 0%, #005BB5 100%); color: white; }
.package-badge-gold { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: #333; }
.package-header h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: #1D1D1F; }
.package-price { font-size: 20px; font-weight: 700; color: #0071E3; margin-bottom: 12px; }
.package-price-gold { color: #B8860B; }
.package-features { list-style: none; padding: 0; margin: 0; }
.package-features li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: #636366; }
.package-features li svg { flex-shrink: 0; color: #34C759; }
.package-features li svg.gold { stroke: #B8860B; }
.gold-negotiation-section { display: none; margin-top: 16px; padding: 16px; background: linear-gradient(135deg, #fffef0 0%, #fff9e6 100%); border: 2px solid #FFD700; border-radius: 12px; }
.gold-negotiation-section.show { display: block; }
.gold-negotiation-section h4 { margin: 0 0 12px; color: #B8860B; font-size: 14px; }
.gold-negotiation-section input { background: white; border: 1px solid #e5e5e5; padding: 10px 12px; border-radius: 8px; font-size: 14px; box-sizing: border-box; width: 100%; }
.gold-negotiation-section p { margin: 12px 0 0; font-size: 12px; color: #666; line-height: 1.5; }
.gold-negotiation-section button { margin-top: 12px; padding: 10px 20px; background: #6b7280; color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 13px; }
.gold-negotiation-section button:hover { background: #4b5563; }

.delivery-negotiation-section { margin-top: 16px; padding: 16px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; }
.delivery-negotiation-section h4 { margin: 0 0 8px; color: #111827; font-size: 14px; }
.delivery-negotiation-section p { margin: 0; font-size: 12px; color: #6b7280; line-height: 1.5; }
.package-form-section { margin-top: 16px; }

/* ===========================================
   SECTION 13: PAGE HEADER & REQUESTS
   =========================================== */
.page-header { margin-bottom: 24px; text-align: center; }
.page-header h1 { font-size: 28px; font-weight: 700; color: #1D1D1F; margin: 0 0 8px; }
.page-header p { font-size: 15px; color: #636366; margin: 0; }
.page-header-compact { margin-bottom: 16px; }
.page-header-compact h1 { font-size: 28px; font-weight: 700; color: #1D1D1F; margin: 0 0 8px; }
.requests-list { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: stretch; }
.requests-list .request-card { flex: 0 1 calc(50% - 16px); width: 100%; box-sizing: border-box; }
.completed-requests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto; justify-items: center; align-items: stretch; }
.section-title { font-size: 18px; font-weight: 600; color: #1D1D1F; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-500); display: inline-block; }
.request-item { background: white; border-radius: 12px; padding: 16px; border: 1px solid var(--neutral-200); transition: all 0.2s; }
.request-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-200); }
.request-status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.request-status.pending { background: var(--warning-100); color: var(--warning-700); }
.request-status.approved { background: var(--success-100); color: var(--success-700); }
.request-status.completed { background: var(--success-100); color: var(--success-700); }
.request-status.status-new { background: var(--primary-100); color: var(--primary-700); }
.request-status.status-pending { background: var(--warning-100); color: var(--warning-700); }
.request-status.status-in-progress { background: var(--info-100); color: var(--info-700); }
.request-status.status-completed { background: var(--success-100); color: var(--success-700); }
.request-status.status-cancelled { background: var(--error-100); color: var(--error-700); }
.request-status.status-expired { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.request-card { background: white; border-radius: 12px; padding: 16px; border: 1px solid var(--neutral-200); transition: all 0.2s; position: relative; display: flex; flex-direction: column; height: 100%; }
.request-card.status-new { border-left: 4px solid var(--primary-500); }
.request-card.status-pending { border-left: 4px solid var(--warning); }
.request-card.status-in-progress { border-left: 4px solid var(--info); }
.request-card.status-completed { border-left: 4px solid var(--success); }
.request-card.status-cancelled { border-left: 4px solid var(--error); }
.request-card:hover { box-shadow: var(--shadow-md); }
.request-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.request-header-badge { position: relative; padding-right: 120px; }
.request-header-main { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.request-title-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.request-title-spacer { display: block; }
.request-title { font-size: 18px; font-weight: 700; color: #111827; line-height: 1.2; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.request-subtitle { font-size: 14px; font-weight: 500; color: #6b7280; line-height: 1.2; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.request-year { font-size: 12px; color: #9ca3af; }
.request-header .request-status { margin-top: 2px; font-size: 12px; }
.request-status-small { font-size: 11px; padding: 4px 8px; }
.request-status-fixed { position: absolute; top: 0; right: 0; margin-top: 0; }
.request-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; gap: 12px; }
.request-time { font-size: 13px; color: #6b7280; display: flex; align-items: center; gap: 4px; }
.request-time-expired { color: #ef4444; }
.expert-time-badge { display: inline-flex; align-items: center; justify-content: center; padding: 2px 10px; border-radius: 999px; font-weight: 800; letter-spacing: 0.2px; line-height: 1.2; border: 1px solid transparent; margin-left: 4px; }
.expert-time-badge--normal { color: #4338ca; background: #eef2ff; border-color: #c7d2fe; }
.expert-time-badge--soon { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
.expert-time-badge--urgent { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.expert-time-badge--expired { color: #991b1b; background: #fee2e2; border-color: #fecaca; }
.expert-time-badge--unknown { color: #334155; background: #f1f5f9; border-color: #e2e8f0; }
.approval-countdown { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.approval-countdown.approval-soon { color: #b45309; background: #fffbeb; border: 1px solid #fcd34d; padding: 2px 8px; border-radius: 999px; }
.approval-countdown.approval-urgent { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; padding: 2px 8px; border-radius: 999px; animation: pulse 1s ease-in-out infinite; }
.approval-countdown.request-time-expired { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; padding: 2px 8px; border-radius: 999px; }
.request-actions { display: flex; gap: 8px; align-items: center; }
.request-actions.full-width { width: 100%; justify-content: center; }

.inline-actions { position: relative; display: inline-flex; }
.inline-actions-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.12); padding: 8px; z-index: 50; }
.inline-actions-menu .btn-primary,
.inline-actions-menu .btn-secondary { width: 100%; justify-content: flex-start; }
.request-number { font-family: monospace; }
.buyer-request-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #6b7280; }
.buyer-request-meta span { display: inline-flex; align-items: center; }
.buyer-request-meta .meta-success { color: #16a34a; }
.buyer-request-meta .meta-error { color: #ef4444; }
.buyer-request-meta .meta-muted { color: #6b7280; }
.buyer-request-status-text { font-size: 12px; font-weight: 600; }
.buyer-request-status-text.pending { color: #f59e0b; }
.buyer-request-status-text.in-progress { color: #0071E3; }
.buyer-request-status-text.report { color: #8b5cf6; }
.buyer-request-status-text.completed { color: #16a34a; }
.listing-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #0071E3; text-decoration: none; margin-top: 6px; padding: 5px 10px; background: #f0f7ff; border-radius: 6px; }
.listing-link.large { font-size: 13px; font-weight: 500; margin-top: 8px; padding: 6px 10px; }
.listing-link:hover { text-decoration: underline; }
.request-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 12px; }
.request-details .detail-row { display: flex; flex-direction: column; font-size: 13px; }
.request-details .label { color: #6b7280; margin-bottom: 2px; }
.request-details .value { color: #111827; font-weight: 500; }
.request-details .price { color: #111827; font-weight: 600; }
.request-details .package-badge {
    min-width: 0;
    text-align: left;
    align-self: flex-start;
    display: inline-flex;
    justify-content: flex-start;
    padding-left: 0;
}

.detail-inline-link {
    font-size: 11px;
    font-weight: 500;
    color: #0071E3;
    margin-left: 8px;
    cursor: pointer;
}
.detail-inline-link:hover {
    text-decoration: underline;
}

/* Generic empty state blocks for lists */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}
.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.empty-state-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}
.empty-state-text {
    font-size: 13px;
}

/* ===========================================
   SECTION 14: SUCCESS PAGE
   =========================================== */
.success-container { text-align: center; padding: 40px 20px; max-width: 600px; margin: 0 auto; }
.success-icon { width: 80px; height: 80px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: white; }
.success-title { font-size: 28px; font-weight: 700; color: #1D1D1F; margin-bottom: 16px; }
.success-message { font-size: 16px; color: #636366; line-height: 1.6; margin-bottom: 32px; }
.success-details { background: white; border-radius: 12px; padding: 24px; text-align: left; margin-bottom: 24px; border: 1px solid var(--neutral-200); }
.success-details h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: #1D1D1F; }
.steps-list { list-style: none; padding: 0; }
.steps-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 14px; color: #636366; }
.steps-list li::before { content: "✓"; color: var(--success); font-weight: 600; }
.success-segment { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: nowrap; max-width: 100%; overflow: hidden; }
.success-segment .success-btn { padding: 6px 10px; background: #0071E3; color: white; border: none; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: all 0.2s; white-space: nowrap; flex: 1; justify-content: center; max-width: 70%; }
.success-segment .success-btn:hover { background: #0060c0; }
.success-segment .btn-secondary { padding: 6px 10px; background: white; color: #636366; border: 1px solid #ddd; border-radius: 6px; font-size: 11px; font-weight: 500; cursor: pointer; transition: all 0.2s; white-space: nowrap; flex: 1; justify-content: center; max-width: 30%; }
.success-segment .btn-secondary:hover { background: #f5f5f7; }
.success-note { margin-top: 24px; padding: 16px; background: var(--primary-50); border-radius: 8px; font-size: 14px; color: var(--primary-700); }
.success-note strong { display: block; margin-bottom: 4px; }

/* ===========================================
   SECTION 15: EXPERT DASHBOARD
   =========================================== */
.expert-dashboard-page { overflow-y: visible; max-height: none; padding-bottom: 80px; }
.expert-dashboard-tabs { background: white; border-radius: 12px; padding: 16px; box-shadow: var(--shadow-sm); }
.expert-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 2px solid var(--neutral-100); padding-bottom: 8px; }
.expert-tab-btn { padding: 8px 16px; background: none; border: none; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--neutral-600); cursor: pointer; transition: all 0.2s; }
.expert-tab-btn.active { background: var(--primary-500); color: white; }
.expert-tab-btn:hover:not(.active) { background: var(--neutral-50); }
.tab-content-container { min-height: 200px; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }
.tasks-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: stretch; }
.tasks-grid .request-card { flex: 0 1 calc(50% - 16px); width: 100%; box-sizing: border-box; }
.tasks-grid .empty-state { grid-column: 1 / -1; justify-self: center; width: 100%; }
.expert-dashboard-tabs .empty-state,
.expert-dashboard-tabs .empty-state * { text-align: center; }
.task-card { background: white; border-radius: 12px; padding: 20px; border: 1px solid var(--neutral-200); transition: all 0.2s; position: relative; }
.task-card:hover { box-shadow: var(--shadow-md); }
.task-card.urgent { border-left: 4px solid var(--error); }
.task-card.new { border-left: 4px solid var(--success); }
.task-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.task-title { font-size: 16px; font-weight: 600; color: #1D1D1F; margin: 0; }
.task-status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.task-status.new { background: var(--success-100); color: var(--success-700); }
.task-status.pending { background: var(--warning-100); color: var(--warning-700); }
.task-status.in-progress { background: var(--info-100); color: var(--info-700); }
.task-status.completed { background: var(--primary-100); color: var(--primary-700); }
.task-details { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; font-size: 13px; color: #636366; }
.task-detail { display: flex; align-items: center; gap: 4px; }
.task-detail i { width: 16px; height: 16px; color: var(--neutral-400); }
.task-actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--neutral-100); }
.task-actions .btn-primary { flex: 1; padding: 10px 16px; font-size: 13px; min-height: 40px; }
.task-actions .btn-secondary { flex: 1; padding: 10px 16px; font-size: 13px; min-height: 40px; }
.expert-rating { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #636366; }
.expert-rating i { color: #FFD700; width: 16px; height: 16px; }
.star-full { color: #facc15; }
.star-empty { color: #d1d5db; }

.review-stars { display: flex; gap: 6px; }
.review-star { background: transparent; border: none; padding: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #ddd; }
.review-star:disabled { cursor: default; opacity: 0.6; }
.review-stars-display { font-size: 18px; color: #f59e0b; }
.review-existing-text { background: #f5f5f7; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; color: #111827; font-size: 14px; white-space: pre-wrap; }

.request-card.is-archived { opacity: 0.78; }

.request-card.offer-expired {
  opacity: 0.68;
  filter: grayscale(0.15);
}
.empty-state { text-align: center; padding: 60px 20px; color: #636366; }
.empty-state i { width: 48px; height: 48px; margin-bottom: 16px; color: var(--neutral-400); }
.empty-state h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #1D1D1F; }
.empty-state p { font-size: 14px; margin-bottom: 24px; }
.report-container { display: flex; flex-direction: column; gap: 16px; }
.report-header-center { text-align: center; margin-bottom: 24px; }
.report-subtitle { font-size: 14px; color: #666; margin-bottom: 8px; }
.report-title-lg { font-size: 20px; font-weight: 600; margin: 0 0 8px 0; }
.report-status-pill { display: inline-flex; align-items: center; gap: 8px; background: #f0fdf4; color: #16a34a; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.report-section { border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.report-section-soft { background: #f8fafc; }
.report-section-bordered { background: #fff; border: 1px solid #e2e8f0; }
.report-section-title { font-size: 14px; font-weight: 600; color: #334155; margin: 0 0 12px 0; }
.report-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.report-info-label { color: #64748b; font-size: 13px; }
.report-info-value { font-weight: 500; margin-top: 2px; }
.report-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.report-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; font-size: 12px; }
.report-badge-pass { background: #f0fdf4; color: #16a34a; }
.report-badge-fail { background: #fef2f2; color: #dc2626; }
.report-badge-warning { background: #fffbeb; color: #d97706; }
.report-summary-box { padding: 12px; border-radius: 8px; margin-bottom: 12px; }
.report-summary-good { background: #f0fdf4; }
.report-summary-bad { background: #fef2f2; }
.report-summary-warning { background: #fffbeb; }
.report-summary-label { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.report-summary-value { font-weight: 600; }
.report-notes-box { background: #f8fafc; padding: 12px; border-radius: 8px; }
.report-notes-label { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.report-notes-text { font-size: 14px; color: #334155; }
.report-footer-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.report-footer-actions .btn-primary { flex: 1; min-width: 200px; }
.inspection-request-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.inspection-request-subtitle { font-size: 13px; color: #666; }
.section-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f9fafb; border-radius: 8px; cursor: pointer; }
.section-items { padding: 12px 16px; }
.section-status { font-size: 12px; }
.section-status-empty { color: #64748b; }
.section-status-complete { color: #16a34a; }
.section-status-partial { color: #d97706; }
.section-toggle-icon { transition: transform 0.2s; }
.checklist-item { margin-bottom: 8px; }
.checklist-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checklist-checkbox { margin-top: 3px; width: 16px; height: 16px; accent-color: #22c55e; }
.checklist-text { font-size: 14px; color: #333; line-height: 1.4; }
.checklist-note-input { margin-left: 26px; margin-top: 4px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 13px; width: calc(100% - 36px); display: none; }

.checklist-row { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; margin-bottom: 12px; background: #fff; }
.checklist-row-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.checklist-row-text { font-size: 14px; font-weight: 500; color: #111827; line-height: 1.35; }
.checklist-row-options { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.checklist-option { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; padding: 6px 10px; border-radius: 8px; background: #f9fafb; border: 1px solid #e5e7eb; }
.checklist-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist-option-box { width: 16px; height: 16px; border-radius: 4px; border: 2px solid #cbd5e1; background: #fff; display: inline-block; }
.checklist-option-label { font-size: 13px; color: #334155; }
.checklist-option input:checked + .checklist-option-box { border-color: #2563eb; background: #2563eb; }
.checklist-option input:checked + .checklist-option-box::after { content: ''; display: block; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 0 0 4px; }
.checklist-row-note { width: 100%; margin-top: 10px; min-height: 72px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 13px; resize: vertical; }

.checklist-status-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f1f5f9; color: #334155; margin-right: 6px; }
.checklist-item.checked .checklist-status-pill { background: #dcfce7; color: #166534; }
.checklist-item.partial .checklist-status-pill { background: #fef3c7; color: #92400e; }
.checklist-item.unchecked .checklist-status-pill { background: #fee2e2; color: #991b1b; }
.checklist-item .checklist-note { margin-top: 6px; font-size: 12px; color: #64748b; }

#inspectionPage .section-header { padding: 10px 12px; border-radius: 10px; }
#inspectionPage .section-items { padding: 10px 0; }
#inspectionPage .checklist-row { padding: 10px; margin-bottom: 10px; }
#inspectionChecklist { max-width: 860px; margin: 0 auto; }
#inspectionPage .page-header { max-width: 860px; margin-left: auto; margin-right: auto; }
#inspectionPhotoSummary { max-width: 860px; margin: 8px auto 0; padding: 8px 12px; border-radius: 10px; background: #f5f5f7; border: 1px solid #e5e7eb; font-size: 12px; color: #4b5563; }
@media print { 
  #inspectionPhotoSummary { display: none !important; }
}
#inspectionPage .checklist-row-header { display: grid; grid-template-columns: max-content 1fr; align-items: start; gap: 10px; }
#inspectionPage .checklist-row-text { font-size: 13px; }
#inspectionPage .checklist-row-options { gap: 8px; justify-content: flex-start; }
#inspectionPage .checklist-option { padding: 5px 8px; border-radius: 10px; }
#inspectionPage .checklist-option-label { font-size: 12px; }
#inspectionPage .checklist-row-note { min-height: 56px; padding: 8px 10px; font-size: 12px; border-radius: 10px; }

.upload-dropzone { border: 2px dashed #cbd5e1; border-radius: 12px; padding: 18px; text-align: center; background: #f8fafc; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.upload-dropzone.dragover { border-color: #2563eb; background: #eff6ff; }
.upload-dropzone-title { font-weight: 600; color: #0f172a; }
.upload-dropzone-subtitle { font-size: 13px; color: #64748b; }
.upload-list { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow: auto; padding-right: 4px; }
.upload-summary { margin-top: 10px; font-size: 12px; color: #334155; padding: 8px 10px; border: 1px solid #e5e7eb; border-radius: 12px; background: #f8fafc; }
.upload-options { margin-top: 10px; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.upload-options-row { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #0f172a; font-weight: 600; cursor: pointer; }
.upload-options-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: #0071E3; }
.upload-options-hint { margin-top: 6px; font-size: 12px; color: #64748b; }
.upload-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; background: #fff; }
.upload-item-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.upload-item-left { display: flex; gap: 10px; align-items: center; min-width: 0; }
.upload-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; border: 1px solid #e5e7eb; background: #f1f5f9; flex: 0 0 auto; }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-item-name { font-size: 13px; font-weight: 600; color: #111827; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-item-meta { font-size: 12px; color: #64748b; }
.upload-item-status { font-size: 12px; color: #334155; margin-top: 2px; }
.upload-item-right { display: flex; align-items: center; gap: 10px; }
.upload-item-percent { font-size: 12px; font-weight: 600; color: #334155; min-width: 42px; text-align: right; }
.upload-item-action { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; cursor: pointer; color: #334155; }
.upload-item-action:hover { background: #f1f5f9; }
.upload-item-action:disabled { opacity: 0.5; cursor: default; }
.upload-item-action svg { width: 16px; height: 16px; }
.upload-item.done .upload-item-action { border-color: #bbf7d0; color: #16a34a; }
.upload-item.error .upload-item-action { border-color: #fecaca; color: #dc2626; }
.upload-progress { height: 8px; background: #f1f5f9; border-radius: 999px; overflow: hidden; margin-top: 8px; }
.upload-progress-bar { height: 100%; width: 0%; background: #2563eb; transition: width 0.1s linear; }
.upload-item.done .upload-progress-bar { background: #16a34a; width: 100%; }
.upload-item.error .upload-progress-bar { background: #dc2626; }
.upload-item-server { margin-top: 8px; font-size: 12px; color: #64748b; }
.upload-item-server a { color: #2563eb; text-decoration: none; }
.upload-item-server a:hover { text-decoration: underline; }
.report-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid #0071E3; }
.report-header-title { font-size: 24px; font-weight: 700; color: #1D1D1F; margin: 0 0 4px 0; }
.report-header-meta { font-size: 14px; color: #666; margin: 0; }
.report-header-meta-right { text-align: right; }
.report-header-number-label { font-size: 12px; color: #666; margin-bottom: 4px; }
.report-header-number-value { font-size: 16px; font-weight: 600; color: #0071E3; }
.report-result-box { background: #f0fdf4; border-radius: 12px; padding: 20px; margin-bottom: 20px; border-left: 4px solid #22c55e; }
.report-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.report-stat { text-align: center; }
.report-stat-value { font-size: 28px; font-weight: 700; color: #22c55e; }
.report-stat-value-warning { color: #eab308; }
.report-stat-label { font-size: 12px; color: #666; }
.report-checklist-section { margin-bottom: 16px; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.report-checklist-header { padding: 12px 16px; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.report-checklist-header.pass { background: #f0fdf4; }
.report-checklist-header.fail { background: #fef2f2; }
.report-checklist-header-title { font-weight: 600; }
.report-checklist-header-status { font-size: 12px; }
.report-checklist-header-status.pass { color: #16a34a; }
.report-checklist-header-status.fail { color: #dc2626; }
.report-checklist-items { padding: 12px 16px; background: #fff; }
.report-checklist-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; padding: 8px; border-radius: 6px; }
.report-checklist-item:last-child { margin-bottom: 0; }
.report-checklist-item.checked { background: #f0fdf4; }
.report-checklist-item.unchecked { background: #fef2f2; }
.report-checkmark { color: #16a34a; margin-top: 2px; }
.report-cross { color: #dc2626; margin-top: 2px; }
.report-checklist-text { font-size: 14px; color: #333; }
.report-checklist-note { font-size: 12px; color: #666; margin-top: 4px; font-style: italic; }
.report-notes-banner { background: #fffbeb; border-radius: 12px; padding: 16px; margin-bottom: 20px; border-left: 4px solid #f59e0b; }
.report-notes-banner-title { font-size: 14px; font-weight: 600; color: #92400e; margin: 0 0 8px 0; }
.report-notes-banner-text { font-size: 14px; color: #666; margin: 0; line-height: 1.6; }
.report-footer { background: #f5f5f7; border-radius: 12px; padding: 16px; text-align: center; }
.report-footer-text { font-size: 12px; color: #666; margin: 0 0 8px 0; }
.report-footer-meta { font-size: 11px; color: #999; margin: 0; }
.reviews-scroll { max-height: 400px; overflow-y: auto; padding: 10px 0; }
.review-card { background: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 10px; }
.review-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-rating { color: #f59e0b; font-size: 16px; }
.review-vehicle { font-size: 12px; color: #999; }
.review-text { font-size: 14px; color: #333; margin-bottom: 8px; }
.review-request-number { font-size: 11px; color: #999; }
.reviews-summary { text-align: center; margin-bottom: 24px; }
.reviews-summary-rating { font-size: 48px; font-weight: 700; color: #f59e0b; margin-bottom: 8px; }
.reviews-summary-count { color: #666666; font-size: 14px; }
.review-card { background: #f5f5f7; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.review-card-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.review-card-buyer { font-weight: 600; }
.review-card-stars { color: #f59e0b; }
.review-card-comment { color: #666666; font-size: 14px; margin: 0; }
.review-card-date { font-size: 12px; color: #999999; margin-top: 8px; }
.empty-state-inline { text-align: center; color: #999; padding: 20px; }
.report-card { cursor: pointer; }
.history-card { cursor: pointer; }

/* ===========================================
   SECTION 16: PROFILE FORM
   =========================================== */
.profile-form { padding: 0; border: none; }
.profile-form .form-group { margin-bottom: var(--space-sm); }
.profile-form .form-group label { display: block; margin-bottom: 2px; font-weight: 500; color: var(--neutral-900); font-size: var(--font-size-sm); }
.profile-form .form-group input { width: 100%; padding: 8px 0; border: none; border-bottom: 1px solid var(--neutral-200); border-radius: 0; font-size: var(--font-size-sm); transition: border-color 0.2s ease; height: 38px; background: transparent; }
.profile-form .form-group input:focus { outline: none; border-color: var(--primary-500); }
.profile-form .form-group input[readonly] { background: transparent; color: var(--neutral-500); cursor: not-allowed; }

#editVehicleTypeDisplay[readonly] { cursor: pointer; }
.profile-form .form-row { display: flex; flex-direction: row; gap: 12px; margin-bottom: var(--space-sm); }
.profile-form .form-row .form-group { flex: 1; margin-bottom: 0; }
.profile-form .form-actions { display: flex; gap: var(--space-sm); justify-content: flex-end; margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--neutral-200); }
.profile-form .form-actions .btn-primary { padding: var(--space-sm) var(--space-lg); font-size: var(--font-size-sm); min-height: 40px; border-radius: var(--radius-sm); }
.profile-header { text-align: center; margin-bottom: 24px; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #0071E3, #40E0D0); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 32px; color: #ffffff; font-weight: 600; }
.profile-name { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.profile-type { color: #666666; margin: 0; font-size: 14px; }
.profile-info { background: #f5f5f7; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e5e7eb; }
.info-row-label { color: #666666; font-size: 14px; }
.info-row-value { font-weight: 500; font-size: 14px; }
.info-row-value-with-icon { display: flex; align-items: center; gap: 6px; }
.info-row-section { border-top: 1px solid #e5e7eb; margin-top: 8px; }
.info-row-full { width: 100%; }
.profile-section-title { color: #666666; font-size: 13px; margin-bottom: 4px; }
.profile-section-content { font-size: 13px; color: #111111; }
.profile-stats-card { background: #f5f5f7; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.profile-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.profile-stat-value { font-size: 20px; font-weight: 700; }
.profile-stat-label { font-size: 12px; color: #666666; }
.profile-stat-balance { color: #0071E3; }
.profile-stat-completed { color: #16a34a; }
.profile-stat-rating { color: #f59e0b; }
.profile-actions { display: flex; gap: 12px; margin-top: 8px; }
.profile-action-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; }
.email-status { font-size: 13px; }
.email-status-verified { color: #10b981; }
.email-status-warning { color: #f59e0b; cursor: pointer; }

/* Bank Info Section */
.bank-info-section { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e5e5; }
.bank-info-section.show { display: block; }
.bank-info-title { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 12px; }
.bank-form-group { margin-bottom: 12px; }
.bank-form-group label { font-size: 12px; padding: 6px 10px; background: #f5f5f7; border-radius: 4px; display: block; color: #666; margin-bottom: 4px; }
.bank-form-group input { padding: 10px; font-size: 14px; background: white; border: 1px solid #e5e5e5; border-radius: 8px; width: 100%; box-sizing: border-box; }
.bank-form-group input.monospace { font-family: monospace; }

/* Buyer Revenue Section */
.buyer-revenue-section { display: none; margin-top: 16px; padding: 16px; background: #f0fdf4; border-radius: 12px; border: 1px solid #86efac; }
.buyer-revenue-section.show { display: block; }
.buyer-revenue-title { font-size: 13px; font-weight: 600; color: #166534; margin-bottom: 12px; }
.buyer-revenue-balance { font-size: 24px; font-weight: 700; color: #059669; margin-bottom: 8px; }
.buyer-revenue-note { font-size: 11px; color: #666; }
.buyer-revenue-note-small { font-size: 11px; color: #888; margin-top: 8px; }

/* Edit Profile Segment */
.edit-profile-segment { margin-top: 16px; background: white; border: 1px solid #ccc; border-radius: 10px; padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); justify-content: center; display: flex; }
.confirm-segment { margin-top: 20px; }

/* ===========================================
   SECTION 17: TOAST NOTIFICATIONS
   =========================================== */
.toast-container, .toast-notification-container { position: fixed; top: 80px; right: 20px; z-index: 99999; max-width: 350px; display: flex; flex-direction: column; }
.toast-success { background: #dcfce7; border: 1px solid #86efac; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px; animation: slideInRight 0.3s ease; }
.toast-error { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px; animation: slideInRight 0.3s ease; }
.toast-notification { padding: 12px 16px; margin-bottom: 8px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px; animation: slideInRight 0.3s ease; }
.toast-notification.success { background: #dcfce7; border: 1px solid #86efac; }
.toast-notification.error { background: #fef2f2; border: 1px solid #fecaca; }
.toast-notification.info { background: #eff6ff; border: 1px solid #93c5fd; }
.toast-notification.warning { background: #fef3c7; border: 1px solid #fcd34d; }
.toast-error-icon { color: #dc2626; width: 20px; height: 20px; flex-shrink: 0; }
.toast-error-text { color: #991b1b; font-size: 14px; }
.toast-success-icon { color: #16a34a; width: 20px; height: 20px; flex-shrink: 0; }
.toast-success-text { color: #166534; font-size: 14px; }
.toast-info { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px; animation: slideInRight 0.3s ease; }
.toast-info-icon { color: #3b82f6; width: 20px; height: 20px; flex-shrink: 0; }
.toast-info-text { color: #1e40af; font-size: 14px; }
.toast-message { flex: 1; font-size: 14px; color: #333; }
.toast-close { background: none; border: none; font-size: 18px; cursor: pointer; color: #666; padding: 0; line-height: 1; }

/* ===========================================
   SECTION 18: LOADING & UTILITIES
   =========================================== */
.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.9); z-index: 9999; display: none; align-items: center; justify-content: center; flex-direction: column; }
.loading-overlay.show { display: flex; }
.loading-spinner { width: 48px; height: 48px; border: 4px solid var(--neutral-200); border-top-color: var(--primary-500); border-radius: 50%; animation: spin 1s linear infinite; }
.loading-spinner.large { width: 64px; height: 64px; border-width: 5px; }
.loading-spinner.small { width: 24px; height: 24px; border-width: 3px; }
.loading-overlay p { margin-top: 16px; font-size: 14px; color: #636366; }
#userInfo { display: none; }
#editVehicleType { height: 48px; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--neutral-100); }
::-webkit-scrollbar-thumb { background: var(--neutral-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neutral-600); }

/* Thin scrollbar for profile-related cards/modals (buyer + expert) */
.profile-modal-content,
.expert-profile-modal-content,
#expertProfileModalContent,
#profileModalContent,
#editProfileModal .modal-scroll-area {
  scrollbar-width: thin;
  scrollbar-color: var(--neutral-400) var(--neutral-100);
}

.expert-dashboard-page,
.expert-dashboard-page * {
  scrollbar-width: thin;
  scrollbar-color: var(--neutral-400) var(--neutral-100);
}

.profile-modal-content::-webkit-scrollbar,
.expert-profile-modal-content::-webkit-scrollbar,
#expertProfileModalContent::-webkit-scrollbar,
#profileModalContent::-webkit-scrollbar,
#editProfileModal .modal-scroll-area::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.expert-dashboard-page::-webkit-scrollbar,
.expert-dashboard-page *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.visible { display: block !important; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.radius-sm { border-radius: var(--radius-sm); }
.radius-md { border-radius: var(--radius-md); }
.radius-lg { border-radius: var(--radius-lg); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.btn-sm { padding: var(--space-sm) var(--space-md); font-size: var(--font-size-sm); min-height: 36px; border-radius: 999px; }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.icon-12 { width: 12px; height: 12px; }
.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-inline { margin-right: 4px; }
.icon-inline-md { margin-right: 6px; }
.font-semibold { font-weight: 600; }
.text-success { color: #16a34a; }
.text-error { color: #dc2626; }
.text-warning { color: #d97706; }
.text-muted { color: #64748b; }

/* ===========================================
   SECTION 19: PAYMENT MODAL
   =========================================== */
.payment-modal { max-width: 420px; padding: 0; overflow: hidden; }
.payment-header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); padding: 24px; color: white; }
.payment-header-top { display: flex; align-items: center; justify-content: space-between; }
.payment-brand { display: flex; align-items: center; gap: 12px; }
.payment-brand span { font-size: 20px; font-weight: 600; }
.payment-close-light { background: rgba(255,255,255,0.2); border: none; border-radius: 50%; width: 32px; height: 32px; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.payment-secure-text { font-size: 14px; opacity: 0.8; margin-top: 8px; }
.payment-body { padding: 24px; }
.payment-field { margin-bottom: 20px; }
.payment-field label { font-size: 12px; color: #666; display: block; margin-bottom: 6px; }
.payment-field input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; box-sizing: border-box; height: 48px; }
.payment-row { display: flex; gap: 12px; margin-bottom: 20px; }
.payment-row .payment-field { flex: 1; margin-bottom: 0; }
.payment-summary { background: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.payment-summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.payment-summary-row:last-child { margin-bottom: 0; }
.payment-summary-package { color: #333; }
.payment-summary-price { font-weight: 600; }
.payment-summary-commission { color: #666; font-size: 14px; }
.payment-summary-total { border-top: 1px solid #ddd; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.payment-summary-total span:first-child { font-weight: 600; }
.payment-summary-total span:last-child { font-size: 20px; font-weight: 700; color: #0071e3; }
.payment-submit { width: 100%; padding: 14px; background: linear-gradient(135deg, #0071e3, #005bb5); color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.payment-cancel { width: 100%; padding: 12px; background: transparent; color: #666; border: none; margin-top: 12px; cursor: pointer; font-size: 14px; }

/* ===========================================
   SECTION 20: LEGAL MODALS
   =========================================== */
.legal-modal { max-width: 600px; max-height: 85vh; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.legal-modal-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.legal-modal-header h3 { margin: 0; font-size: 18px; }
.legal-modal-close { background: none; border: none; font-size: 28px; cursor: pointer; color: #999; line-height: 1; padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.legal-modal-close:hover { color: #666; }
.legal-modal-content { overflow-y: auto; flex: 1; padding: 20px; font-size: 14px; line-height: 1.6; color: #333; }
.legal-modal-content h4 { margin-top: 0; color: #0071e3; margin-bottom: 12px; }
.legal-modal-content h5 { color: #0071e3; margin: 16px 0 8px; }
.legal-modal-content p { margin-bottom: 12px; }
.legal-modal-footer { padding-top: 15px; margin-top: 15px; border-top: 1px solid #eee; }
.legal-modal-footer strong { font-size: 13px; }

.landing-footer { padding: 28px 0 40px; background: linear-gradient(180deg, rgba(245,245,247,0) 0%, rgba(245,245,247,1) 60%); }
.landing-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.landing-footer-brand { font-weight: 700; color: #111827; letter-spacing: .2px; }
.landing-footer-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.landing-footer-link { appearance: none; border: 1px solid rgba(17,24,39,0.12); background: rgba(255,255,255,0.75); color: #111827; border-radius: 999px; padding: 10px 14px; font-size: 13px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.landing-footer-link { text-decoration: none; }
.landing-footer-link { white-space: nowrap; }
.landing-footer-link:hover { background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.08); transform: translateY(-1px); }

.about-modal { width: min(720px, 92vw); max-height: 86vh; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.about-modal-header { padding: 18px 18px 16px; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; background: radial-gradient(1200px 260px at 0% 0%, rgba(0,113,227,0.22), rgba(0,113,227,0) 60%), linear-gradient(135deg, rgba(17,24,39,0.04), rgba(17,24,39,0)); border-bottom: 1px solid rgba(17,24,39,0.08); }
.about-modal-header-text { display: flex; flex-direction: column; gap: 6px; }
.about-modal-kicker { display: inline-flex; width: fit-content; font-size: 12px; font-weight: 700; letter-spacing: .35px; text-transform: uppercase; color: #0b5ed7; background: rgba(0,113,227,0.12); border: 1px solid rgba(0,113,227,0.18); padding: 6px 10px; border-radius: 999px; }
.about-modal-header h3 { margin: 0; font-size: 18px; color: #111827; }
.about-modal-header p { margin: 0; font-size: 13px; color: #374151; }
.about-modal-close { appearance: none; border: 0; background: rgba(255,255,255,0.8); color: #111827; width: 34px; height: 34px; border-radius: 999px; font-size: 24px; line-height: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.about-modal-close:hover { background: #fff; }
.about-modal-content { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.about-section { background: #fff; border: 1px solid rgba(17,24,39,0.08); border-radius: 14px; padding: 14px 14px; }
.about-section h4 { margin: 0 0 8px; font-size: 14px; color: #0b5ed7; }
.about-section p { margin: 0; font-size: 14px; line-height: 1.65; color: #111827; }

.contact-modal { width: min(720px, 92vw); max-height: 86vh; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }

.faq-modal { width: min(720px, 92vw); max-height: 86vh; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid rgba(17,24,39,0.08); border-radius: 14px; overflow: hidden; }
.faq-q { appearance: none; width: 100%; text-align: left; border: 0; background: transparent; padding: 14px 14px; font-size: 14px; font-weight: 700; color: #111827; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.faq-q::after { content: '+'; width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,113,227,0.10); color: #0b5ed7; font-weight: 800; flex: 0 0 auto; }
.faq-a { display: none; padding: 0 14px 14px; font-size: 13px; line-height: 1.6; color: #374151; }
.faq-item.is-open .faq-a { display: block; }
.faq-item.is-open .faq-q::after { content: '–'; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card { text-decoration: none; background: #fff; border: 1px solid rgba(17,24,39,0.08); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.contact-card { appearance: none; text-align: left; cursor: pointer; }
.contact-card:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(0,0,0,0.10); border-color: rgba(17,24,39,0.14); }
.contact-card-static { cursor: default; }
.contact-card-static:hover { transform: none; box-shadow: none; border-color: rgba(17,24,39,0.08); }
.contact-card-title { font-size: 12px; font-weight: 700; letter-spacing: .25px; text-transform: uppercase; color: #0b5ed7; }
.contact-card-value { font-size: 15px; font-weight: 700; color: #111827; }
.contact-card-note { font-size: 12px; color: #6b7280; }
.contact-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.contact-actions .btn-primary,
.contact-actions .btn-secondary { text-decoration: none; }

#contactModal .contact-actions .btn-primary,
#contactModal .contact-actions .btn-secondary { min-height: 40px; padding: 10px 14px; font-size: 13px; border-radius: 10px; box-shadow: none; }

#supportModal #supportSubject,
#supportModal #supportPhone { height: 40px; padding: 9px 12px; font-size: 13px; line-height: 1.35; }

#supportModal .support-textarea { min-height: 72px; max-height: 160px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
#supportModal .support-textarea::placeholder { font-size: 13px; color: #6b7280; }

@media (max-width: 560px) {
  .landing-footer-inner { flex-direction: column; align-items: flex-start; }
  .landing-footer-links { width: 100%; justify-content: flex-start; gap: 8px; }
  .landing-footer-link { padding: 8px 10px; font-size: 12px; }
  .about-modal-header { padding: 16px 14px 14px; }
  .about-modal-content { padding: 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: stretch; }
}
.package-details-modal-content { max-width: 500px; max-height: 80vh; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: white; position: relative; }
.package-details-modal-content .modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; color: #636366; z-index: 10; padding: 4px; }
.package-details-modal-content .modal-close:hover { color: #1D1D1F; }
.package-details-scroll { padding: 24px; overflow-y: auto; flex: 1; }
.package-details-header { margin-bottom: 20px; text-align: center; }
.package-details-header h3 { font-size: 20px; font-weight: 600; color: #1D1D1F; margin: 0; }
.package-details-list { display: flex; flex-direction: column; gap: 12px; }
.package-details-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #f5f5f7; border-radius: 8px; }
.package-details-item.unavailable { background: #f9f9f9; }
.package-details-item .checkmark { font-weight: 600; font-size: 14px; min-width: 20px; text-align: center; }
.package-details-item span:last-child { font-size: 14px; color: #1D1D1F; }
.package-details-item .text-muted { color: #999 !important; text-decoration: line-through; }
.package-checkmark { color: #34C759; }
.package-checkmark-unavailable { color: #999; }

.hidden-dashboard-root { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #0f172a; z-index: 999998; overflow: hidden; }

.hidden-dashboard-root.hidden-dashboard-light { background: #f8fafc; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-dashboard-header { background: #ffffff; border-bottom: 1px solid #e5e7eb; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-header-title { color: #0f172a; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-header-time { color: #64748b; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-online-pill { background: #ecfdf5; color: #047857; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-logout-btn { background: #f1f5f9; border: 1px solid #e2e8f0; color: #0f172a; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-logout-btn:hover { background: #e2e8f0; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-tabs-bar { background: #ffffff; border-bottom: 1px solid #e5e7eb; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-tab-btn { color: #334155; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-tab-btn.active { background: #eef2ff; color: #1d4ed8; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-content { background: #f8fafc; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-panel,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-tab-container,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawals-panel,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-reports-panel,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-settings-card { background: #ffffff; border: 1px solid #e5e7eb; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-panel-title,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-tab-title,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawals-title,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-reports-title,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-settings-title { color: #0f172a; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-city-label,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-bar-label { color: #0f172a; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-bar-value { color: #475569; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-city-bar { background: #e5e7eb; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-empty,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-user-sub,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-request-sub,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawal-sub,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawals-sub,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-reports-text,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-settings-label { color: #64748b; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-user-name,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-user-row-name,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-request-title,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawal-name,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-request-row-title,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-request-row-sub { color: #0f172a; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-user-card,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-request-card,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-user-row,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-request-row,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawal-row { background: #f8fafc; border: 1px solid #e2e8f0; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-finance-grid { gap: 12px; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-finance-card { background: #ffffff; border: 1px solid #e5e7eb; color: #0f172a; text-align: left; padding: 18px; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-finance-label { color: #64748b; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-finance-value { color: #0f172a; font-size: 28px; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-finance-card-platform,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-finance-card-escrow,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-finance-card-pending { background: #ffffff; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawal-amount { color: #047857; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawal-approve { background: #2563eb; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-withdrawal-approve:hover { background: #1d4ed8; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-settings-input,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-settings-input-text,
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-settings-input-password { background: #ffffff; border: 1px solid #e2e8f0; color: #0f172a; }
.hidden-admin-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; overflow: hidden; }
.hidden-admin-modal { width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 64px); background: #ffffff; border-radius: 16px; padding: 20px 18px; position: relative; box-shadow: 0 25px 80px rgba(0,0,0,0.35); overflow: hidden; box-sizing: border-box; }
.hidden-admin-modal-scroll { max-height: calc(100vh - 140px); overflow: auto; padding-right: 6px; box-sizing: border-box; }
.hidden-admin-modal--login { max-width: 380px; }
.hidden-admin-modal--user { max-width: 520px; }
.hidden-admin-close-btn { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; color: #999999; padding: 4px; display: inline-flex; align-items: center; justify-content: center; }
.hidden-admin-modal .hidden-admin-header { margin-bottom: 16px; }
.hidden-admin-modal .hidden-admin-logo { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 12px; }
.hidden-admin-modal .hidden-admin-title { font-size: 18px; }
.hidden-admin-modal .hidden-admin-subtitle { font-size: 12px; }
.hidden-admin-modal .hidden-admin-settings-group { padding: 12px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 10px; }
.hidden-admin-modal .hidden-admin-settings-label { margin-bottom: 6px; color: #64748b; }
.hidden-admin-modal .hidden-admin-user-row-sub { color: #111827; font-size: 13px; white-space: normal; line-height: 1.5; }

.hidden-admin-modal--user .hidden-admin-modal-scroll {
  padding-right: 18px;
  margin-right: -12px;
  scrollbar-gutter: stable;
}

.hidden-admin-modal--user .hidden-admin-modal-scroll::-webkit-scrollbar { width: 10px; }
.hidden-admin-modal--user .hidden-admin-modal-scroll::-webkit-scrollbar-track { background: transparent; }
.hidden-admin-modal--user .hidden-admin-modal-scroll::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.8); border-radius: 999px; border: 2px solid rgba(255,255,255,0.9); }
.hidden-admin-modal--user .hidden-admin-modal-scroll::-webkit-scrollbar-thumb:hover { background: rgba(100, 116, 139, 0.9); }

.hidden-admin-user-detail-status { display: flex; justify-content: center; margin-top: 8px; }

.hidden-admin-review-card { margin-top: 10px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; }
.hidden-admin-review-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #0f172a; font-weight: 650; font-size: 13px; }
.hidden-admin-review-stars { font-size: 12px; color: #f59e0b; white-space: nowrap; }
.hidden-admin-review-meta { margin-top: 4px; color: #64748b; font-size: 12px; }
.hidden-admin-review-comment { margin-top: 8px; color: #111827; font-size: 13px; line-height: 1.5; white-space: normal; }

.hidden-admin-payout-details { background: rgba(255,255,255,0.05); border-radius: 12px; margin-bottom: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.hidden-admin-payout-details > summary { list-style: none; cursor: pointer; padding: 14px; display: flex; align-items: center; gap: 12px; }
.hidden-admin-payout-details > summary::-webkit-details-marker { display: none; }
.hidden-admin-payout-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.hidden-admin-payout-summary-title { color: #ffffff; font-weight: 600; }
.hidden-admin-payout-summary-sub { color: #94a3b8; font-size: 12px; margin-top: 2px; }
.hidden-admin-payout-items { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.hidden-admin-payout-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(15, 23, 42, 0.45); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 10px 12px; }
.hidden-admin-payout-item-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hidden-admin-payout-item-title { color: #e2e8f0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidden-admin-payout-item-sub { color: #94a3b8; font-size: 11px; }
.hidden-admin-payout-item-amount { color: #34d399; font-weight: 800; font-size: 13px; white-space: nowrap; }

@media (max-width: 480px) {
  .hidden-admin-modal-backdrop { padding: 14px; }
  .hidden-admin-modal { width: calc(100vw - 20px); max-height: calc(100vh - 40px); padding: 16px 14px; }
  .hidden-admin-modal-scroll { max-height: calc(100vh - 120px); }
  .hidden-admin-close-btn { top: 10px; right: 10px; }
}
.hidden-admin-header { text-align: center; margin-bottom: 24px; }
.hidden-admin-logo { width: 72px; height: 72px; background: linear-gradient(135deg, #1a1a2e, #16213e); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.hidden-admin-title { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #1D1D1F; }
.hidden-admin-subtitle { margin: 0; font-size: 13px; color: #8E8E93; }
.hidden-admin-error-container { margin-bottom: 12px; display: none; }
.hidden-admin-error-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.hidden-admin-error-text { color: #991b1b; font-size: 13px; }
.hidden-admin-field { margin-bottom: 14px; }
.hidden-admin-input { width: 100%; padding: 14px 16px; border: 2px solid #E5E5EA; border-radius: 12px; font-size: 15px; box-sizing: border-box; transition: border-color 0.2s; }
.hidden-admin-input::placeholder { color: #9ca3af; }
.hidden-admin-button { width: 100%; padding: 14px; background: linear-gradient(135deg, #1a1a2e, #16213e); color: white; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.hidden-admin-button:hover { transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

.hidden-admin-dashboard-header { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hidden-admin-header-left { display: flex; align-items: center; gap: 14px; }
.hidden-admin-header-logo { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.hidden-admin-header-title { margin: 0; font-size: 17px; color: #ffffff; font-weight: 700; }
.hidden-admin-header-time { font-size: 12px; color: #94a3b8; }
.hidden-admin-header-right { display: flex; align-items: center; gap: 12px; }
.hidden-admin-online-pill { background: rgba(16, 185, 129, 0.2); color: #34d399; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.hidden-admin-logout-btn { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; color: #ffffff; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.hidden-admin-logout-btn:hover { background: rgba(255,255,255,0.16); }
.hidden-admin-tabs-bar { background: rgba(30, 41, 59, 0.8); padding: 8px 24px; display: flex; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.05); overflow-x: auto; }
.hidden-admin-tab-btn { padding: 10px 18px; background: transparent; border: none; border-radius: 8px; color: #94a3b8; cursor: pointer; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: all 0.2s; }
.hidden-admin-tab-btn.active { background: rgba(255,255,255,0.1); color: #ffffff; }
.hidden-admin-content { padding: 24px; overflow-y: auto; height: calc(100% - 120px); }
.hidden-admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.hidden-admin-stat-card { border-radius: 16px; padding: 20px; color: #ffffff; }
.hidden-admin-stat-label { font-size: 13px; opacity: 0.9; margin-bottom: 8px; }
.hidden-admin-stat-value { font-size: 28px; font-weight: 700; }
.hidden-admin-stat-card-platform { background: linear-gradient(135deg, #059669, #10b981); }
.hidden-admin-stat-card-escrow { background: linear-gradient(135deg, #d97706, #f59e0b); }
.hidden-admin-stat-card-refund { background: linear-gradient(135deg, #dc2626, #ef4444); }
.hidden-admin-stat-card-users { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.hidden-admin-layout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hidden-admin-panel { background: #1e293b; border-radius: 16px; padding: 20px; }
.hidden-admin-panel-title { margin: 0 0 16px; font-size: 15px; color: #ffffff; font-weight: 600; }
.hidden-admin-panel-scroll { max-height: 280px; overflow-y: auto; }
.hidden-admin-empty { color: #64748b; text-align: center; padding: 40px; }
.hidden-admin-user-card, .hidden-admin-request-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: rgba(255,255,255,0.05); border-radius: 10px; margin-bottom: 8px; }
.hidden-admin-city-chart { display: flex; flex-direction: column; gap: 10px; }
.hidden-admin-city-row { display: flex; flex-direction: column; gap: 6px; }
.hidden-admin-city-label { display: flex; justify-content: space-between; font-size: 12px; color: #e5e7eb; }
.hidden-admin-city-bar { width: 100%; height: 8px; border-radius: 999px; background: rgba(15,23,42,0.9); overflow: hidden; }
.hidden-admin-city-bar-fill { height: 100%; border-radius: 999px; }
.hidden-admin-city-bar-fill.eksper { background: linear-gradient(90deg, #22c55e, #16a34a); }
.hidden-admin-city-bar-fill.buyer { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.hidden-admin-charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hidden-admin-bar-chart { display: flex; align-items: flex-end; gap: 12px; height: 260px; padding: 4px 4px 0; }
.hidden-admin-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.hidden-admin-bar { width: 100%; max-width: 40px; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #3b82f6, #1d4ed8); position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hidden-admin-bar.eksper { background: linear-gradient(180deg, #22c55e, #15803d); }
.hidden-admin-bar.buyer { background: linear-gradient(180deg, #3b82f6, #1d4ed8); }
.hidden-admin-bar-value { position: absolute; top: -18px; font-size: 11px; color: #e5e7eb; }
.hidden-admin-bar-label { margin-top: 6px; font-size: 11px; color: #cbd5f5; text-align: center; white-space: nowrap; max-width: 60px; overflow: hidden; text-overflow: ellipsis; }
.hidden-admin-avatar { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 600; font-size: 15px; }
.hidden-admin-avatar.eksper { background: linear-gradient(135deg, #10b981, #059669); }
.hidden-admin-avatar.alici { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.hidden-admin-user-info { flex: 1; }
.hidden-admin-user-name { color: #ffffff; font-weight: 500; font-size: 14px; }
.hidden-admin-user-sub { color: #64748b; font-size: 12px; }
.hidden-admin-pill { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 500; }
.hidden-admin-pill.eksper { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.hidden-admin-pill.alici { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.hidden-admin-request-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 18px; }
.hidden-admin-request-title { color: #ffffff; font-weight: 500; font-size: 14px; }
.hidden-admin-request-sub { color: #64748b; font-size: 12px; }
.hidden-admin-status-pill { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 500; }
.hidden-admin-status-pending { background: #fef3c7; color: #d97706; }
.hidden-admin-status-accepted { background: #dbeafe; color: #2563eb; }
.hidden-admin-status-completed { background: #d1fae5; color: #059669; }
.hidden-admin-status-cancelled { background: #fee2e2; color: #dc2626; }
.hidden-admin-status-default { background: #f3f4f6; color: #6b7280; }
.hidden-admin-tab-container { background: #1e293b; border-radius: 16px; padding: 20px; }
.hidden-admin-tab-title { margin: 0 0 16px; font-size: 15px; color: #ffffff; font-weight: 600; }
.hidden-admin-tab-scroll { max-height: 500px; overflow-y: auto; }
.hidden-admin-finance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.hidden-admin-finance-card { border-radius: 16px; padding: 24px; color: #ffffff; text-align: center; }
.hidden-admin-finance-label { font-size: 13px; opacity: 0.9; margin-bottom: 8px; }
.hidden-admin-finance-value { font-size: 32px; font-weight: 700; }
.hidden-admin-withdrawals-panel { background: #1e293b; border-radius: 16px; padding: 20px; }
.hidden-admin-withdrawals-title { margin: 0 0 16px; font-size: 15px; color: #ffffff; font-weight: 600; }
.hidden-admin-withdrawals-scroll { max-height: 400px; overflow-y: auto; }
.hidden-admin-withdrawal-row { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,0.05); border-radius: 10px; margin-bottom: 8px; }
.hidden-admin-withdrawal-info { flex: 1; }
.hidden-admin-withdrawal-name { color: #ffffff; font-weight: 500; }
.hidden-admin-withdrawal-sub { color: #64748b; font-size: 12px; }
.hidden-admin-withdrawal-amount { color: #34d399; font-weight: 700; font-size: 16px; }
.hidden-admin-withdrawal-approve { padding: 8px 14px; background: #059669; color: #ffffff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; }
.hidden-admin-reports-panel { background: #1e293b; border-radius: 16px; padding: 20px; }
.hidden-admin-reports-title { margin: 0 0 16px; font-size: 15px; color: #ffffff; font-weight: 600; }
.hidden-admin-reports-text { color: #64748b; margin-bottom: 16px; }
.hidden-admin-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hidden-admin-settings-card { background: #1e293b; border-radius: 16px; padding: 24px; }
.hidden-admin-settings-title { margin: 0 0 20px; font-size: 15px; color: #ffffff; font-weight: 600; }
.hidden-admin-settings-group { margin-bottom: 16px; }
.hidden-admin-settings-label { display: block; color: #94a3b8; font-size: 13px; margin-bottom: 6px; }
.hidden-admin-settings-input { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #ffffff; font-size: 16px; box-sizing: border-box; }
.hidden-admin-settings-button-primary { width: 100%; padding: 12px; background: linear-gradient(135deg, #10b981, #059669); color: #ffffff; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.hidden-admin-settings-input-text { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #ffffff; font-size: 15px; box-sizing: border-box; }
.hidden-admin-settings-button-secondary { width: 100%; padding: 12px; background: #3b82f6; color: #ffffff; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: 16px; }
.hidden-admin-divider { border-color: rgba(255,255,255,0.1); margin: 20px 0; }
.hidden-admin-settings-input-password { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #ffffff; font-size: 15px; box-sizing: border-box; }
.hidden-admin-settings-button-danger { width: 100%; padding: 12px; background: #ef4444; color: #ffffff; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.hidden-admin-users-list { max-height: 500px; overflow-y: auto; }
.hidden-admin-user-row { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,0.05); border-radius: 10px; margin-bottom: 8px; }
.hidden-admin-avatar-large { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 600; font-size: 16px; }
.hidden-admin-avatar-large.eksper { background: linear-gradient(135deg, #10b981, #059669); }
.hidden-admin-avatar-large.alici { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.hidden-admin-user-row-main { flex: 1; }
.hidden-admin-user-row-name { color: #ffffff; font-weight: 500; }
.hidden-admin-user-row-sub { color: #64748b; font-size: 12px; }
.hidden-admin-user-status { padding: 6px 12px; border-radius: 6px; font-size: 12px; }
.hidden-admin-user-status-blocked { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.hidden-admin-user-status-active { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-user-status-blocked { background: #fee2e2; border: 1px solid #fecaca; color: #b91c1c; font-weight: 700; }
.hidden-dashboard-root.hidden-dashboard-light .hidden-admin-user-status-active { background: #dcfce7; border: 1px solid #bbf7d0; color: #166534; font-weight: 700; }
.hidden-admin-request-row { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,0.05); border-radius: 10px; margin-bottom: 8px; }
.hidden-admin-request-row-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.hidden-admin-request-row-main { flex: 1; }
.hidden-admin-request-row-title { color: #ffffff; font-weight: 500; }
.hidden-admin-request-row-sub { color: #64748b; font-size: 12px; }
.hidden-admin-request-row-status { padding: 6px 12px; border-radius: 6px; font-size: 12px; }

.hidden-admin-detail-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.hidden-admin-detail-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.hidden-admin-detail-card { position: relative; width: 100%; max-width: 560px; background: #1e293b; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 80px rgba(0,0,0,0.35); }
.hidden-admin-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hidden-admin-detail-title { color: #ffffff; font-weight: 700; font-size: 16px; }
.hidden-admin-detail-sub { color: #94a3b8; font-size: 12px; margin-top: 4px; }
.hidden-admin-detail-close { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: #ffffff; border-radius: 10px; width: 32px; height: 32px; cursor: pointer; }
.hidden-admin-detail-body { padding: 14px 18px; }
.hidden-admin-detail-block { margin-bottom: 12px; }
.hidden-admin-detail-label { color: #94a3b8; font-size: 12px; margin-bottom: 6px; }
.hidden-admin-detail-value { color: #ffffff; font-size: 14px; }
.hidden-admin-detail-actions { padding: 14px 18px 18px; display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid rgba(255,255,255,0.08); }
.hidden-admin-btn { padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: #ffffff; cursor: pointer; font-size: 13px; font-weight: 600; }
.hidden-admin-btn.primary { background: rgba(59, 130, 246, 0.18); border-color: rgba(59, 130, 246, 0.35); }
.hidden-admin-btn.danger { background: rgba(239, 68, 68, 0.18); border-color: rgba(239, 68, 68, 0.35); }
.hidden-admin-finance-card-platform { background: linear-gradient(135deg, #059669, #10b981); }
.hidden-admin-finance-card-escrow { background: linear-gradient(135deg, #d97706, #f59e0b); }
.hidden-admin-finance-card-pending { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }

/* ===========================================
   SECTION 21: APPROVAL & TASKS
   =========================================== */
.approval-buttons { display: flex; gap: var(--space-sm); margin-top: var(--space-sm); }
.approval-buttons button { flex: 1; padding: var(--space-sm) var(--space-md); font-size: var(--font-size-sm); font-weight: 500; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: var(--space-xs); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #2EA44F; }
.btn-danger { background: var(--error); color: white; }
.btn-danger:hover { background: #D73A49; }
.task-card.pending-approval { border-left: 4px solid var(--warning); }
.task-status.pending-approval { background: var(--warning); color: white; }

/* ===========================================
   SECTION 22: CUSTOM DROPDOWN
   =========================================== */
.custom-dropdown { position: relative; width: 100%; }
.dropdown-toggle { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md); background: var(--neutral-0); border: 2px solid var(--neutral-200); border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s ease; min-height: 48px; }
.dropdown-toggle:hover { border-color: var(--primary-300); }
.dropdown-toggle.active { border-color: var(--primary-500); background: var(--primary-50); }
#selectedLocation { font-size: var(--font-size-base); color: var(--neutral-700); font-weight: 500; }
.dropdown-arrow { color: var(--neutral-500); transition: transform 0.2s ease; }
.dropdown-toggle.active .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; background: var(--neutral-0); border: 2px solid var(--primary-200); border-radius: var(--radius-md); box-shadow: 0 10px 25px rgba(0,0,0,0.1); max-height: 400px; overflow-y: auto; margin-top: var(--space-xs); }
.dropdown-section { padding: var(--space-md); }
.dropdown-section-title { font-size: var(--font-size-sm); font-weight: 600; color: var(--neutral-500); margin-bottom: var(--space-sm); display: flex; align-items: center; gap: var(--space-xs); cursor: pointer; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm); transition: background-color 0.2s ease; }
.dropdown-section-title:hover { background: var(--neutral-50); }
.expand-icon { transition: transform 0.2s ease; }
.dropdown-section-title.expanded .expand-icon { transform: rotate(90deg); }
.dropdown-option { padding: var(--space-sm) var(--space-md); cursor: pointer; border-radius: var(--radius-sm); transition: all 0.2s ease; font-size: var(--font-size-base); color: var(--neutral-700); margin-bottom: var(--space-xs); }
.dropdown-option:hover { background: var(--primary-50); color: var(--primary-700); }
.dropdown-option.selected { background: var(--primary-100); color: var(--primary-700); font-weight: 600; }
.dropdown-divider { height: 1px; background: var(--neutral-200); margin: var(--space-sm) 0; }
.all-cities { margin-top: var(--space-sm); }
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xs); }
.dropdown-option.compact { padding: var(--space-xs) var(--space-sm); font-size: var(--font-size-sm); margin-bottom: var(--space-xs); text-align: center; background: var(--neutral-50); border: 1px solid var(--neutral-200); border-radius: var(--radius-sm); font-weight: 500; }
.dropdown-option.compact:hover { background: var(--primary-50); border-color: var(--primary-300); }
.dropdown-option.compact.selected { background: var(--primary-100); border-color: var(--primary-500); color: var(--primary-700); font-weight: 600; }
.smart-city-picker { width: 100%; }
.main-cities { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); }
.selected-city-display { background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%); border: 2px solid var(--primary-200); border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: var(--space-md); text-align: center; font-weight: 500; color: var(--primary-700); }
.selected-city-text { font-size: var(--font-size-base); }
.selected-city-text strong { color: var(--primary-900); font-weight: 700; font-size: var(--font-size-lg); }
.modal-city-picker { margin-top: var(--space-sm); }
.modal-city-picker .main-cities { gap: var(--space-xs); }
.modal-city-picker .city-btn { padding: var(--space-xs) var(--space-sm); font-size: var(--font-size-sm); min-width: 60px; }
.modal-city-picker .city-results { max-height: 200px; overflow-y: auto; }
.tab-badge { background: var(--error); color: white; font-size: var(--font-size-xs); font-weight: 600; padding: 2px 6px; border-radius: 10px; margin-left: var(--space-xs); min-width: 18px; text-align: center; }

/* ===========================================
   SECTION 23: INSPECTION & NEGOTIATION
   =========================================== */
.negotiation-compact { margin-top: var(--space-lg); padding: var(--space-lg); background: var(--neutral-50); border-radius: var(--radius-md); border: 1px solid var(--neutral-100); }
.radio-group { display: flex; gap: var(--space-lg); margin-bottom: var(--space-md); }
.radio-option { display: flex; align-items: center; cursor: pointer; padding: var(--space-sm) var(--space-md); border: 2px solid var(--neutral-200); border-radius: var(--radius-md); transition: all 0.2s ease; user-select: none; }
.radio-option:hover { border-color: var(--primary-300); background: var(--primary-50); }
.radio-option input[type="radio"] { margin-right: var(--space-sm); width: 18px; height: 18px; accent-color: var(--primary-500); }
.radio-option input[type="radio"]:checked + .radio-label { color: var(--primary-700); font-weight: 600; }
.radio-option:has(input[type="radio"]:checked) { border-color: var(--primary-500); background: var(--primary-100); }
.radio-label { font-size: var(--font-size-base); font-weight: 500; color: var(--neutral-700); }
.negotiation-note { margin-top: var(--space-sm); padding: var(--space-sm) var(--space-md); background: var(--neutral-50); border-radius: var(--radius-sm); border-left: 4px solid var(--primary-500); }
.negotiation-note small { color: var(--neutral-600); line-height: 1.4; }

/* ===========================================
   SECTION 24: VERIFICATION & CONFIRM
   =========================================== */
.verification-form { padding: var(--space-md); }
.verification-form .form-group { margin-bottom: var(--space-md); text-align: center; }
.verification-form .form-group label { display: block; margin-bottom: var(--space-sm); font-weight: 500; color: var(--neutral-900); }
#emailVerificationCode { width: 180px; padding: var(--space-sm) var(--space-md); border: 2px solid var(--primary-200); border-radius: var(--radius-md); font-size: var(--font-size-lg); font-weight: bold; letter-spacing: var(--space-xs); text-align: center; transition: border-color 0.3s ease; height: 45px; }
#emailVerificationCode:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px var(--primary-100); }
.verification-actions { display: flex; gap: var(--space-md); justify-content: center; margin: var(--space-xl) 0; }
.verification-actions button { padding: var(--space-sm) var(--space-lg); border: none; border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; transition: all 0.2s ease; display: flex; align-items: center; gap: var(--space-xs); }
.verification-actions button:disabled { opacity: 0.6; cursor: not-allowed; }
.verification-info { text-align: center; margin-top: var(--space-lg); color: var(--neutral-600); }
.verification-info small { display: block; margin-bottom: var(--space-xs); }
#resendTimer { color: var(--primary-600); font-weight: 500; }
#citySearchInput { width: 100%; padding: var(--space-md); border: 2px solid var(--neutral-200); border-radius: var(--radius-md); font-size: var(--font-size-base); transition: border-color 0.2s ease; }
#citySearchInput:focus { outline: none; border-color: var(--primary-500); }
.city-results { margin-top: var(--space-sm); max-height: 200px; overflow-y: auto; border: 1px solid var(--neutral-200); border-radius: var(--radius-md); background: var(--neutral-0); }
.city-result { padding: var(--space-sm) var(--space-md); cursor: pointer; border-bottom: 1px solid var(--neutral-100); transition: background-color 0.2s ease; }
.city-result:hover { background: var(--primary-50); }
.city-result:last-child { border-bottom: none; }
.city-result.highlighted { background: var(--primary-100); color: var(--primary-700); font-weight: 600; }

/* Confirm Modal */
.confirm-modal { max-width: 400px; padding: 24px; }
.confirm-header { text-align: center; margin-bottom: 20px; }
.confirm-icon { width: 56px; height: 56px; background: var(--warning-50); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--warning); }
.confirm-header h3 { font-size: 20px; font-weight: 600; color: #1D1D1F; margin: 0 0 8px; }
.confirm-header p { font-size: 14px; color: #636366; margin: 0; }

/* ===========================================
   SECTION 25: WALLET & TRANSACTIONS
   =========================================== */
.wallet-card { background: linear-gradient(135deg, #0071E3 0%, #005BB5 100%); border-radius: 16px; padding: 24px; color: white; margin-bottom: 24px; }
.wallet-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.wallet-title { font-size: 14px; opacity: 0.9; }
.wallet-balance { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.wallet-actions { display: flex; gap: 12px; }
.wallet-action-btn { flex: 1; padding: 12px; background: rgba(255,255,255,0.2); border: none; border-radius: 8px; color: white; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.wallet-action-btn:hover { background: rgba(255,255,255,0.3); }
.transactions-list { background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--neutral-200); }
.transaction-item { display: flex; align-items: center; padding: 16px; border-bottom: 1px solid var(--neutral-100); transition: background 0.2s; }
.transaction-item:last-child { border-bottom: none; }
.transaction-item:hover { background: var(--neutral-50); }
.transaction-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 12px; }
.transaction-icon.income { background: var(--success-50); color: var(--success); }
.transaction-icon.expense { background: var(--error-50); color: var(--error); }
.transaction-details { flex: 1; }
.transaction-title { font-size: 14px; font-weight: 500; color: #1D1D1F; margin-bottom: 2px; }
.transaction-date { font-size: 12px; color: #636366; }
.transaction-amount { font-size: 16px; font-weight: 600; }
.transaction-amount.income { color: var(--success); }
.transaction-amount.expense { color: var(--error); }
.wallet-container { padding: 8px 0; }
.wallet-summary { text-align: center; margin-bottom: 24px; }
.wallet-summary-label { font-size: 14px; color: #666666; margin-bottom: 8px; }
.wallet-summary-balance { font-size: 36px; font-weight: 700; color: #0071E3; }
.wallet-section { border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.wallet-section-earnings { background: #f0fdf4; border: 1px solid #bbf7d0; }
.wallet-section-report { background: #eff6ff; border: 1px solid #bfdbfe; margin-bottom: 24px; }
.wallet-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.wallet-section-title { font-size: 14px; font-weight: 600; margin: 0; }
.wallet-section-amount { font-size: 18px; font-weight: 700; }
.wallet-section-earnings .wallet-section-title,
.wallet-section-earnings .wallet-section-amount { color: #166534; }
.wallet-section-report .wallet-section-title,
.wallet-section-report .wallet-section-amount { color: #1e40af; }
.wallet-section-empty { color: #666666; font-size: 13px; margin: 0; }
.wallet-mini-transaction-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid; }
.wallet-section-earnings .wallet-mini-transaction-row { border-color: #bbf7d0; }
.wallet-section-report .wallet-mini-transaction-row { border-color: #bfdbfe; }
.wallet-mini-transaction-label { font-size: 12px; }
.wallet-mini-transaction-date { font-size: 10px; color: #999999; }
.wallet-mini-transaction-amount { font-weight: 600; color: #16a34a; }
.wallet-history-card { background: #f5f5f7; border-radius: 12px; padding: 16px; margin-bottom: 24px; }
.wallet-history-title { font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.wallet-history-empty { color: #666666; font-size: 13px; margin: 0; }
.wallet-history-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e5e7eb; }
.wallet-history-label { font-size: 13px; }
.wallet-history-date { font-size: 11px; color: #999999; }
.wallet-history-amount { font-weight: 600; }
.wallet-history-amount.income { color: #16a34a; }
.wallet-history-amount.expense { color: #ef4444; }

.wallet-tabs { display: flex; gap: 8px; margin: 0 0 14px; border-bottom: 2px solid var(--neutral-100); padding-bottom: 8px; }
.wallet-tab-btn { padding: 8px 12px; background: none; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--neutral-600); cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.wallet-tab-btn.active { background: var(--primary-500); color: white; }
.wallet-tab-btn:hover:not(.active) { background: var(--neutral-50); }

.wallet-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.wallet-kpi { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; }
.wallet-kpi-label { font-size: 12px; color: #6b7280; display: flex; align-items: center; gap: 6px; }
.wallet-kpi-value { font-size: 18px; font-weight: 700; margin-top: 6px; color: #111827; }

.tooltip-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--neutral-100);
    border: 1px solid var(--neutral-200);
    color: var(--neutral-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    position: relative;
    flex: 0 0 18px;
}
.tooltip-icon:hover { background: var(--neutral-50); }
.tooltip-icon:focus { outline: 2px solid rgba(0,113,227,0.35); outline-offset: 2px; }
.tooltip-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(-2px);
    width: min(280px, 78vw);
    background: #111827;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease, transform 0.12s ease;
    z-index: 1000;
}
.tooltip-icon::before {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(100% + 4px);
    transform: translateX(-50%) translateY(-2px);
    border: 6px solid transparent;
    border-bottom-color: #111827;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease, transform 0.12s ease;
    z-index: 1000;
}
.tooltip-icon:hover::after,
.tooltip-icon:hover::before,
.tooltip-icon:focus::after,
.tooltip-icon:focus::before,
.tooltip-icon.open::after,
.tooltip-icon.open::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wallet-transaction-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e5e7eb; }
.wallet-transaction-left { min-width: 0; }
.wallet-transaction-title { font-size: 13px; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet-transaction-meta { font-size: 11px; color: #6b7280; margin-top: 3px; }
.wallet-transaction-amount { font-weight: 700; white-space: nowrap; }
.wallet-transaction-amount.income { color: #16a34a; }
.wallet-transaction-amount.expense { color: #ef4444; }

.wallet-modal-content { max-height: 78vh; display: flex; flex-direction: column; }
.wallet-modal-content .modal-body { display: flex; flex-direction: column; gap: 10px; }
#walletModal .wallet-modal-content .modal-body { padding: 0 0 14px 20px !important; }
.wallet-modal-scroll { overflow-y: auto; overflow-x: hidden; max-height: 56vh; padding-right: 20px; margin-right: -20px; scrollbar-width: thin; scrollbar-color: var(--neutral-400) var(--neutral-100); }
.wallet-modal-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.wallet-modal-scroll::-webkit-scrollbar-track { background: var(--neutral-100); }
.wallet-modal-scroll::-webkit-scrollbar-thumb { background: var(--neutral-400); border-radius: 999px; }
.wallet-modal-scroll::-webkit-scrollbar-thumb:hover { background: var(--neutral-600); }
.wallet-modal-footer { display: flex; justify-content: flex-end; padding-top: 10px; border-top: 1px solid #e5e7eb; background: #ffffff; }

.existing-report-offer-list { display: flex; flex-direction: column; gap: 10px; }
.existing-report-offer-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; background: #ffffff; cursor: pointer; transition: all 0.15s; }
.existing-report-offer-item:hover { background: #f9fafb; }
.existing-report-offer-item.selected { border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(0,113,227,0.15); }
.existing-report-offer-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.existing-report-offer-title { font-size: 13px; font-weight: 700; color: #111827; }
.existing-report-offer-date { font-size: 11px; color: #6b7280; white-space: nowrap; }
.existing-report-offer-meta { font-size: 12px; color: #4b5563; margin-top: 4px; }

.existing-report-price-box { background: #f5f5f7; border-radius: 12px; padding: 10px 12px; }
.existing-report-price-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.existing-report-price-row + .existing-report-price-row { border-top: 1px solid #e5e7eb; }
.existing-report-price-label { color: #111827; font-size: 13px; }
.existing-report-price-value { font-size: 14px; font-weight: 800; color: #111827; }
.existing-report-price-value.old { text-decoration: line-through; color: #6b7280; font-weight: 700; }
.wallet-withdraw-btn { width: 100%; }

/* ===========================================
   SECTION 26: VEHICLE DETAILS
   =========================================== */
.vehicle-title { font-size: 20px; font-weight: 600; color: #1D1D1F; margin-bottom: 8px; }
.vehicle-title.large { font-size: 24px; margin-bottom: 12px; }
.vehicle-details { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.detail-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #636366; }
.detail-item i { width: 16px; height: 16px; color: var(--neutral-400); }
.detail-item.package-info { background: var(--primary-50); color: var(--primary-700); padding: 4px 12px; border-radius: 20px; font-weight: 500; }
.vehicle-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.vehicle-feature { background: var(--neutral-50); padding: 12px; border-radius: 8px; text-align: center; }
.vehicle-feature-label { font-size: 11px; color: #636366; text-transform: uppercase; margin-bottom: 4px; }
.vehicle-feature-value { font-size: 14px; font-weight: 600; color: #1D1D1F; }

/* ===========================================
   SECTION 27: INSPECTION FORM
   =========================================== */
.task-detail-container { max-width: 800px; margin: 0 auto; padding: 0 16px; }
.timer-bar { background: white; border-radius: 12px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.timer-info { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #636366; }
.timer-info i { width: 20px; height: 20px; color: var(--primary-500); }
.timer-display { font-size: 24px; font-weight: 700; font-family: monospace; color: #1D1D1F; }
.timer-display.urgent { color: var(--error); }
.task-detail-content { background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.task-info-panel { padding: 20px; border-bottom: 1px solid var(--neutral-100); }
.negotiation-info { background: var(--warning-50); border-radius: 8px; padding: 16px; margin-top: 16px; }
.negotiation-info h4 { font-size: 14px; font-weight: 600; color: var(--warning-700); margin-bottom: 12px; }
.negotiation-targets { display: flex; gap: 24px; }
.target-item { font-size: 13px; color: #636366; }
.target-item span { display: block; margin-bottom: 4px; }
.target-item strong { font-size: 16px; color: #1D1D1F; }
.inspection-form { padding: 20px; }
.inspection-form h3 { font-size: 18px; font-weight: 600; color: #1D1D1F; margin-bottom: 20px; }
.inspection-section { margin-bottom: 24px; }
.inspection-section h4 { font-size: 14px; font-weight: 600; color: #1D1D1F; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--neutral-100); }
.inspection-item { margin-bottom: 16px; }
.inspection-item label { display: block; font-size: 13px; font-weight: 500; color: #636366; margin-bottom: 8px; }
.inspection-item select { width: 100%; padding: 10px 12px; border: 1px solid var(--neutral-200); border-radius: 8px; font-size: 14px; background: white; }
.inspection-item textarea { width: 100%; padding: 12px; border: 1px solid var(--neutral-200); border-radius: 8px; font-size: 14px; min-height: 100px; resize: vertical; }
.inspection-item textarea:focus { outline: none; border-color: var(--primary-500); }

/* ===========================================
   SECTION 28: MEDIA QUERIES
   =========================================== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-container { flex-wrap: wrap; padding: 8px 12px; min-height: auto; gap: 8px; }
  .nav-brand { flex: 1 1 100%; min-width: 100%; margin-right: 0; margin-bottom: 8px; text-align: center; }
  .nav-brand h1 { font-size: 24px; margin-bottom: 4px; }
  .nav-subtitle { display: none; }
  .nav-menu { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 4px; justify-content: center; }
  .nav-center-buttons { position: static !important; transform: none !important; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; width: 100%; min-height: auto; }
  .nav-center-buttons > * { flex-shrink: 0; }
  .nav-tab-btn { padding: 6px 10px; font-size: 12px; }
  #loginBtn, #logoutBtn, #editProfileBtn, #supportBtn { margin-left: 0 !important; padding: 8px 14px; font-size: 13px; min-height: 36px; }
  #loginBtn { flex-shrink: 0; }
  
  .main-cities { gap: var(--space-xs); }
  .city-btn { padding: var(--space-xs) var(--space-sm); min-width: 60px; font-size: var(--font-size-sm); }
  .package-selection-grid { grid-template-columns: 1fr; }
  .tasks-grid { flex-direction: column; align-items: stretch; }
  .modal-content { margin: 16px; max-height: calc(100vh - 32px); }
  .form-row { flex-direction: column; }
  .form-row-inline { flex-direction: column; }
  .form-row-inline .flex-3, .form-row-inline .flex-2, .form-row-inline .width-100 { flex: none; width: 100%; }
  .success-segment { flex-direction: column; }
  .verification-actions { flex-direction: column; }
  .negotiation-targets { flex-direction: column; gap: 12px; }

  .request-header { flex-direction: column; align-items: flex-start; }
  .request-header-badge { padding-right: 0; }
  .request-status-fixed { position: static; }
  .request-title-row { grid-template-columns: 1fr; }
  .request-title-spacer { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 28px; }
  .step { flex-direction: column; }
  .step-number { width: 40px; height: 40px; font-size: 16px; }
  .login-buttons .btn-primary, .registration-modal .btn-primary { padding: 12px; }
  .page-header h1 { font-size: 24px; }
  .wallet-balance { font-size: 28px; }
  .completed-requests-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .report-footer-actions .btn-primary { min-width: 0; flex: 1 1 100%; }
  .toast-container, .toast-notification-container { left: 12px; right: 12px; max-width: none; }
}

/* ===========================================
   SECTION 29: SELECT FIXES
   =========================================== */
#vehicleYear { 
    cursor: pointer; 
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 12px center; 
    padding-right: 36px; 
}
#vehicleYear option[value]:not([value=""]) { color: #333 !important; }
#vehicleYear option[value=""] { color: #999 !important; }
select:disabled { opacity: 1 !important; cursor: pointer !important; }

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===========================================
   SECTION 30: NAVBAR BUTTON OVERRIDES - Compact Navigation
   =========================================== */

/* Force navbar buttons to be compact regardless of inherited styles */
.navbar .nav-center-buttons .nav-tab-btn,
.navbar .nav-center-buttons button,
.nav-center-buttons .nav-tab-btn {
  min-height: 32px !important;
  height: auto !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

/* Override generic button styles for navbar context */
.navbar .btn-primary,
.navbar .btn-secondary {
  min-height: 36px !important;
  height: auto !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}

/* Ensure nav-center-buttons container handles all items on one line (desktop) */
@media (min-width: 769px) {
  .nav-center-buttons {
    flex-wrap: nowrap !important;
    overflow: visible !important;
    min-height: 36px !important;
  }
}

@media (max-width: 768px) {
  .nav-center-buttons {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
}

/* ===========================================
   END OF OPTIMIZED CSS
   =========================================== */
