/* ============================================
   BEST STAR GROUP - Shared Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #f97316 #1a1a2e;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1a1a2e; }
::-webkit-scrollbar-thumb { background: #f97316; border-radius: 4px; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: radial-gradient(ellipse at 20% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(234, 88, 12, 0.1) 0%, transparent 40%),
              radial-gradient(ellipse at 50% 100%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
              linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
  background-attachment: fixed;
  color: #f3f4f6;
  min-height: 100vh;
}

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

/* Fonts */
.font-orbitron { font-family: 'Orbitron', sans-serif; }
.font-rajdhani { font-family: 'Rajdhani', sans-serif; }
.font-vazirmatn { font-family: 'Vazirmatn', sans-serif; }

/* Override ALL fonts with Vazirmatn in admin pages */
body.font-vazirmatn,
body.font-vazirmatn *,
body.font-vazirmatn *::before,
body.font-vazirmatn *::after {
  font-family: 'Vazirmatn', sans-serif !important;
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
  50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.6); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

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

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-glow { animation: glow 2s ease-in-out infinite; }
.animate-slide-left { animation: slideInLeft 0.8s ease-out forwards; }
.animate-slide-right { animation: slideInRight 0.8s ease-out forwards; }
.animate-slide-up { animation: slideInUp 0.6s ease-out forwards; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-fade-in { animation: fadeIn 0.3s ease-out forwards; }

/* ============================================
   Typography
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glow 2s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  color: #d1d5db;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f97316;
  transition: width 0.3s ease;
}

.nav-link:hover { color: #fb923c; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #f97316; }
.nav-link.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #f97316;
  cursor: pointer;
  object-fit: cover;
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #f3f4f6;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #fb923c, #f97316);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.btn-secondary:hover {
  background: rgba(249, 115, 22, 0.25);
  border-color: rgba(249, 115, 22, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fb923c;
  border: 2px solid rgba(249, 115, 22, 0.5);
}
.btn-outline:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: #f97316;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}
.btn-danger:hover {
  background: linear-gradient(135deg, #f87171, #ef4444);
}

.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}
.btn-success:hover {
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1.125rem; }
.btn-icon { padding: 0.5rem; border-radius: 0.5rem; }

.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Google sign-in button */
.btn-google {
  background: white;
  color: #333;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1.5rem;
}
.btn-google:hover {
  background: #f9fafb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-google img {
  width: 20px;
  height: 20px;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-5px);
}

.card-gradient-border {
  position: relative;
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #f97316, #ea580c, #f97316);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
}

.card-body { padding: 1.5rem; }
.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.15);
}
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(249, 115, 22, 0.15);
}

/* ============================================
   Forms
   ============================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  color: #d1d5db;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.75rem;
  color: #f3f4f6;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.form-control::placeholder { color: #6b7280; }

.form-control-file {
  padding: 0.5rem;
  background: rgba(31, 41, 55, 0.5);
  border: 2px dashed rgba(75, 85, 99, 0.5);
  border-radius: 0.75rem;
  color: #d1d5db;
  width: 100%;
  cursor: pointer;
}

.form-control-file:hover { border-color: #f97316; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5rem;
  padding-right: 2.5rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-check input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #f97316;
}

.form-text { font-size: 0.8rem; color: #9ca3af; margin-top: 0.25rem; }
.form-error { font-size: 0.8rem; color: #ef4444; margin-top: 0.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   Tables (Admin)
   ============================================ */
.table-container {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table thead {
  background: rgba(249, 115, 22, 0.1);
}

.data-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fb923c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.data-table td {
  padding: 0.875rem 1rem;
  border-top: 1px solid rgba(75, 85, 99, 0.2);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 0.2s;
}

.data-table tbody tr:hover {
  background: rgba(249, 115, 22, 0.05);
}

/* ============================================
   Badges & Status
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-pending { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }
.badge-approved { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-rejected { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-completed { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-cancelled { background: rgba(107, 114, 128, 0.15); color: #9ca3af; border: 1px solid rgba(107, 114, 128, 0.3); }
.badge-active { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-premium { background: rgba(249, 115, 22, 0.2); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay.hidden { display: none; }

.modal {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 1rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideDown 0.3s ease-out;
}

.modal-lg { max-width: 700px; }
.modal-xl { max-width: 900px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.modal-close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

.modal-body { padding: 1.5rem; }

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(12px);
  animation: slideInRight 0.3s ease-out;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 450px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.toast-success { background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.3); color: #4ade80; }
.toast-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #f87171; }
.toast-info { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); color: #60a5fa; }
.toast-warning { background: rgba(234, 179, 8, 0.15); border: 1px solid rgba(234, 179, 8, 0.3); color: #facc15; }

/* ============================================
   Loading
   ============================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.9);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.loading-overlay.hidden { display: none; }

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(249, 115, 22, 0.2);
  border-top-color: #f97316;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm { width: 20px; height: 20px; border-width: 2px; }

/* ============================================
   Page Layout
   ============================================ */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 1rem 2rem;
  min-height: 100vh;
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: #9ca3af;
  font-size: 1.1rem;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #f97316, transparent);
}

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

.admin-sidebar {
  width: 260px;
  background: rgba(15, 15, 26, 0.95);
  border-right: 1px solid rgba(249, 115, 22, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  padding: 1.5rem 0;
  overflow-y: auto;
  transition: transform 0.3s;
}

.admin-sidebar-header {
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.2);
  margin-bottom: 1rem;
}

.admin-sidebar-nav {
  padding: 0 0.75rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  color: #9ca3af;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
  cursor: pointer;
}

.admin-nav-item:hover {
  background: rgba(249, 115, 22, 0.1);
  color: #fb923c;
}

.admin-nav-item.active {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.admin-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }

.admin-content {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.2);
}

@media (max-width: 1024px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
  }
}

/* ============================================
   Stats Cards
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.stat-icon-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.stat-icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.stat-icon-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ============================================
   Car Cards (Fleet)
   ============================================ */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.car-card {
  background: linear-gradient(to bottom, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.car-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.car-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.car-card:hover .car-card-image img {
  transform: scale(1.05);
}

.car-card-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, transparent 50%);
}

.car-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: #f97316;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  z-index: 2;
}

.car-card-body { padding: 1.25rem; }

.car-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.car-card-subtitle {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.car-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.car-feature-tag {
  padding: 0.2rem 0.6rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: #fb923c;
}

.car-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.car-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
}

.car-price span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 400;
}

/* ============================================
   Booking Summary
   ============================================ */
.booking-summary {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(75, 85, 99, 0.2);
}

.booking-summary-row:last-child { border-bottom: none; }

.booking-summary-total {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f97316;
}

/* ============================================
   Empty State
   ============================================ */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #9ca3af;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: rgba(75, 85, 99, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-icon svg { width: 40px; height: 40px; color: #6b7280; }

.empty-state-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

/* ============================================
   Image Upload Preview
   ============================================ */
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.image-preview-item {
  position: relative;
  height: 100px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

/* ============================================
   Filters Bar
   ============================================ */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.2);
  border-radius: 0.75rem;
}

.filter-chip {
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(75, 85, 99, 0.3);
  background: rgba(31, 41, 55, 0.5);
  color: #d1d5db;
}

.filter-chip:hover { border-color: #f97316; color: #fb923c; }
.filter-chip.active {
  background: rgba(249, 115, 22, 0.15);
  border-color: #f97316;
  color: #f97316;
}

/* ============================================
   User Dropdown
   ============================================ */
.user-dropdown {
  position: relative;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 220px;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 0.75rem;
  padding: 0.5rem;
  z-index: 60;
  animation: slideDown 0.2s ease-out;
}

.user-dropdown-menu.hidden { display: none; }

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  color: #d1d5db;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  text-align: left;
}

.user-dropdown-item:hover {
  background: rgba(249, 115, 22, 0.1);
  color: #fb923c;
}

.user-dropdown-divider {
  height: 1px;
  background: rgba(75, 85, 99, 0.3);
  margin: 0.25rem 0;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pagination-btn {
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.3);
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
}

.pagination-btn:hover { border-color: #f97316; color: #fb923c; }
.pagination-btn.active { background: rgba(249, 115, 22, 0.15); border-color: #f97316; color: #f97316; }
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================
   Footer
   ============================================ */
.main-footer {
  padding: 3rem 1rem;
  border-top: 1px solid rgba(75, 85, 99, 0.2);
  margin-top: 3rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(75, 85, 99, 0.2);
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-orange { color: #f97316; }
.text-green { color: #4ade80; }
.text-red { color: #f87171; }
.text-gray { color: #9ca3af; }
.text-white { color: white; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

.hidden { display: none !important; }
.w-full { width: 100%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cursor-pointer { cursor: pointer; }

/* Phone input with country code */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
}

.phone-input-group select {
  width: 140px;
  flex-shrink: 0;
}

.phone-input-group input {
  flex: 1;
}

/* OTP input */
.otp-inputs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.otp-input {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  background: rgba(31, 41, 55, 0.5);
  border: 2px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.75rem;
  color: #f3f4f6;
  transition: border-color 0.3s;
}

.otp-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.75rem 1.25rem;
  color: #9ca3af;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
}

.tab:hover { color: #fb923c; }
.tab.active { color: #f97316; border-bottom-color: #f97316; }

/* Confirmation Dialog */
.confirm-dialog {
  text-align: center;
  padding: 1rem 0;
}

.confirm-dialog-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-dialog-icon.warning { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.confirm-dialog-icon.danger { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.confirm-dialog-icon.success { background: rgba(34, 197, 94, 0.15); color: #4ade80; }

/* ============================================
   Language Switcher
   ============================================ */
.lang-switcher {
  position: relative;
  z-index: 100;
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 0.5rem;
  color: #fb923c;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.lang-switcher-btn:hover { background: rgba(249, 115, 22, 0.2); border-color: rgba(249, 115, 22, 0.4); }
.lang-switcher-btn .lang-flag { font-size: 1rem; line-height: 1; }
.lang-switcher-btn .lang-code { font-family: 'Orbitron', sans-serif; font-size: 0.7rem; letter-spacing: 0.05em; }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  background: #1a1a2e;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 0.5rem;
  padding: 0.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 200;
}
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0.35rem;
  color: #d1d5db;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
[dir="rtl"] .lang-option { text-align: right; }
.lang-option:hover { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.lang-option.active { background: rgba(249, 115, 22, 0.2); color: #f97316; font-weight: 600; }
.lang-option .lang-flag { font-size: 1.1rem; }

/* ============================================
   RTL Support
   ============================================ */
[dir="rtl"] body { font-family: 'Vazirmatn', 'Rajdhani', sans-serif; }
[dir="rtl"] .font-rajdhani { font-family: 'Vazirmatn', sans-serif; }

/* RTL flex direction flips */
[dir="rtl"] .nav-container { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .nav-logo { flex-direction: row-reverse; }

/* RTL text alignment */
[dir="rtl"] .page-header { text-align: center; }
[dir="rtl"] .form-label { text-align: right; }

/* RTL admin sidebar */
[dir="rtl"] .admin-layout { direction: rtl; }
[dir="rtl"] .admin-sidebar-nav .admin-nav-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .admin-sidebar-nav .admin-nav-item svg { margin-left: 0.75rem; margin-right: 0; }

/* RTL spacing adjustments */
[dir="rtl"] .gap-2 > * { margin-left: 0; }
[dir="rtl"] .gap-3 > * { margin-left: 0; }

/* RTL cards and grid */
[dir="rtl"] .card { text-align: right; }

/* RTL table */
[dir="rtl"] table th, [dir="rtl"] table td { text-align: right; }

/* RTL modal */
[dir="rtl"] .modal-header { flex-direction: row-reverse; }
[dir="rtl"] .modal-footer { flex-direction: row-reverse; }

/* RTL specific overrides for inline styles */
[dir="rtl"] [style*="text-align:left"] { text-align: right !important; }
[dir="rtl"] [style*="text-align: left"] { text-align: right !important; }

/* Ensure Vazirmatn font loads for RTL */
[dir="rtl"] .font-orbitron { font-family: 'Orbitron', sans-serif; }
