/* ==========================================================================
   CARFIX — CARWASH MODULE STYLES (carwash.css)
   مطابق لـ CarWashScreen.kt + QuickWashScreen.kt + ProfessionalWashScreen.kt
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CARWASH — Selector Cards (اختر نوع الغسيل)
   -------------------------------------------------------------------------- */
.wash-selector {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
}

.wash-selector-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  text-align: center;
}

.wash-selector-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin-top: -var(--space-3);
}

/* Wash Type Card — the two big selectable cards */
.wash-type-card {
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-base);
}

.wash-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.40);
  border-color: rgba(255,255,255,0.35);
}

/* Gradient header band (like the Box with horizontalGradient) */
.wash-type-header {
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.wash-type-header-quick {
  background: linear-gradient(to right, #3B82F6, #1E40AF);
}

.wash-type-header-pro {
  background: linear-gradient(to right, #6D9B3A, #3D5A20);
}

.wash-type-emoji {
  font-size: 34px;
  flex-shrink: 0;
}

.wash-type-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: #fff;
}

.wash-type-subtitle {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}

/* Features list */
.wash-type-body {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.wash-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(255,255,255,0.90);
}

.wash-feature-check {
  color: var(--accent-orange);
  font-size: 16px;
  flex-shrink: 0;
}

/* CTA Button inside card */
.wash-type-btn {
  width: 100%;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  transition: filter 0.15s;
}

.wash-type-btn:hover { filter: brightness(1.10); }

.wash-type-btn-quick { background: #3B82F6; }
.wash-type-btn-pro   { background: #6D9B3A; }

/* --------------------------------------------------------------------------
   2. QUICK WASH SCREEN
   -------------------------------------------------------------------------- */
.wash-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.wash-header-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 18px;
  transition: background 0.15s;
  flex-shrink: 0;
}

.wash-header-back:hover { background: rgba(255,255,255,0.14); }

.wash-header-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.wash-header-icon-quick { background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.30); }
.wash-header-icon-pro   { background: rgba(109,155,58,0.15); border: 1px solid rgba(109,155,58,0.30); }

.wash-header-title { font-size: var(--text-lg); font-weight: var(--font-bold); color: var(--text-primary); }
.wash-header-sub   { font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }

/* Location Card — WashGradientStart tint */
.wash-location-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  margin: var(--space-4) var(--space-6);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.20);
  border-radius: var(--radius-lg);
}

.wash-location-icon {
  font-size: 22px;
  color: #3B82F6;
  flex-shrink: 0;
}

.wash-location-label {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: rgba(255,255,255,0.60);
}

.wash-location-address {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-top: 1px;
}

.wash-change-btn {
  margin-right: auto;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: #3B82F6;
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
}

.wash-change-btn:hover { opacity: 0.75; }

/* Schedule Selector Panel */
.wash-schedule-panel {
  margin: 0 var(--space-6) var(--space-4);
  padding: var(--space-4);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.wash-schedule-title {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.wash-time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.time-slot-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.70);
  cursor: pointer;
  transition: var(--transition-fast);
}

.time-slot-chip.is-selected {
  background: #3B82F6;
  border-color: transparent;
  color: #fff;
}

.time-slot-chip.is-selected-pro {
  background: #6D9B3A;
  border-color: transparent;
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. PROFESSIONAL WASH — Info Banner
   -------------------------------------------------------------------------- */
.pro-wash-banner {
  margin: var(--space-4) var(--space-6);
  padding: var(--space-4);
  background: linear-gradient(to right, rgba(109,155,58,0.50), rgba(59,130,246,0.40));
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pro-wash-banner-emoji { font-size: 36px; }

.pro-wash-schedule-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 var(--space-6) var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
}

.pro-wash-schedule-icon { font-size: 20px; color: #3B82F6; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   4. BOOKING MODAL — Wash-specific (reuses repair modal base classes)
   -------------------------------------------------------------------------- */
.wash-booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-4);
  animation: fadeIn 0.2s ease;
}

.wash-booking-modal-overlay.is-hidden { display: none; }

.wash-booking-modal {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(12, 16, 26, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .wash-selector     { padding: var(--space-4); }
  .wash-location-card { margin: var(--space-3) var(--space-4); }
  .wash-schedule-panel { margin: 0 var(--space-4) var(--space-3); }
  .pro-wash-banner   { margin: var(--space-3) var(--space-4); }
  .pro-wash-schedule-note { margin: 0 var(--space-4) var(--space-3); }
}
