@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --orange: #E85D75;
  --orange-light: #F47B8F;
  --teal: #00D4FF;
  --teal-light: #5CE1FF;
  --navy: #0A0E1A;
  --navy-mid: #111827;
  --navy-soft: #1A2235;
  --slate: #2A3650;
  --gold: #FBBF24;
  --text-primary: #FFFFFF;
  --text-dim: rgba(255,255,255,0.5);
  --text-soft: rgba(255,255,255,0.85);
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --accent-violet: #8B5CF6;
  --accent-pink: #EC4899;
  --gradient-primary: linear-gradient(135deg, #E85D75 0%, #8B5CF6 100%);
  --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #8B5CF6 100%);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated gradient mesh background for dashboards */
.dash-layout::before {
  content: ''; position: fixed; inset: 0; z-index: -2;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(139,92,246,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0,212,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(232,93,117,0.1) 0%, transparent 50%);
  animation: meshFloat 20s ease-in-out infinite alternate;
}
.dash-layout::after {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, var(--navy) 70%);
}
@keyframes meshFloat {
  0% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.1) translate(-30px,20px); }
  100% { transform: scale(1.05) translate(20px,-10px); }
}

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

/* ── Dashboard Layout ─────────────────────────────── */
.dash-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px; flex-shrink: 0;
  background: linear-gradient(180deg, #111827 0%, #0F172A 50%, #0A0E1A 100%);
  border-right: 1px solid rgba(139,92,246,0.15);
  display: flex; flex-direction: column;
  padding: 32px 0;
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  box-shadow: 4px 0 30px rgba(0,0,0,0.4);
}

.sidebar-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  padding: 0 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-logo span { color: var(--orange); }

.sidebar-user {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}
.user-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 10px;
  border: 2px solid rgba(255,255,255,0.1);
}
.user-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; }
.user-role { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 28px; cursor: pointer;
  font-size: 0.9rem; color: var(--text-dim);
  transition: all 0.2s; border-left: 3px solid transparent;
}
.nav-item:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-item.active { color: var(--text-primary); border-left-color: var(--orange); background: rgba(255,92,26,0.08); }
.nav-item .nav-icon { font-size: 1.1rem; width: 22px; text-align: center; }

.sidebar-footer {
  margin-top: auto; padding: 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.logout-btn {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-dim); font-size: 0.88rem;
  cursor: pointer; transition: color 0.2s;
}
.logout-btn:hover { color: #F44336; }

/* ── Main Content ─────────────────────────────────── */
.main-content {
  margin-left: 260px; flex: 1;
  padding: 40px 48px;
  min-height: 100vh;
}

.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px;
}
.page-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: -0.5px;
}
.page-subtitle { font-size: 0.88rem; color: var(--text-dim); margin-top: 4px; }

/* ── Stat Cards ───────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 36px;
}
.stat-card {
  background: rgba(26,34,53,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(139,92,246,0.3); box-shadow: 0 8px 30px rgba(139,92,246,0.15); }
.stat-icon { font-size: 1.6rem; margin-bottom: 14px; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 800;
}
.stat-label { font-size: 0.82rem; color: var(--text-dim); margin-top: 4px; }
.stat-change { font-size: 0.78rem; margin-top: 8px; }
.stat-up   { color: var(--teal); }
.stat-down { color: var(--orange); }

/* ── Cards / Tables ───────────────────────────────── */
.card {
  background: rgba(30, 47, 69, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,92,26,0.3);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.4);
}
.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead tr { border-bottom: 1px solid rgba(255,255,255,0.07); }
th { text-align: left; color: var(--text-dim); font-weight: 500; padding: 0 0 12px; font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; }
td { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text-soft); }
tr:last-child td { border-bottom: none; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  padding: 10px 22px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary { 
  background: var(--gradient-primary); color: #fff; 
  box-shadow: 0 4px 15px rgba(232,93,117,0.3);
}
.btn-primary:hover { 
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(139,92,246,0.4);
  filter: brightness(1.1);
}
.btn-teal { 
  background: var(--gradient-accent); color: #fff; 
  box-shadow: 0 4px 15px rgba(0,212,255,0.2);
}
.btn-teal:hover { 
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(0,212,255,0.3);
  filter: brightness(1.1);
}

/* ── Status Badges ────────────────────────────────── */
.status-badge {
  padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.status-pending { background: rgba(244, 200, 66, 0.15); color: var(--gold); border: 1px solid rgba(244, 200, 66, 0.3); }
.status-accepted { background: rgba(0, 201, 167, 0.15); color: var(--teal); border: 1px solid rgba(0, 201, 167, 0.3); box-shadow: 0 0 10px rgba(0, 201, 167, 0.2); }
.status-in_progress { background: rgba(255, 92, 26, 0.15); color: var(--orange); border: 1px solid rgba(255, 92, 26, 0.3); box-shadow: 0 0 10px rgba(255, 92, 26, 0.2); }
.status-completed { background: rgba(255, 255, 255, 0.08); color: var(--text-soft); border: 1px solid rgba(255, 255, 255, 0.15); }

/* ── Form inputs ──────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 8px; font-weight: 500; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--navy-mid);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; color: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,92,26,0.1);
}
.form-select { appearance: none; -webkit-appearance: none; }
.form-select option { background: var(--navy-soft); }
.form-textarea { resize: vertical; min-height: 90px; }

/* ── Toggle switch ────────────────────────────────── */
.toggle-wrap { display: flex; align-items: center; gap: 12px; }
.toggle-switch {
  width: 50px; height: 28px; background: rgba(255,255,255,0.12);
  border-radius: 50px; position: relative; cursor: pointer;
  transition: background 0.3s; border: none;
}
.toggle-switch.on { background: var(--teal); }
.toggle-switch::after {
  content: ''; position: absolute;
  top: 4px; left: 4px;
  width: 20px; height: 20px;
  background: #fff; border-radius: 50%;
  transition: left 0.25s;
}
.toggle-switch.on::after { left: 26px; }

/* ── Toast notifications ──────────────────────────── */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  padding: 14px 22px; border-radius: 12px;
  font-size: 0.88rem; font-weight: 500;
  background: var(--navy-soft);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff; z-index: 9999;
  opacity: 0; transform: translateY(16px);
  transition: all 0.35s ease;
  max-width: 340px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { border-color: var(--teal); }
.toast-error   { border-color: #F44336; }

/* ── Worker availability badge ────────────────────── */
.avail-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
}
.avail-on  { background: rgba(0,201,167,0.15); color: var(--teal); border: 1px solid rgba(0,201,167,0.3); }
.avail-off { background: rgba(255,255,255,0.06); color: var(--text-dim); border: 1px solid rgba(255,255,255,0.1); }
.avail-dot { width: 7px; height: 7px; border-radius: 50%; }
.avail-on .avail-dot  { background: var(--teal); animation: pulse 2s infinite; }
.avail-off .avail-dot { background: var(--text-dim); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ── Loading spinner ──────────────────────────────── */
.loader {
  display: flex; align-items: center; justify-content: center;
  padding: 60px; color: var(--text-dim); font-size: 0.9rem;
  flex-direction: column; gap: 14px;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--orange);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Modal ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  z-index: 500; display: none;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--navy-soft);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 36px;
  width: 100%; max-width: 480px;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from{opacity:0;transform:scale(0.94)} to{opacity:1;transform:scale(1)} }
.modal-title { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; }

/* ── Worker card (browse page) ────────────────────── */
.worker-card {
  background: var(--navy-soft);
  border: 1.5px solid rgba(255,255,255,0.06);
  border-radius: 18px; padding: 24px;
  transition: all 0.25s;
}
.worker-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.worker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.rating-stars { color: var(--gold); font-size: 0.85rem; }

/* ── Empty state ──────────────────────────────────── */
.empty { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-text { font-size: 0.95rem; }

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .worker-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sidebar { 
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  .sidebar.open {
    display: flex;
    transform: translateX(0);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
  }
  .main-content { margin-left: 0; padding: 80px 20px 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mobile-header {
    display: flex;
    position: fixed; top: 0; left: 0; right: 0;
    height: 64px; background: var(--navy-mid);
    padding: 0 20px; align-items: center; justify-content: space-between;
    z-index: 900; border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .menu-toggle { font-size: 1.5rem; cursor: pointer; color: white; }
}

@media (min-width: 769px) {
  .mobile-header { display: none; }
}

/* ── Photo Upload Area ───────────────────────────── */
.photo-upload-area {
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 16px; padding: 28px;
  text-align: center; cursor: pointer;
  transition: all 0.3s; position: relative;
  background: rgba(255,255,255,0.02);
}
.photo-upload-area:hover {
  border-color: var(--orange);
  background: rgba(255,92,26,0.04);
}
.photo-upload-area.dragover {
  border-color: var(--teal);
  background: rgba(0,201,167,0.06);
}
.photo-upload-area .upload-icon {
  font-size: 2.5rem; margin-bottom: 12px;
  display: block;
}
.photo-upload-area .upload-text {
  font-size: 0.9rem; color: var(--text-dim);
  line-height: 1.6;
}
.photo-upload-area .upload-text strong {
  color: var(--orange);
}
.photo-upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0;
  cursor: pointer;
}

/* ── Photo Preview Grid ──────────────────────────── */
.photo-preview-grid {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 16px;
}
.photo-preview-item {
  position: relative; width: 100px; height: 100px;
  border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  transition: border-color 0.2s;
}
.photo-preview-item:hover { border-color: var(--orange); }
.photo-preview-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.photo-preview-item .remove-photo {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(244,67,54,0.9); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; cursor: pointer;
  border: none; transition: transform 0.2s;
}
.photo-preview-item .remove-photo:hover { transform: scale(1.15); }

/* ── Camera Capture UI ───────────────────────────── */
.camera-container {
  position: relative; border-radius: 16px;
  overflow: hidden; background: #000;
  margin-bottom: 16px;
}
.camera-container video {
  width: 100%; display: block;
  border-radius: 16px;
}
.camera-container canvas { display: none; }
.camera-controls {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 12px;
}
.camera-btn {
  padding: 12px 28px; border-radius: 50px;
  font-weight: 700; cursor: pointer; border: none;
  transition: all 0.2s; font-size: 0.9rem;
}
.camera-btn-capture {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 15px rgba(255,92,26,0.3);
}
.camera-btn-capture:hover {
  background: var(--orange-light);
  transform: scale(1.05);
}
.camera-btn-retake {
  background: rgba(255,255,255,0.1); color: var(--text-soft);
}
.selfie-preview {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--teal);
  margin: 12px auto; display: block;
}

/* ── OTP Input ───────────────────────────────────── */
.otp-container {
  display: flex; gap: 10px; justify-content: center;
  margin: 24px 0;
}
.otp-input {
  width: 50px; height: 56px;
  background: var(--navy-soft);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px; text-align: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: #fff; outline: none;
  transition: border-color 0.2s;
}
.otp-input:focus { border-color: var(--orange); }
.otp-input.filled { border-color: var(--teal); }
.otp-timer {
  text-align: center; font-size: 0.85rem;
  color: var(--text-dim); margin-top: 12px;
}
.otp-timer strong { color: var(--orange); }

/* ── Verification Badge ──────────────────────────── */
.verification-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.verification-verified {
  background: rgba(0,201,167,0.15);
  color: var(--teal); border: 1px solid rgba(0,201,167,0.3);
}
.verification-pending {
  background: rgba(244,200,66,0.15);
  color: var(--gold); border: 1px solid rgba(244,200,66,0.3);
}
.verification-rejected {
  background: rgba(244,67,54,0.15);
  color: #F44336; border: 1px solid rgba(244,67,54,0.3);
}

/* ── Safety Alert Banner ─────────────────────────── */
.safety-alert {
  background: linear-gradient(135deg, rgba(255,92,26,0.1), rgba(244,200,66,0.08));
  border: 1.5px solid rgba(255,92,26,0.3);
  border-radius: 16px; padding: 20px 24px;
  margin-bottom: 20px;
}
.safety-alert-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--orange); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.safety-alert-text {
  font-size: 0.85rem; color: var(--text-soft);
  line-height: 1.6;
}

/* ── Worker Verification Card ────────────────────── */
.worker-verify-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--navy-soft);
  border: 1.5px solid rgba(255,255,255,0.06);
  border-radius: 18px; padding: 24px;
  margin-bottom: 16px;
  transition: all 0.25s;
}
.worker-verify-card:hover {
  border-color: rgba(255,92,26,0.3);
  transform: translateY(-2px);
}
.worker-verify-photo {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--teal);
  flex-shrink: 0;
}
.worker-verify-info { flex: 1; }
.worker-verify-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 4px;
}
.worker-verify-detail {
  font-size: 0.82rem; color: var(--text-dim);
  line-height: 1.6;
}
.worker-verify-actions {
  display: flex; gap: 8px; flex-shrink: 0;
}

/* ── Photo Gallery ───────────────────────────────── */
.photo-gallery {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.photo-gallery img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: 10px; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
}
.photo-gallery img:hover {
  border-color: var(--orange);
  transform: scale(1.08);
}
.photo-gallery-lg img {
  width: 120px; height: 120px;
}

/* ── Lightbox ────────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-overlay img {
  max-width: 90%; max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* ── Additional Button Styles ────────────────────── */
.btn-ghost {
  background: transparent; color: var(--text-soft);
  border: 1.5px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}
.btn-sm { padding: 6px 16px; font-size: 0.8rem; }
.btn-danger { background: rgba(244,67,54,0.9); color: #fff; }
.btn-danger:hover { background: #F44336; transform: translateY(-2px); }
.btn-success { background: var(--teal); color: var(--navy); }
.btn-success:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ── OTP Modal Steps ─────────────────────────────── */
.otp-step { display: none; }
.otp-step.active { display: block; }
.otp-step-indicator {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 24px;
}
.otp-step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s;
}
.otp-step-dot.active {
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255,92,26,0.4);
}

/* ── Admin Dashboard Specific ────────────────────── */
.admin-stat-card {
  background: linear-gradient(145deg, var(--navy-soft) 0%, var(--navy-mid) 100%);
  border: 1.5px solid rgba(255,255,255,0.08);
}
.admin-stat-card:hover { border-color: rgba(255,92,26,0.4); }

.doc-preview {
  display: flex; gap: 12px; margin-top: 12px;
}
.doc-preview img {
  width: 160px; height: 100px; object-fit: cover;
  border-radius: 10px; border: 2px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all 0.2s;
}
.doc-preview img:hover {
  border-color: var(--orange);
  transform: scale(1.04);
}

/* ── Status Badges (additions) ───────────────────── */
.status-open { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.status-cancelled { background: rgba(244,67,54,0.15); color: #ef5350; border: 1px solid rgba(244,67,54,0.3); }

/* ── Aadhaar Upload ──────────────────────────────── */
.aadhaar-upload-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.aadhaar-upload-box {
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: 14px; padding: 20px;
  text-align: center; cursor: pointer;
  transition: all 0.3s;
  position: relative; min-height: 140px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.aadhaar-upload-box:hover {
  border-color: var(--teal);
  background: rgba(0,201,167,0.04);
}
.aadhaar-upload-box img {
  width: 100%; height: 100px; object-fit: cover;
  border-radius: 8px;
}
.aadhaar-upload-box input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.aadhaar-upload-label {
  font-size: 0.8rem; color: var(--text-dim);
  margin-top: 8px;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
