/* ===================================================
   SwiftBurro — Global CSS Design System
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css');

:root {
  /* Color Palette */
  --primary: #6C63FF;
  --primary-dark: #4e46e5;
  --primary-glow: rgba(108, 99, 255, 0.35);
  --secondary: #FF6584;
  --accent: #43E97B;
  --accent-2: #38f9d7;

  --bg-dark: #0d0d1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(108, 99, 255, 0.6);

  --text-primary: #f0f0ff;
  --text-secondary: rgba(240, 240, 255, 0.6);
  --text-muted: rgba(240, 240, 255, 0.35);

  --success: #43E97B;
  --error: #FF6584;
  --warning: #FFD166;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated gradient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(108, 99, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(67, 233, 123, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 60% 40%, rgba(255, 101, 132, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ===================== Layout ===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===================== Navbar ===================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(13, 13, 26, 0.8);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after { opacity: 0.06; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
}

.btn-danger {
  background: linear-gradient(135deg, #e53e3e, #c0392b);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--accent), #2ecc71);
  color: #0d0d1a;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* ===================== Card ===================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { box-shadow: var(--shadow-glow); }

/* ===================== Flash Messages ===================== */
.flash-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.flash {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease, fadeOut 0.5s ease 4s forwards;
  border: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.flash.success {
  background: rgba(67, 233, 123, 0.15);
  border-color: rgba(67, 233, 123, 0.3);
  color: var(--accent);
}

.flash.error {
  background: rgba(255, 101, 132, 0.15);
  border-color: rgba(255, 101, 132, 0.3);
  color: var(--secondary);
}

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

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* ===================== Forms ===================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

input[type="text"],
input[type="password"],
input[type="email"],
select, textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

/* ===================== Upload Zone ===================== */
.upload-zone {
  border: 2px dashed var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: var(--bg-card);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
  box-shadow: 0 0 40px rgba(108, 99, 255, 0.15);
}

.upload-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(108,99,255,0.4));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.upload-zone h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.upload-zone p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.file-types {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.file-type-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-pdf { background: rgba(255,101,132,0.15); color: var(--secondary); border: 1px solid rgba(255,101,132,0.3); }
.badge-img { background: rgba(67,233,123,0.15); color: var(--accent); border: 1px solid rgba(67,233,123,0.3); }

/* ===================== Hero ===================== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ===================== Steps ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.step-card {
  padding: 24px;
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 auto 14px;
  box-shadow: 0 0 20px var(--primary-glow);
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===================== Table ===================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: rgba(108,99,255,0.08);
  border-bottom: 1px solid var(--border-glass);
}

th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-primary);
}

tr:last-child td { border-bottom: none; }

tbody tr { transition: background 0.15s; }
tbody tr:hover { background: var(--bg-card-hover); }

.mime-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===================== Admin Layout ===================== */
.admin-layout {
  display: block;
  width: 100%;
  min-height: calc(100vh - 73px);
}

.sidebar {
  background: rgba(13,13,26,0.9);
  border-right: 1px solid var(--border-glass);
  padding: 30px 20px;
  position: sticky;
  top: 73px;
  height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
}

.sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 12px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(108,99,255,0.12);
  color: var(--text-primary);
  border: 1px solid rgba(108,99,255,0.2);
}

.sidebar-link.active { color: var(--primary); }

.sidebar-bottom { margin-top: auto; }

.main-content {
  margin-left: 0 !important;
  min-height: calc(100vh - 56px);
  padding: 40px;
}

.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
}

.page-header p {
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  padding: 24px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===================== Empty State ===================== */
.empty-state {
  text-align: center;
  padding: 80px 40px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===================== Login page ===================== */
.auth-wrapper {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
}

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

.auth-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 16px;
  box-shadow: 0 0 40px var(--primary-glow);
}

.auth-logo.avatar-circle,
.profile-upload-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(108, 99, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.25);
}

.auth-logo.avatar-circle img,
.profile-upload-circle img,
.profile-upload-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-upload-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.profile-upload-circle {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-upload-circle:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(108, 99, 255, 0.35);
}

.profile-upload-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.profile-upload-circle input[type="file"] {
  display: none;
}

.default-avatar-svg {
  width: 56%;
  height: 56%;
  opacity: 0.7;
}

.navbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(108, 99, 255, 0.4);
  flex-shrink: 0;
}

.navbar-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

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

.dashboard-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(108, 99, 255, 0.35);
}

.dashboard-profile-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.btn-delete-account {
  background: rgba(255, 101, 132, 0.12);
  color: var(--secondary);
  border: 1px solid rgba(255, 101, 132, 0.35);
  font-size: 0.8rem;
  padding: 6px 14px;
}

.btn-delete-account:hover {
  background: rgba(255, 101, 132, 0.22);
}

.combobox-wrap {
  position: relative;
}

.combobox-list {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 200px;
  overflow-y: auto;
  background: #16162a;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.combobox-list.open {
  display: block;
}

.combobox-list li {
  padding: 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.combobox-list li:hover,
.combobox-list li.active {
  background: rgba(108, 99, 255, 0.15);
  color: var(--text-primary);
}

.delete-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.delete-modal.active {
  display: flex;
}

.delete-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(6px);
}

.delete-modal-card {
  position: relative;
  width: 92%;
  max-width: 420px;
  padding: 32px 28px;
  z-index: 1;
  border-color: rgba(255, 101, 132, 0.35);
}

.auth-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
}

.auth-header p {
  color: var(--text-secondary);
  margin-top: 4px;
}

.security-code-input {
  font-size: 1.75rem !important;
  letter-spacing: 10px;
  text-align: center;
  font-family: ui-monospace, monospace;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-success {
  background: rgba(67, 233, 123, 0.15);
  color: var(--accent);
}

.badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
}

.data-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

/* ===================== Progress bar ===================== */
.upload-progress {
  margin-top: 20px;
  display: none;
}

.progress-bar-bg {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 100px;
  width: 0%;
  transition: width 0.3s ease;
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
  }
  .main-content { padding: 24px 16px; }
  .navbar { padding: 16px 20px; }
}

/* Google Places Autocomplete */
.pac-container {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #dee2e6;
    font-family: inherit;
    z-index: 9999 !important;
    margin-top: 2px;
}
.pac-item {
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.4;
}
.pac-item:hover {
    background-color: #f8f9fa;
}
.pac-item-query {
    font-weight: 600;
    color: #212529;
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  BOOKING PAGE — bk-* design system                            ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Page header ─────────────────────────────────────────────── */
.bk-page-header {
  margin-bottom: 28px;
}

/* ── Two-column grid ─────────────────────────────────────────── */
.booking-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
}

.bk-form-col,
.bk-drivers-col {
  min-width: 0; /* prevent overflow */
}

/* ── Card shell ──────────────────────────────────────────────── */
.bk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.bk-drivers-card {
  display: flex;
  flex-direction: column;
}

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

.bk-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bk-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.bk-card-body {
  padding: 24px;
}

/* ── Form field groups ───────────────────────────────────────── */
.bk-field-group {
  margin-bottom: 18px;
}

.bk-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.bk-label-dot {
  font-size: 0.6rem;
  vertical-align: middle;
}

.bk-dot-pickup  { color: #43E97B; }
.bk-dot-dropoff { color: var(--secondary); }

.bk-label-optional {
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--text-muted);
  letter-spacing: 0;
}

/* ── Input row (text + buttons) ──────────────────────────────── */
.bk-input-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: rgba(255,255,255,0.04);
}

.bk-input-row:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

/* Base input — shares class with textarea & select */
.bk-input {
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Inside an input-row the border is on the row, not the input */
.bk-input-row .bk-input {
  border: none;
  border-radius: 0;
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  background: transparent;
}

.bk-input::placeholder { color: var(--text-muted); }

.bk-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

.bk-input-row .bk-input:focus {
  box-shadow: none; /* row handles focus ring */
}

.bk-textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

.bk-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ── Icon buttons inside input row ───────────────────────────── */
.bk-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  background: rgba(255,255,255,0.04);
  border: none;
  border-left: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.bk-icon-btn:hover {
  background: rgba(108,99,255,0.12);
  color: var(--primary);
}

.bk-icon-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bk-btn-icon { font-size: 1rem; }

/* Map pin button — icon only, narrower */
.bk-map-btn { padding: 0 12px; }

/* ── Visual connector between fields ─────────────────────────── */
.bk-connector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 2px 16px;
}

.bk-connector-line {
  flex: 1;
  height: 1px;
  background: var(--border-glass);
}

.bk-connector-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

/* ── Fare estimate pill ───────────────────────────────────────── */
.bk-fare-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(67,233,123,0.08);
  border: 1px solid rgba(67,233,123,0.25);
  margin-bottom: 18px;
  gap: 12px;
}

.bk-fare-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.bk-fare-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.bk-fare-amount {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* ── General fare notice ─────────────────────────────────────── */
.bk-fare-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(108,99,255,0.06);
  border: 1px solid rgba(108,99,255,0.15);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ── Char counter ─────────────────────────────────────────────── */
.bk-char-counter {
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Field hint ──────────────────────────────────────────────── */
.bk-field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* ── Error messages ──────────────────────────────────────────── */
.bk-error {
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 4px;
  min-height: 0;
}

/* ── Submit button ───────────────────────────────────────────── */
.bk-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.15s;
  text-decoration: none;
  margin-top: 4px;
}

.bk-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.bk-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bk-submit-icon { font-size: 1.1rem; }

/* Alias for <a> fallback (sign-in-to-book) */
a.bk-submit-btn,
a.bk-submit-link {
  display: flex;
  text-align: center;
  color: #fff;
}
a.bk-submit-btn:hover,
a.bk-submit-link:hover {
  color: #fff;
}

/* ── Driver count badge ──────────────────────────────────────── */
.bk-count-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(67,233,123,0.12);
  border: 1px solid rgba(67,233,123,0.3);
  color: var(--accent);
  white-space: nowrap;
}

/* ── Driver list panel ───────────────────────────────────────── */
.bk-drivers-list {
  flex: 1;
  overflow-y: auto;
  max-height: 520px;
}

/* ── Individual driver card ──────────────────────────────────── */
.bk-driver-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-glass);
  cursor: pointer;
  transition: background 0.15s;
  outline: none;
  position: relative;
}

.bk-driver-card:last-child {
  border-bottom: none;
}

.bk-driver-card:hover {
  background: rgba(255,255,255,0.03);
}

.bk-driver-card:focus-visible {
  box-shadow: inset 0 0 0 2px var(--primary);
}

.bk-driver-card.selected {
  border-left: 3px solid var(--primary);
  background: rgba(108,99,255,0.07);
  padding-left: 17px; /* compensate for border-left */
}

/* ── Driver avatar ───────────────────────────────────────────── */
.bk-driver-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108,99,255,0.3), rgba(67,233,123,0.25));
  border: 1px solid rgba(108,99,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

/* ── Driver info ─────────────────────────────────────────────── */
.bk-driver-info {
  flex: 1;
  min-width: 0;
}

.bk-driver-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-driver-vehicle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-driver-meta {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.bk-rating {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

.bk-rides {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Driver right column ─────────────────────────────────────── */
.bk-driver-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.bk-driver-distance {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.bk-driver-fare {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

/* ── Online status dot ───────────────────────────────────────── */
.bk-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 2px;
  flex-shrink: 0;
}

.bk-dot-available { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.bk-dot-booked    { background: var(--warning); }
.bk-dot-on-trip   { background: var(--secondary); }

/* ── Drivers panel footer ────────────────────────────────────── */
.bk-drivers-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Empty state ─────────────────────────────────────────────── */
.bk-empty-state {
  text-align: center;
  padding: 60px 32px;
}

.bk-empty-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 14px;
  opacity: 0.4;
}

.bk-empty-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.bk-empty-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Map modal ───────────────────────────────────────────────── */
.bk-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.bk-modal-header {
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.02);
  padding: 16px 20px;
}

.bk-modal-title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}

.bk-modal-footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.02);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bk-address-preview {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Loading spinner for buttons ─────────────────────────────── */
.bk-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(108,99,255,0.25);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: bk-spin 0.6s linear infinite;
  vertical-align: middle;
}

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

/* ── Mobile: single column ───────────────────────────────────── */
@media (max-width: 767px) {
  .booking-grid {
    display: block;
  }

  .bk-drivers-col {
    margin-top: 20px;
  }

  .bk-card-body {
    padding: 18px;
  }

  .bk-card-header {
    padding: 16px 18px 12px;
  }

  .bk-drivers-list {
    max-height: 400px;
  }

  .bk-submit-btn {
    padding: 13px 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .bk-icon-btn .bk-btn-text {
    display: none; /* hide text labels on very small screens, show icons only */
  }
  .bk-loc-btn { padding: 0 10px; }
}

/* ===================== Mobile Layout Adjustments (Issue 1) ===================== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .row > [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .btn, .form-control, .form-select {
        min-height: 44px;
        font-size: 1rem;
    }
    .input-group .btn {
        min-width: 44px;
    }
    
    .card-body {
        padding: 12px;
    }
    .card-header {
        padding: 12px;
    }
    .container, .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    #mapModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }
    #mapModal .modal-content {
        height: 100%;
        border-radius: 0;
    }
    #map-container {
        height: calc(100vh - 140px) !important;
    }

    /* Driver Notification Modal (Issue 2) */
    #rideRequestModal .modal-dialog {
        margin: 16px;
    }
    #rideRequestModal .modal-footer .btn {
        font-size: 1.1rem;
        min-height: 52px;
    }
}

/* ===================== Password Toggle (Issue 3) ===================== */
.toggle-password {
    border-left: none;
    background: transparent;
    color: var(--bs-secondary);
}
.toggle-password:hover {
    color: var(--bs-body-color);
    background: transparent;
}
.toggle-password:focus {
    box-shadow: none;
    outline: none;
}


/* ── Sidebar base ── */
.app-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #1a1a2e;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
}
.app-sidebar.open {
    left: 0;
}

/* ── Overlay ── */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ── Header ── */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logo {
    height: 32px;
    object-fit: contain;
}
.sidebar-close-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    line-height: 1;
    transition: color 0.15s, background 0.15s;
}
.sidebar-close-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ── User info block ── */
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #534AB7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-initials {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.sidebar-user-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}
.sidebar-user-role {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    margin-top: 2px;
}

/* ── Nav links ── */
.sidebar-nav {
    list-style: none;
    padding: 12px 0;
    margin: 0;
    flex: 1;
}
.sidebar-nav li {
    margin: 2px 8px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.15s, color 0.15s;
}
.sidebar-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.sidebar-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.sidebar-link.active {
    background: #534AB7;
    color: #fff;
    font-weight: 500;
}

/* ── Footer / Logout ── */
.sidebar-footer {
    padding: 12px 8px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logout {
    color: rgba(255,100,100,0.8) !important;
}
.sidebar-logout:hover {
    background: rgba(255,80,80,0.12) !important;
    color: #ff6b6b !important;
}

/* ── Top navbar ── */
.top-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    background: #1a1a2e;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hamburger-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.hamburger-btn:hover {
    background: rgba(255,255,255,0.1);
}



/* ── Status badge ── */
.status-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.status-available { background: #d4edda; color: #155724; }
.status-booked    { background: #fff3cd; color: #856404; }
.status-on_trip   { background: #f8d7da; color: #721c24; }
.status-offline   { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }

/* Main content never shifts — sidebar floats over it */
.main-content, .container {
    margin-left: 0 !important;
}
.top-navbar {
    margin-left: 0 !important;
}

/* Hamburger always visible on all screen sizes */
.hamburger-btn {
    display: flex !important;
}

/* Overlay always active when sidebar is open */
.sidebar-overlay {
    display: block;
}

@keyframes slideDown { from { opacity: 0; transform: translateX(-50%) translateY(-16px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }


/* --- NEW NAVBAR ALIGNMENT --- */
.top-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    background: #1a1a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Left group: hamburger + brand */
.navbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Right group: status badge */
.navbar-right {
    display: flex;
    align-items: center;
}

/* Brand: logo + text side by side */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Logo image */
.navbar-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1); /* Makes dark logo white */
}

/* SwiftBurro text */
.navbar-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Hamburger button */
.hamburger-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
}
.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===================================================
   Notification System Styles
   =================================================== */

.notification-bell-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 8px;
}
.notification-bell-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.notification-bell-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
}
.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    max-height: 420px;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 1100;
    display: none;
    flex-direction: column;
    overflow: hidden;
    margin-top: 8px;
}
.notification-dropdown.open {
    display: flex;
}
.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}
.btn-link-small {
    background: none;
    border: none;
    color: #8B85E0;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    font-weight: 500;
    transition: color 0.15s;
}
.btn-link-small:hover {
    color: #a49eff;
    text-decoration: underline;
}
.notification-list {
    overflow-y: auto;
    flex: 1;
    max-height: 320px;
}
.notification-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(240, 240, 255, 0.85);
    text-decoration: none;
    transition: background 0.15s;
    text-align: left;
}
.notification-item:hover {
    background: rgba(255, 255, 255, 0.04);
}
.notification-item.unread {
    background: rgba(108, 99, 255, 0.12);
    border-left: 3px solid #6C63FF;
}
.notification-item .notif-title {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
    color: #ffffff;
}
.notification-item .notif-message {
    font-size: 0.8rem;
    color: rgba(240, 240, 255, 0.6);
    margin-bottom: 4px;
    line-height: 1.3;
}
.notification-item .notif-time {
    font-size: 0.7rem;
    color: rgba(240, 240, 255, 0.4);
}
.notification-dropdown-footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}
.notification-dropdown-footer a {
    color: #8B85E0;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}
.notification-dropdown-footer a:hover {
    color: #a49eff;
}
.notification-empty {
    padding: 32px 16px;
    text-align: center;
    color: rgba(240, 240, 255, 0.4);
    font-size: 0.85rem;
}

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

@media (max-width: 575px) {
    .notification-dropdown {
        position: fixed;
        top: 56px;
        right: 8px;
        left: 8px;
        width: auto;
    }
}

/* ===================================================
   Language Switcher Styles
   =================================================== */
.language-switcher-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 8px;
}
.language-switcher-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    padding: 8px 10px;
    min-height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.language-switcher-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.lang-code {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 1100;
    display: none;
    flex-direction: column;
    padding: 6px;
    margin-top: 8px;
}
.language-dropdown.open {
    display: flex;
}
.language-option {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    text-align: left;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s, color 0.15s;
}
.language-option:hover {
    background: rgba(255,255,255,0.08);
}
.language-option.active {
    background: rgba(108, 99, 255, 0.2);
    color: #fff;
    font-weight: 500;
}
.language-option i {
    color: #8B85E0;
}


