/* ==========================================================================
   Basti's Platinum Car Wash - Design System & Premium Styling
   Mobile-First Architecture
   ========================================================================== */

/* Design Tokens */
:root {
  /* Colors */
  --bg-color: #0a0a0a;
  --card-bg: rgba(20, 20, 20, 0.75);
  --card-bg-hover: rgba(26, 26, 26, 0.85);
  --card-bg-selected: rgba(255, 255, 255, 0.05);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-active: rgba(255, 255, 255, 0.35);

  --text-primary: #ffffff;
  --text-secondary: #a3a3ac;
  --text-muted: #71717a;

  --primary-accent: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Effects */
  --card-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  --transition-speed: 0.25s;
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
}

/* Reset & Base Elements */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  font-family: var(--font-family);
  color: var(--text-primary);
  height: 100%;
}

body {
  background-color: var(--bg-color);
  min-height: 100%;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Background Depth Glows */
.glow-bg {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 60vh;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.035) 0%,
      rgba(255, 255, 255, 0.01) 40%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Mobile-First Layout Shell */
.app-container {
  width: 100%;
  max-width: 480px;
  /* Centered container matching mobile phone width on desktop viewports */
  padding: 1.5rem 1rem 3rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Header Component */
.app-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.25rem;
  padding: 0.75rem 0;
}

/* Perfect centering layout for Logo */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
  min-height: 60px;
}

.main-logo {
  display: block;
  max-height: 220px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  animation: fadeIn 1s ease-out;
}

/* Title Typography with luxury metal gradients */
.hero-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
  padding: 0 0.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #a2a8b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.8s ease-out;
}

/* Main Content Area */
.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Section Containers */
.booking-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

/* Vehicle Selector Grid */
.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vehicle-card {
  position: relative;
}

.card-content {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Card Hover States */
.vehicle-card:hover .card-content {
  border-color: var(--border-hover);
  background: var(--card-bg-hover);
  transform: translateY(-2px);
}

/* Card Active / Selected States (When vehicle quantity > 0) */
.vehicle-card.active .card-content,
.vehicle-card.selected .card-content,
.vehicle-card.has-qty .card-content {
  border-color: var(--border-active);
  background: var(--card-bg-selected);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.vehicle-image-wrapper {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
}

.vehicle-img {
  max-width: 180%;
  max-height: 180%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-speed) ease;
}

.vehicle-card:hover .vehicle-img {
  transform: scale(1.06);
}

.vehicle-name {
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-top: 0.25rem;
}

.vehicle-price-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* Multi-Vehicle Quantity Counter Controls */
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  width: 100%;
}

.btn-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all var(--transition-speed) ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn-qty:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--border-hover);
  color: #ffffff;
}

.btn-qty:active:not(:disabled) {
  transform: scale(0.95);
  border-color: var(--border-active);
}

.btn-qty:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
}

.btn-qty:disabled,
.btn-qty[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-qty-minus,
.btn-qty-plus {
  touch-action: manipulation;
}

.qty-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  min-width: 28px;
  text-align: center;
  display: inline-block;
  user-select: none;
  -webkit-user-select: none;
  font-variant-numeric: tabular-nums;
}

/* Service Detail Cards */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-speed) ease;
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--card-bg-hover);
  transform: translateX(2px);
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.service-icon {
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.service-info {
  flex: 1;
}

.service-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.service-info p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* CTA & Pricing Module */
.cta-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: radial-gradient(ellipse at top,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 80%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pricing-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  max-width: 140px;
  line-height: 1.3;
}

.price-value-container {
  display: flex;
  align-items: baseline;
}

.currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-right: 2px;
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-family);
  letter-spacing: -0.02em;
}

/* Premium Booking Button styling */
.btn-primary {
  width: 100%;
  border: none;
  border-radius: var(--border-radius-md);
  padding: 1.15rem;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  background: linear-gradient(135deg, #ffffff 0%, #dcdfe3 100%);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #eceef1 100%);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.22);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.cta-guarantee {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* Footer Section */
.app-footer {
  margin-top: auto;
  padding-top: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.developer-tag {
  font-size: 0.65rem !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #3f3f46 !important;
  font-weight: 500;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet & Desktop Centering Container Style */
@media (min-width: 500px) {
  body {
    align-items: center;
    padding: 2rem 0;
  }

  .app-container {
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-height: auto;
    margin: auto;
  }

  .glow-bg {
    width: 600px;
    height: 600px;
  }
}

/* ==========================================================================
   Booking Modal & Toast Notification Components
   ========================================================================== */

/* Utility class to hide elements */
.hidden {
  display: none !important;
}

/* Modal Overlay Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Container */
.modal-container {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 2.25rem 1.75rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.02);
  overflow-y: auto;
  max-height: 90vh;
}

.modal-overlay.active .modal-track {
  transform: translateX(0);
  transition: transform 3s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.modal-overlay.exit-right .modal-track {
  transform: translateX(150vw);
  transition: transform 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

.modal-overlay.exit-right {
  opacity: 0;
  transition: opacity 0.6s ease 0.6s;
  pointer-events: none;
}

/* Close Button */
.btn-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding-bottom: 2px;
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  transform: rotate(90deg);
}

/* Modal Header styling */
.modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #c4cbd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.modal-selection-summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.modal-selection-label {
  color: var(--text-muted);
  font-weight: 500;
}

.modal-selection-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-selection-vehicle {
  font-weight: 700;
  color: var(--text-primary);
}

.modal-selection-price {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Forms */
.form-group {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.form-input {
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 0.85rem 1rem;
  transition: all 0.25s ease;
  width: 100%;
}

.form-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.04);
  outline: none;
}

.form-input::placeholder {
  color: #4a4a4f;
}

/* Date/time selector styling adjustments for dark themes */
.form-input[type="datetime-local"] {
  color-scheme: dark;
}

.modal-footer {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Toast Notification overlay */
.toast-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.05);
}

.toast-error {
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow: 0 10px 30px rgba(248, 113, 113, 0.05);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-message {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ==========================================================================
   Admin Interface - Mobile-First Layout & Touch Accessibility
   ========================================================================== */

/* Mobile-First Container for Admin Shell */
#login-container,
#dashboard-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* Enforce Touch Accessibility targets for all interactive elements */
button,
input,
select,
textarea,
a,
.tab,
[role="button"] {
  min-height: 44px;
  min-width: 44px;
}

/* Sticky Navigation Bar for Admin Dashboard */
#admin-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1.1rem;
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

#logout-btn {
  min-height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
}

#logout-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

#logout-btn:active {
  transform: scale(0.97);
}

/* Administrative Tab Layout and State Classes */
#tab-navigation {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#tab-navigation::-webkit-scrollbar {
  display: none;
}

#tab-navigation .tab-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

/* Booking Cards styling */
.booking-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  margin-top: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.booking-card:hover {
  border-color: var(--border-hover);
  background: var(--card-bg-hover);
}

.booking-card.expanded {
  border-color: var(--border-active);
}

/* View A - Summary Information (Tap-friendly) */
.view-a {
  min-height: 60px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  user-select: none;
}

.customer-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customer-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.vehicle-type {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 20px;
}

.booking-time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* View B - Detailed Information */
.view-b {
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeIn var(--transition-speed) ease;
}

.details-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.details-grid p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.details-grid strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Action Buttons Container */
.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.action-buttons button {
  flex: 1;
  min-height: 44px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

/* Button variants with distinct glassmorphic colored tints & borders */
.btn-confirm {
  background: rgba(74, 222, 128, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(74, 222, 128, 0.3) !important;
}

.btn-confirm:hover {
  background: rgba(74, 222, 128, 0.18) !important;
  border-color: rgba(74, 222, 128, 0.7) !important;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.2);
}

.btn-confirm:active {
  transform: scale(0.96);
}

.btn-propose {
  background: rgba(96, 165, 250, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(96, 165, 250, 0.3) !important;
}

.btn-propose:hover {
  background: rgba(96, 165, 250, 0.18) !important;
  border-color: rgba(96, 165, 250, 0.7) !important;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.2);
}

.btn-propose:active {
  transform: scale(0.96);
}

.btn-call {
  background: rgba(167, 139, 250, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-call:hover {
  background: rgba(167, 139, 250, 0.18) !important;
  border-color: rgba(167, 139, 250, 0.7) !important;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.2);
}

.btn-call:active {
  transform: scale(0.96);
}

.btn-cancel {
  background: rgba(248, 113, 113, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(248, 113, 113, 0.3) !important;
}

.btn-cancel:hover {
  background: rgba(248, 113, 113, 0.18) !important;
  border-color: rgba(248, 113, 113, 0.7) !important;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.2);
}

.btn-cancel:active {
  transform: scale(0.96);
}

/* btn-restore (Amber Tint) */
.btn-restore {
  background: rgba(251, 191, 36, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
}
.btn-restore:hover {
  background: rgba(251, 191, 36, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.7) !important;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}
.btn-restore:active {
  transform: scale(0.96);
}

/* btn-delete-perm (Vibrant Red Tint) */
.btn-delete-perm {
  background: rgba(239, 68, 68, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}
.btn-delete-perm:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.7) !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}
.btn-delete-perm:active {
  transform: scale(0.96);
}

.no-bookings {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  margin-top: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Overlay & Calendar Modal styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  overflow-y: auto;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-content {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#close-calendar-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  line-height: 1;
}

#close-calendar-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#close-calendar-btn:active {
  transform: scale(0.95);
}

/* Time Slot & Conflict Styles */
.time-slots-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.time-slots-container::-webkit-scrollbar {
  width: 6px;
}

.time-slots-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.time-slot {
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-speed) ease;
}

.time-slot:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.block-taken {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  color: #fca5a5 !important;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.block-taken:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #ffffff !important;
}

.block-buffer {
  background: rgba(249, 115, 22, 0.12) !important;
  border-color: rgba(249, 115, 22, 0.45) !important;
  color: #fdba74 !important;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.1);
}

.block-buffer:hover {
  background: rgba(249, 115, 22, 0.18) !important;
  border-color: rgba(249, 115, 22, 0.6) !important;
  color: #ffffff !important;
}

.pending-pill-btn {
  padding: 8px 12px !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Admin Panel - Vehicle Type Icons (View A) */
.admin-vehicle-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  margin: 0 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.admin-vehicle-icon {
  height: 50px;
  width: auto;
  max-width: 63px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.95;
  transition: opacity 0.2s ease;
  cursor: default;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .admin-vehicle-icons {
    gap: 4px;
    margin: 0 2px;
  }

  .admin-vehicle-icon {
    height: 50px;
    max-width: 63px;
  }
}

/* Notification Dropdown Container Shell */
.nav-actions {
  position: relative;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 2rem);
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;

  /* Roll-up Transition States (Default Closed / Hidden) */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  pointer-events: none;
}

/* Dropdown Open / Active State */
.notification-dropdown.active,
.notification-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Dropdown Header */
.notification-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.notification-dropdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Notification List Scroll Shell */
.notification-list {
  display: flex;
  flex-direction: column;
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.notification-list::-webkit-scrollbar {
  width: 5px;
}

.notification-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Notification Empty State */
.notification-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  user-select: none;
}

/* Individual Notification Item Card */
.notification-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  user-select: none;
  touch-action: pan-y;
  transition: background 0.18s ease, transform 0.2s ease, opacity 0.2s ease;
  will-change: transform, opacity;
}

.notification-item:last-child {
  border-bottom: none;
}

/* Item Hover State */
.notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notification-item:active {
  background: rgba(255, 255, 255, 0.08);
}

/* Item Typography */
.notification-item-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
}

.notification-item-time {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Touch-Swipe Dragging State */
.notification-item.swiping {
  transition: none;
  cursor: grabbing;
}

/* Swipe-to-Dismiss Right Animation Class */
.notification-item.dismissing-right {
  animation: notificationDismissRight 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

@keyframes notificationDismissRight {
  0% {
    transform: translateX(var(--swipe-x, 0));
    opacity: var(--swipe-opacity, 1);
    max-height: 80px;
    margin-bottom: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ==========================================================================
   Schedule Modal A (sm:A) - Schedule Date & Time Slots Overview
   ========================================================================== */

.sma-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.82);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.sma-overlay.hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sma-modal-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sma-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.sma-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sma-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.sma-date-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.sma-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--transition-speed), background-color var(--transition-speed);
}

.sma-close-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.08);
}

.sma-body {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sma-time-slots {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

/* Empty State Message inside sma-time-slots */
.sma-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.02);
}

/* Interactive Vertical Time Slot Cards */
.sma-time-slot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  user-select: none;
}

.sma-time-slot-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.sma-time-slot-card:active,
.sma-time-slot-card.active {
  border-color: var(--border-active);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(0);
}

.sma-slot-time {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sma-slot-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.sma-slot-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sma-slot-vehicles {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Schedule Modal B (sm:B) - Detailed Booking Breakdown
   ========================================================================== */

.smb-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  z-index: 1050; /* Higher than sm:A (1000) to layer on top */
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.smb-overlay.hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.smb-modal-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.smb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.smb-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.smb-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.smb-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.smb-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--transition-speed), background-color var(--transition-speed);
}

.smb-close-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.08);
}

.smb-body {
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.smb-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

/* Detail Section Groups inside smb-details */
.smb-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.smb-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.smb-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.4;
  gap: 1rem;
}

.smb-label {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.smb-value {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

.smb-footer {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 10, 10, 0.4);
}

.smb-go-to-booking-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

/* ==========================================================================
   Booking Deep-Link Highlight Animation (Phase 6 Step 3)
   ========================================================================== */

@keyframes bookingPulseHighlight {
  0% {
    border-color: rgba(212, 175, 55, 1);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.6), inset 0 0 12px rgba(212, 175, 55, 0.2);
    transform: scale(1.015);
  }
  30% {
    border-color: rgba(212, 175, 55, 0.85);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
    transform: scale(1.01);
  }
  70% {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    transform: scale(1);
  }
  100% {
    border-color: var(--border-color);
    box-shadow: none;
    transform: scale(1);
  }
}

.highlight-booking {
  animation: bookingPulseHighlight 3s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  position: relative;
  z-index: 5;
}

.bubble {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  animation: popOut ease-out forwards;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1));
}

@keyframes popOut {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
  }
  100% {
    transform: translate(var(--end-x), var(--end-y)) scale(1.2);
    opacity: 0;
  }
}

.supercar {
  position: absolute;
  bottom: -15px;
  right: -110px;
  width: 160px;
  z-index: 10;
  pointer-events: none;
  animation: driveBounce 0.4s infinite alternate;
}

@keyframes driveBounce { 
  from { transform: translateY(0); } 
  to { transform: translateY(-4px); } 
}

.hero-bubble {
  position: fixed;
  left: 50%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(67,100,247,0.2));
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.6), 0 10px 30px rgba(0,0,0,0.2);
  z-index: 10000;
  pointer-events: none;
  animation: floatUp 3.5s ease-out forwards, sway 1.5s ease-in-out infinite alternate;
}

.hero-bubble.pop { 
  animation: popBurst 0.15s ease-out forwards; 
}

@keyframes floatUp { 
  0% { top: 110%; opacity: 0; } 
  10% { opacity: 1; } 
  100% { top: 50%; margin-top: -50px; } 
}

@keyframes sway { 
  0% { transform: translateX(-15px); } 
  100% { transform: translateX(15px); } 
}

@keyframes popBurst { 
  0% { transform: scale(1); opacity: 1; } 
  100% { transform: scale(1.8); opacity: 0; } 
}

.droplet {
  position: fixed;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  animation: splashOut ease-out forwards;
}

@keyframes splashOut { 
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 
  100% { transform: translate(var(--end-x), var(--end-y)) scale(0); opacity: 0; } 
}

.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  text-align: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.success-overlay.reveal { 
  opacity: 1; 
  pointer-events: all; 
}

.success-icon { 
  width: 64px; 
  height: 64px; 
  margin-bottom: 1.25rem; 
}

.success-heading { 
  color: #ffffff; 
  font-size: 1.5rem; 
  font-weight: 800; 
  letter-spacing: 0.05em; 
  margin-bottom: 0.5rem; 
}

.success-text { 
  color: var(--text-secondary); 
  font-size: 0.95rem; 
  line-height: 1.5; 
}

.modal-track {
  position: relative;
  width: 100%;
  max-width: 440px;
  transform: translateX(-150vw);
  z-index: 1;
}

@media (max-width: 480px) { 
  .supercar { 
    right: -10px; 
    bottom: 0px; 
    width: 110px; 
  } 
}

.flatpickr-calendar { 
    background: rgba(20, 20, 20, 0.95) !important; 
    backdrop-filter: blur(16px); 
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9) !important; 
    font-family: var(--font-family) !important; 
    z-index: 10500 !important;
}
.flatpickr-day.selected { 
    background: #ffffff !important; 
    border-color: #ffffff !important; 
    color: #000000 !important; 
    font-weight: bold; 
}

.flatpickr-month {
    height: 50px !important;
    overflow: hidden;
}
.flatpickr-current-month {
    padding-top: 10px !important;
}
.flatpickr-weekdays {
    height: 28px !important;
}

.flatpickr-time {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 54px !important;
    max-height: 54px !important;
    line-height: 54px !important;
    padding: 4px 6px !important;
    gap: 4px !important;
}

.flatpickr-time .numInputWrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 !important;
    height: 44px !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.flatpickr-time .numInputWrapper input.numInput {
    order: 2 !important;
    flex: 1 !important;
    width: auto !important;
    height: 100% !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: none !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
}

.flatpickr-time .numInputWrapper span.arrowUp,
.flatpickr-time .numInputWrapper span.arrowDown {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    cursor: pointer !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: none !important;
    touch-action: manipulation !important;
}

.flatpickr-time .numInputWrapper span.arrowUp {
    order: 1 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.flatpickr-time .numInputWrapper span.arrowDown {
    order: 3 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.flatpickr-time .numInputWrapper span.arrowUp:hover,
.flatpickr-time .numInputWrapper span.arrowDown:hover,
.flatpickr-time .numInputWrapper span.arrowUp:active,
.flatpickr-time .numInputWrapper span.arrowDown:active {
    background: rgba(255, 255, 255, 0.18) !important;
}

.flatpickr-time .numInputWrapper span.arrowUp:after,
.flatpickr-time .numInputWrapper span.arrowDown:after {
    position: static !important;
    display: block !important;
}

@media (max-width: 768px) {
    .flatpickr-time {
        height: 60px !important;
        max-height: 60px !important;
        padding: 6px 8px !important;
    }

    .flatpickr-time .numInputWrapper {
        height: 48px !important;
    }

    .flatpickr-time .numInputWrapper span.arrowUp,
    .flatpickr-time .numInputWrapper span.arrowDown {
        width: 44px !important;
        min-width: 44px !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 12px !important;
    }
}

@keyframes loginElementFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loginContainerFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.admin-login-logo {
  display: block;
  max-height: 220px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  opacity: 0;
  animation: loginElementFadeIn 0.8s ease-out forwards;
}

.admin-nav-logo {
  height: 50px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

.login-exit-anim {
  animation: loginContainerFadeOut 0.4s ease-out forwards;
}

#login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  gap: 1.15rem;
}

#login-container input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  transition: all 0.25s ease;
  opacity: 0;
  animation: loginElementFadeIn 0.6s ease-out 0.4s forwards;
}

#login-container input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.04);
  outline: none;
}

#login-btn {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: var(--border-radius-md);
  padding: 1.15rem;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  background: linear-gradient(135deg, #ffffff 0%, #dcdfe3 100%);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
  animation: loginElementFadeIn 0.6s ease-out 0.4s forwards;
}

#login-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #eceef1 100%);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.22);
}

#login-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

