/* =============================================
   MOBIFIX DESIGN SYSTEM
   Modern Light Apple/Fintech Aesthetic
   ============================================= */

:root {
  /* Core Colors */
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4338ca;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Background */
  --bg-base: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-glass-hover: #f1f5f9;
  --bg-input: #f8fafc;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;

  /* Borders */
  --border: #e2e8f0;
  --border-accent: #c7d2fe;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --gradient-hero: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fae8ff 100%);
  --gradient-splash: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 4px 20px rgba(99, 102, 241, 0.25);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);

  /* Sizing */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  touch-action: pan-y;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
}

a { color: inherit; text-decoration: none; -webkit-user-drag: none; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; -webkit-user-drag: none; }
input, select, textarea {
  font-family: var(--font);
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}
ul, ol { list-style: none; }
img { display: block; max-width: 100%; -webkit-user-drag: none; user-drag: none; }

/* =============================================
   LAYOUT
   ============================================= */
#app {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-base);
}

#page-container {
  width: 100%;
  max-width: 100vw;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container { max-width: 440px; width: 100%; margin: 0 auto; padding: 0 16px; }
.container-wide { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; }

/* Mobile-first phone frame feel */
.page {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  position: relative;
  overflow-x: hidden;
  box-sizing: border-box;
}

.scroll-content {
  flex: 1;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding-bottom: 90px;
}

/* =============================================
   NAVIGATION / TOP BAR
   ============================================= */
.top-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.top-bar-title { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.top-bar-subtitle { font-size: 12px; color: var(--text-secondary); margin-top: 1px; font-weight: 500; }
.top-bar-back {
  width: 38px; height: 38px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  transition: all 0.2s;
  border: 1px solid var(--border);
}
.top-bar-back:hover { background: #f1f5f9; }
.top-bar-actions { display: flex; gap: 10px; align-items: center; }

/* =============================================
   BOTTOM NAV
   ============================================= */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 12px;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  color: var(--text-muted);
  background: transparent;
  border: none;
}
.bottom-nav-item.active { color: #4f46e5; font-weight: 800; }
.bottom-nav-item .nav-icon { font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; padding: 4px 18px; border-radius: 18px; transition: all 0.2s; }
.bottom-nav-item.active .nav-icon { background: #e6fffa; color: #4f46e5; }
.bottom-nav-item .nav-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2px; }
.bottom-nav-item.active .nav-label { color: #4f46e5; font-weight: 800; }

/* =============================================
   TECHNICIAN BOTTOM NAVIGATION DOCK
   ============================================= */
.tech-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 6px max(12px, env(safe-area-inset-bottom));
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.tech-nav-item {
  background: transparent;
  border: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  padding: 6px 0;
  color: #64748b;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.tech-nav-item .tech-nav-icon-wrap {
  font-size: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tech-nav-badge {
  position: absolute;
  top: -4px;
  right: -10px;
  background: #2563eb;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.tech-nav-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.tech-nav-item.active .tech-nav-label {
  color: #2563eb;
  font-weight: 800;
}

.tech-nav-item.active .tech-nav-icon-wrap {
  transform: translateY(-1px);
}

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.card-sm { padding: 14px; border-radius: var(--radius-md); }
.card-glass {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.card-accent { border-color: var(--border-accent); box-shadow: var(--shadow-accent); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4); transform: translateY(-1px); }

.btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}
.btn-secondary:hover { background: #e2e8f0; }

.btn-outline {
  background: transparent;
  color: #4f46e5;
  border: 1.5px solid #4f46e5;
}
.btn-outline:hover { background: rgba(79, 70, 229, 0.06); }

.btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.btn-success { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.btn-info { background: linear-gradient(135deg, #3b82f6, #2563eb); color: white; }

.btn-full { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 12px; font-weight: 700; color: #475569; letter-spacing: 0.3px; }

.form-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-select {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.form-select:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }
.form-select option { background: #ffffff; color: #0f172a; }

/* =============================================
   BADGES & CHIPS
   ============================================= */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-assigned { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.badge-en-route { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.badge-repairing { background: #fdf4ff; color: #c026d3; border: 1px solid #f5d0fe; }
.badge-completed { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.badge-pending { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.badge-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* =============================================
   NEW SCREEN 1: MODERN HOME SCREEN COMPONENTS
   ============================================= */
.home-greeting-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
}
.home-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ede9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home-hero-banner {
  margin: 12px 18px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fae8ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 24px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
  position: relative;
  overflow: hidden;
}
.hero-tag {
  font-size: 11px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.hero-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
}
.hero-subtitle {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  font-weight: 500;
}
.hero-btn {
  margin-top: 14px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  border: none;
}

/* =============================================
   HOME SLIDING BANNER CAROUSEL
   ============================================= */
.home-slider-wrap {
  margin: 12px 18px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
  user-select: none;
  touch-action: pan-y;
  background: #ffffff;
}

.home-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.home-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Feature card layout */
.home-slide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e0e7ff;
  border-radius: 22px;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

/* Full graphic image banner layout */
.home-slide-full-image {
  width: 100%;
  height: 155px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.home-slide-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dots Indicator */
.home-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
}

.home-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  pointer-events: auto;
}

.home-slider-dot.active {
  width: 20px;
  background: #4f46e5;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
}

/* Slider Arrows (visible on hover) */
.home-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #0f172a;
  cursor: pointer;
  z-index: 15;
  opacity: 0;
  transition: all 0.2s ease;
}

.home-slider-wrap:hover .home-slider-arrow {
  opacity: 1;
}

.home-slider-arrow.prev { left: 8px; }
.home-slider-arrow.next { right: 8px; }
.home-slider-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.services-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 18px;
}
.service-card-clean {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}
.service-card-clean:active {
  transform: scale(0.97);
}
.service-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.why-choose-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 12px 18px;
}
.why-card-clean {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 14px 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* =============================================
   NEW SCREEN 2: STEPPER & IDENTIFY DEVICE
   ============================================= */
.stepper-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  gap: 10px;
}
.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.stepper-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  transition: all 0.25s;
}
.stepper-step.active .stepper-circle {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.stepper-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}
.stepper-step.active .stepper-label {
  color: #0f172a;
  font-weight: 800;
}
.stepper-line {
  height: 2px;
  width: 44px;
  background: #e2e8f0;
  margin-top: -16px;
}

.identify-action-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 18px 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}
.identify-action-card:active {
  transform: scale(0.98);
}

.trust-assurance-card {
  margin: 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1e40af;
  font-size: 12px;
  font-weight: 600;
}

/* =============================================
   NEW SCREEN 3 & 4: ORDER DETAILS & LIST
   ============================================= */
.order-tabs-bar {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1.5px solid #e2e8f0;
  background: #ffffff;
  overflow-x: auto;
}
.order-tab-btn {
  padding: 12px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.order-tab-btn.active {
  color: #2563eb;
  font-weight: 800;
}
.order-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: #2563eb;
  border-radius: 2px;
}

.repair-timeline-v2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
  position: relative;
}
.timeline-step-v2 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}
.timeline-dot-v2 {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  z-index: 2;
}
.timeline-step-v2.completed .timeline-dot-v2 {
  background: #2563eb;
}
.timeline-step-v2.active .timeline-dot-v2 {
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}
.timeline-line-v2 {
  position: absolute;
  top: 22px;
  left: 10px;
  bottom: -16px;
  width: 2px;
  background: #e2e8f0;
}
.timeline-step-v2.completed .timeline-line-v2 {
  background: #2563eb;
}

.badge-primary { background: rgba(35, 85, 181, 0.2); color: #6090e0; border: 1px solid rgba(35, 85, 181, 0.4); }

/* =============================================
   SPLASH SCREEN
   ============================================= */
.splash-page {
  min-height: 100vh;
  background: var(--gradient-splash);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.splash-page::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(35, 85, 181, 0.3) 0%, transparent 60%);
  animation: pulse-glow 3s ease-in-out infinite;
}
.splash-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 1;
  animation: splash-in 0.8s ease-out forwards;
}
.splash-logo {
  width: 110px;
  height: 110px;
  background: var(--gradient-accent);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  box-shadow: var(--shadow-accent), var(--shadow-glow);
  animation: logo-bounce 2s ease-in-out infinite;
}
.splash-brand { font-size: 28px; font-weight: 900; color: var(--text-primary); letter-spacing: -0.5px; text-align: center; }
.splash-brand span { color: var(--accent); }
.splash-tagline { font-size: 14px; color: var(--text-secondary); text-align: center; margin-top: -8px; }
.splash-divider {
  width: 80px; height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  margin: 10px auto;
}
.splash-subtitle { font-size: 15px; color: var(--text-secondary); text-align: center; }
.splash-loader { margin-top: 60px; z-index: 1; }
.splash-dots { display: flex; gap: 8px; }
.splash-dots span {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: dot-bounce 1.4s ease-in-out infinite;
}
.splash-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--primary-light); }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; background: var(--success); }

/* =============================================
   HERO / BANNER
   ============================================= */
.hero-banner {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-banner::before {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
  border-radius: 50%;
}
.hero-title { font-size: 18px; font-weight: 800; color: var(--text-primary); line-height: 1.3; }
.hero-subtitle { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 4px; }
.hero-emoji { font-size: 50px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); }

/* =============================================
   SERVICE GRID
   ============================================= */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.service-card.active { border-color: var(--accent); background: rgba(245, 158, 11, 0.08); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.service-icon.orange { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(239,68,68,0.1)); }
.service-icon.blue { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(26,58,124,0.1)); }
.service-icon.green { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(5,150,105,0.1)); }
.service-icon.purple { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(109,40,217,0.1)); }
.service-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.service-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

/* =============================================
   BRAND GRID
   ============================================= */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.brand-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.brand-card:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.brand-card.selected { border-color: var(--accent); background: rgba(245, 158, 11, 0.08); box-shadow: var(--shadow-accent); }
.brand-logo { font-size: 28px; }
.brand-name { font-size: 11px; font-weight: 700; color: var(--text-primary); text-align: center; }

/* =============================================
   MODEL LIST
   ============================================= */
.model-list { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.model-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}
.model-item:hover { border-color: var(--primary-light); transform: translateX(4px); }
.model-item.selected { border-color: var(--accent); background: rgba(245, 158, 11, 0.08); }
.model-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.model-arrow { color: var(--text-secondary); font-size: 18px; }

/* =============================================
   PRODUCT / COMBO CARD
   ============================================= */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-image {
  width: 100%;
  height: 180px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
}
.product-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-accent);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.product-body { padding: 16px; }
.product-model { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.product-brand { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.product-combo-type { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.product-meta { display: flex; gap: 12px; margin: 12px 0; }
.product-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.product-meta-item span { font-size: 14px; }

.product-pricing { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.product-price { font-size: 26px; font-weight: 900; color: var(--accent); }
.product-price-orig { font-size: 15px; color: var(--text-muted); text-decoration: line-through; }
.product-discount { font-size: 12px; color: var(--success); font-weight: 700; }

.product-options { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.option-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.option-chip.selected { border-color: var(--accent); background: rgba(245,158,11,0.15); color: var(--accent); }

/* =============================================
   CART
   ============================================= */
.cart-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cart-item-image {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.cart-item-type { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.cart-item-price { font-size: 18px; font-weight: 800; color: var(--accent); margin-top: 8px; }
.qty-control { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.qty-btn {
  width: 30px; height: 30px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.qty-btn:hover { background: var(--primary-light); border-color: var(--primary-light); }
.qty-value { font-size: 16px; font-weight: 700; color: var(--text-primary); min-width: 24px; text-align: center; }

/* Order Summary */
.order-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.summary-row + .summary-row { border-top: 1px solid var(--border); }
.summary-label { font-size: 14px; color: var(--text-secondary); }
.summary-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.summary-total .summary-label { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.summary-total .summary-value { font-size: 20px; font-weight: 900; color: var(--accent); }

/* =============================================
   ORDER CARDS
   ============================================= */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.order-card:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.order-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.order-number { font-size: 16px; font-weight: 800; color: var(--text-primary); font-family: monospace; letter-spacing: 1px; }
.order-date { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.order-items-preview { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.order-footer { display: flex; justify-content: space-between; align-items: center; }
.order-total { font-size: 18px; font-weight: 800; color: var(--accent); }

/* =============================================
   TRACKING TIMELINE
   ============================================= */
.tracking-timeline { padding: 0 16px; }
.timeline-item { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:last-child .timeline-line { display: none; }
.timeline-dot-wrapper { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.timeline-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  z-index: 1;
}
.timeline-dot.done { background: var(--success); border-color: var(--success); color: white; }
.timeline-dot.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px rgba(245,158,11,0.5); }
.timeline-line { flex: 1; width: 2px; background: var(--border); margin-top: 4px; }
.timeline-line.done { background: var(--success); }
.timeline-content { flex: 1; }
.timeline-status { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.timeline-msg { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.timeline-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* =============================================
   STATS CARDS (Admin)
   ============================================= */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: attr(data-icon);
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 36px;
  opacity: 0.15;
}
.stat-value { font-size: 28px; font-weight: 900; color: var(--text-primary); }
.stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; font-weight: 500; }
.stat-change { font-size: 12px; margin-top: 8px; font-weight: 600; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }
.stat-card.accent { border-color: var(--border-accent); }
.stat-card.accent .stat-value { color: var(--accent); }
.stat-card.success { border-color: rgba(16,185,129,0.3); }
.stat-card.success .stat-value { color: var(--success); }
.stat-card.danger { border-color: rgba(239,68,68,0.3); }
.stat-card.danger .stat-value { color: var(--danger); }
.stat-card.info { border-color: rgba(59,130,246,0.3); }
.stat-card.info .stat-value { color: var(--info); }

/* =============================================
   ADMIN SIDEBAR / TOP BAR
   ============================================= */
.admin-top-bar {
  background: #ffffff;
  backdrop-filter: blur(20px);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.admin-logo { display: flex; align-items: center; gap: 10px; }
.admin-logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.admin-logo-text { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.admin-logo-sub { font-size: 10px; color: var(--accent); font-weight: 600; }

.admin-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
  gap: 4px;
}
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav-item {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-nav-item:hover { color: var(--text-primary); }
.admin-nav-item.active { color: var(--accent); border-bottom-color: var(--accent); }

/* =============================================
   TABLE (Admin)
   ============================================= */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead { background: rgba(35, 85, 181, 0.15); }
th { padding: 14px 16px; text-align: left; font-size: 12px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
td { padding: 14px 16px; font-size: 14px; color: var(--text-primary); border-top: 1px solid var(--border); }
tbody tr { transition: background 0.15s; cursor: pointer; }
tbody tr:hover { background: var(--bg-glass); }

/* =============================================
   SEARCH BAR
   ============================================= */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 12px 18px;
  margin: 0 16px 16px;
  transition: all 0.2s;
}
.search-bar:focus-within { border-color: var(--primary-light); background: rgba(35, 85, 181, 0.1); }
.search-bar .search-icon { font-size: 18px; color: var(--text-muted); flex-shrink: 0; }
.search-bar input { background: transparent; border: none; flex: 1; color: var(--text-primary); font-size: 15px; }
.search-bar input::placeholder { color: var(--text-muted); }

/* =============================================
   PAYMENT METHOD SELECTOR
   ============================================= */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.payment-option.selected { border-color: var(--accent); background: rgba(245, 158, 11, 0.07); }
.payment-option-icon { font-size: 28px; }
.payment-option-info { flex: 1; }
.payment-option-name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.payment-option-desc { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.payment-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.payment-option.selected .payment-radio::after {
  content: '';
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

/* =============================================
   SUCCESS SCREEN
   ============================================= */
.success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  flex: 1;
}
.success-icon {
  width: 100px; height: 100px;
  background: rgba(16, 185, 129, 0.15);
  border: 3px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 24px;
  animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.success-title { font-size: 26px; font-weight: 900; color: var(--text-primary); margin-bottom: 8px; }
.success-subtitle { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.success-order-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 24px 0;
  width: 100%;
}

/* =============================================
   PROFILE
   ============================================= */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 16px;
  gap: 12px;
}
.profile-avatar {
  width: 80px; height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: white;
  box-shadow: var(--shadow-accent);
}
.profile-name { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.profile-email { font-size: 13px; color: var(--text-secondary); }

.menu-list { padding: 0 16px; display: flex; flex-direction: column; gap: 2px; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}
.menu-item:hover { border-color: var(--primary-light); background: var(--bg-glass-hover); transform: translateX(4px); }
.menu-item-icon { font-size: 22px; width: 36px; text-align: center; }
.menu-item-text { flex: 1; }
.menu-item-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.menu-item-desc { font-size: 12px; color: var(--text-secondary); margin-top: 1px; }
.menu-item-arrow { color: var(--text-muted); font-size: 18px; }
.menu-item.danger .menu-item-name { color: var(--danger); }

/* =============================================
   DEVICE CARD
   ============================================= */
.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.device-icon {
  width: 56px; height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.device-info { flex: 1; }
.device-name { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.device-model { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.device-imei { font-size: 11px; color: var(--text-muted); margin-top: 4px; font-family: monospace; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px 12px;
}
.section-title { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.section-link { font-size: 13px; color: var(--accent); font-weight: 600; cursor: pointer; }
.section-link:hover { text-decoration: underline; }
.section-subtitle { font-size: 13px; color: var(--text-secondary); padding: 0 16px; margin-bottom: 12px; }

/* =============================================
   TABS
   ============================================= */
.tabs-bar {
  display: flex;
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 0 16px 16px;
  gap: 4px;
}
.tab-item {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s;
  background: transparent;
  border: none;
}
.tab-item.active { background: var(--gradient-accent); color: white; box-shadow: var(--shadow-accent); }

/* =============================================
   CHART PLACEHOLDER
   ============================================= */
.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 0 16px;
}
.chart-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 100px; }
.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--gradient-accent);
  opacity: 0.7;
  transition: opacity 0.2s, height 0.6s ease;
  min-height: 4px;
  position: relative;
}
.bar:hover { opacity: 1; }
.bar-label { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--text-muted); white-space: nowrap; }

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  gap: 12px;
  flex: 1;
}
.empty-icon { font-size: 64px; opacity: 0.4; }
.empty-title { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.empty-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
#toast-container {
  position: fixed;
  top: 20px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.3s ease-out forwards;
  max-width: 300px;
  pointer-events: all;
  backdrop-filter: blur(20px);
}
.toast.success { border-color: rgba(16,185,129,0.4); }
.toast.error { border-color: rgba(239,68,68,0.4); }
.toast.info { border-color: rgba(59,130,246,0.4); }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-msg { font-size: 14px; color: var(--text-primary); font-weight: 500; }
.toast.removing { animation: toast-out 0.3s ease-in forwards; }

/* =============================================
   LOADING
   ============================================= */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 31, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loading-overlay.hidden { display: none; }
.loader-ring {
  width: 50px; height: 50px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-glass-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* =============================================
   PAGE TRANSITIONS
   ============================================= */
.page-enter {
  animation: page-slide-in 0.3s ease-out forwards;
}

/* =============================================
   SCROLLABLE CONTENT AREA
   ============================================= */
.scroll-content { flex: 1; overflow-y: auto; padding-bottom: 80px; }
.scroll-content::-webkit-scrollbar { width: 3px; }
.scroll-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Padding helpers */
.px-16 { padding: 0 16px; }
.py-16 { padding: 16px 0; }
.p-16 { padding: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes splash-in {
  from { opacity: 0; transform: scale(0.8) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes logo-bounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}
@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes success-pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}
@keyframes page-slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@keyframes float-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger animation for lists */
.stagger-item { animation: float-up 0.4s ease-out forwards; opacity: 0; }
.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.15s; }
.stagger-item:nth-child(4) { animation-delay: 0.2s; }
.stagger-item:nth-child(5) { animation-delay: 0.25s; }
.stagger-item:nth-child(6) { animation-delay: 0.3s; }
.stagger-item:nth-child(n+7) { animation-delay: 0.35s; }

/* =============================================
   RESPONSIVE DESIGN SYSTEM (TABLET & DESKTOP)
   ============================================= */

/* Universal Tablet & Desktop Enhancements (>= 768px) */
@media (min-width: 768px) {
  /* Ambient Light Canvas */
  body {
    background: #f1f5f9;
    background-image: radial-gradient(at 15% 15%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
                      radial-gradient(at 85% 85%, rgba(236, 72, 153, 0.06) 0px, transparent 50%),
                      radial-gradient(at 50% 50%, rgba(59, 130, 246, 0.03) 0px, transparent 50%);
    min-height: 100vh;
  }

  /* Floating Dock for Bottom Navigation (Apple Dynamic Island / Dock Style) */
  .bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 520px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 8px 18px;
    z-index: 1000;
  }
  .bottom-nav-item {
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .bottom-nav-item:hover {
    background: #f8fafc;
    border-radius: var(--radius-md);
    transform: translateY(-2px);
  }

  /* Technician Floating Dock */
  .tech-bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 580px;
    border-radius: 36px;
    background: rgba(11, 19, 34, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    padding: 8px 18px;
    z-index: 1000;
  }

  /* Centered Desktop & Tablet Modals */
  .modal-overlay {
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(8px) !important;
  }
  .modal-sheet {
    border-radius: 24px !important;
    max-width: 520px !important;
    width: 90% !important;
    max-height: 85vh !important;
    transform: none !important;
    animation: pop-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25) !important;
  }

  /* Stepper Header max-width */
  .stepper-header {
    max-width: 520px;
    margin: 0 auto;
  }

  /* Model list 2-column grid */
  .model-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Service 4-column deck on tablet/desktop */
  .services-grid-2x2 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }
  .service-card-clean {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 16px 12px !important;
    gap: 10px !important;
  }

  /* Ensure content has room above floating dock */
  .scroll-content {
    padding-bottom: 120px !important;
  }
}

/* =============================================
   TABLET MODE (768px - 1024px)
   ============================================= */
@media (min-width: 768px) and (max-width: 1024px) {
  body:not(.is-admin-view):not(.is-tech-view) #app {
    max-width: 740px;
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    border-right: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
  }
  .container { max-width: 700px; }

  .home-greeting-bar {
    padding: 18px 24px 8px;
  }
  .home-hero-banner {
    margin: 12px 24px;
    padding: 24px;
  }
  .services-grid-2x2 {
    margin: 12px 24px !important;
  }
  .why-choose-grid-3 {
    margin: 12px 24px;
    gap: 12px;
  }
  .brand-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    padding: 0 24px !important;
  }
  .identify-action-card {
    margin: 0 24px 12px !important;
    padding: 16px 20px !important;
  }
  .trust-assurance-card {
    margin: 16px 24px !important;
  }
  .order-tabs-bar {
    padding: 0 24px;
  }
}

/* =============================================
   DESKTOP MODE (>= 1025px)
   ============================================= */
@media (min-width: 1025px) {
  /* Customer User App Shell on Wide Desktop Screens */
  body:not(.is-admin-view):not(.is-tech-view) #app {
    max-width: 900px;
    margin: 28px auto;
    min-height: calc(100vh - 56px);
    border-radius: 28px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    overflow: hidden;
  }
  .container { max-width: 860px; }

  .bottom-nav {
    bottom: 48px;
    max-width: 520px;
  }

  .home-greeting-bar {
    padding: 24px 32px 14px;
  }
  .home-hero-banner {
    margin: 16px 32px;
    padding: 28px 32px;
    border-radius: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .home-hero-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.18);
  }
  .hero-title {
    font-size: 26px;
  }

  .services-grid-2x2 {
    margin: 18px 32px !important;
    gap: 16px !important;
  }
  .service-card-clean {
    border: 1px solid #e2e8f0 !important;
    padding: 20px 14px !important;
    transition: all 0.25s ease !important;
  }
  .service-card-clean:hover {
    transform: translateY(-4px) !important;
    border-color: #a5b4fc !important;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.12) !important;
  }

  .why-choose-grid-3 {
    margin: 18px 32px;
    gap: 16px;
  }
  .why-card-clean {
    padding: 18px 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }
  .why-card-clean:hover {
    transform: translateY(-2px);
    border-color: #c7d2fe;
  }

  .brand-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 14px !important;
    padding: 0 32px !important;
  }
  .brand-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
  }

  .identify-action-card {
    margin: 0 32px 16px !important;
    padding: 20px 24px !important;
    border-radius: 20px !important;
    transition: all 0.2s ease;
  }
  .identify-action-card:hover {
    transform: translateX(4px);
    border-color: var(--primary-light);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  }

  .trust-assurance-card {
    margin: 20px 32px !important;
    padding: 16px 22px !important;
    border-radius: 18px !important;
  }

  .order-tabs-bar {
    padding: 0 32px;
  }

  /* Desktop Clean Frame for Login & Register forms */
  .page:has(#login-form),
  .page:has(#register-form) {
    max-width: 480px !important;
    margin: 40px auto !important;
    border-radius: 28px !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08) !important;
    min-height: auto !important;
    background: #ffffff;
    overflow: hidden;
  }
}

/* =============================================
   ADMIN PANEL RESPONSIVE (DESKTOP & TABLET)
   ============================================= */
body.is-admin-view {
  background: #f8fafc !important;
}

body.is-admin-view #app,
.admin-page {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  min-height: 100vh;
  background: #f8fafc;
}

@media (min-width: 1025px) {
  .admin-top-bar {
    padding: 16px 36px;
  }
  .admin-nav {
    padding: 0 36px;
    gap: 8px;
    justify-content: flex-start;
  }
  /* 4-column stats grid on desktop admin */
  .admin-page #dashboard-content > div > div[style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
  }
}

/* =============================================
   TECHNICIAN PORTAL RESPONSIVE (DESKTOP & TABLET)
   ============================================= */
body.is-tech-view {
  background: #f8fafc !important;
}

body.is-tech-view #app {
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  background: #f8fafc;
}


@keyframes pop-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* =============================================
   ADMIN FORM MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.center { align-items: center; }
.modal-sheet {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: sheet-up 0.3s ease-out forwards;
}
.modal-sheet.center-modal { border-radius: var(--radius-xl); max-height: 80vh; }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto 20px; }
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; color: var(--text-primary); }
@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Tag/chip row */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.chip.selected { border-color: var(--accent); background: rgba(245,158,11,0.15); color: var(--accent); }
.chip:hover { border-color: var(--primary-light); color: var(--text-primary); }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.divider-text { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider-text span { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* =============================================
   DEVICE IDENTIFICATION & SCANNING
   ============================================= */
.identify-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 12px;
}
.identify-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.identify-card.compact {
  padding: 12px 14px;
}
.identify-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.identify-info { flex: 1; }
.identify-title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.identify-desc { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
.identify-arrow { font-size: 22px; color: var(--text-muted); }

/* Camera Capture */
.camera-capture-box {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.camera-capture-box:hover { border-color: var(--accent); }
.camera-capture-box.captured { border-style: solid; border-color: var(--success); }
.camera-preview {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.camera-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* AI Scan Animation */
.scan-animation {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.scan-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--accent);
  border-bottom-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.detection-success-icon {
  width: 70px;
  height: 70px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto;
  animation: success-pop 0.4s ease-out;
}
.detection-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.confidence-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.confidence-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: var(--radius-full);
}

/* =============================================
   GEOLOCATION BUTTON
   ============================================= */
.btn-geo {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-geo:hover { border-color: var(--accent); background: rgba(245, 158, 11, 0.08); }
.btn-geo.geo-success {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}
.geo-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.geo-pulse.active {
  animation: pulse-glow 1s infinite;
}

/* =============================================
   TECHNICIAN DASHBOARD STYLES
   ============================================= */
.tech-order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.tech-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
}
.tech-info-row > span:first-child {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 4px;
}
.tech-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.tech-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tech-status-flow {
  display: flex;
  gap: 8px;
}

/* In-App Leaflet Map Styles */
.custom-map-pin {
  background: transparent;
  border: none;
}
.leaflet-popup-content-wrapper {
  background: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
}
.leaflet-popup-tip {
  background: #0f172a !important;
}
.leaflet-container {
  font-family: inherit !important;
}

/* =============================================
   MODAL DIALOG & OVERLAY STYLES
   ============================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay.center {
  align-items: center;
  padding: 16px;
}

.modal-sheet {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.25s ease-out;
}

.modal-sheet.center-modal {
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: popIn 0.25s ease-out;
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

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

/* =============================================
   UTILITIES & OVERLAYS
   ============================================= */
.hidden {
  display: none !important;
  pointer-events: none !important;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loading-overlay.hidden {
  display: none !important;
  pointer-events: none !important;
}

.loader-ring {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(245, 158, 11, 0.2);
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: 90%;
  max-width: 380px;
}

.toast {
  padding: 12px 18px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.toast-success {
  background: #f0fdf4;
  border-color: #86efac;
  color: #15803d;
}

.toast.toast-error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.toast.toast-info {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

/* =============================================
   ORDER SUCCESS SCREEN STYLING
   ============================================= */
.order-success-hero {
  text-align: center;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-success-icon-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
  margin-bottom: 16px;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.order-success-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  animation: floatPulse 2s infinite ease-in-out;
}


/* =============================================
   MODERN GPS NAVIGATION UI SYSTEM
   ============================================= */
.modern-nav-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', Roboto, sans-serif;
  user-select: none;
}

.modern-nav-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #00594c;
  color: #ffffff;
  padding: 14px 18px 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.nav-turn-symbol {
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-turn-distance {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.nav-turn-street {
  font-size: 17px;
  font-weight: 700;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}

.nav-floating-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.nav-floating-btn:active {
  transform: scale(0.92);
}

.nav-floating-btn.active {
  background: #2563eb;
  color: #ffffff;
}

.nav-speedometer-badge {
  position: absolute;
  top: 40%;
  left: 14px;
  z-index: 1000;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000000;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: floatPulse 3s ease-in-out infinite;
}

.nav-speedometer-val {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.nav-speedometer-unit {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.nav-route-chips-bar {
  position: absolute;
  top: 90px;
  left: 14px;
  right: 70px;
  z-index: 1000;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.nav-route-chips-bar::-webkit-scrollbar {
  display: none;
}

.nav-route-chip {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-route-chip.active {
  background: #2563eb;
  border-color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.6);
}

.modern-nav-bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  color: #0f172a;
  border-radius: 26px 26px 0 0;
  padding: 16px 20px 22px 20px;
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-eta-big {
  font-size: 28px;
  font-weight: 900;
  color: #15803d;
  line-height: 1;
}

.nav-eta-details {
  font-size: 14px;
  color: #475569;
  font-weight: 600;
  margin-top: 4px;
}

.nav-cust-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 14px;
}

.nav-drawer-toggle-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2px 0;
}

.nav-steps-drawer {
  max-height: 180px;
  overflow-y: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #334155;
  font-weight: 600;
}

.nav-step-icon-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}

.nav-arrival-banner {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  animation: popIn 0.3s ease-out;
}

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

/* =============================================
   MOBILE RESPONSIVENESS & SAFE AREA INSETS
   ============================================= */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .home-greeting-bar {
    padding: 12px 14px 6px;
  }
  .home-hero-banner {
    margin: 10px 14px;
    padding: 18px 16px;
    border-radius: 20px;
  }
  .hero-title {
    font-size: 19px;
  }
  .services-grid-2x2 {
    margin: 10px 14px;
    gap: 10px;
  }
  .service-card-clean {
    padding: 14px 10px;
    gap: 10px;
  }
  .why-choose-grid-3 {
    margin: 10px 14px;
    gap: 6px;
  }
  .why-card-clean {
    padding: 10px 4px;
  }
  .identify-action-card {
    margin: 0 14px 10px;
    padding: 14px;
  }
  .trust-assurance-card {
    margin: 14px;
    padding: 12px 14px;
  }
  .order-tabs-bar {
    padding: 0 14px;
    gap: 12px;
  }
  .card {
    padding: 14px;
    border-radius: 16px;
  }
  .bottom-nav {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 350px) {
  .services-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .why-choose-grid-3 {
    grid-template-columns: 1fr;
  }
  .stepper-header {
    padding: 10px;
    gap: 6px;
  }
  .stepper-line {
    width: 24px;
  }
}

/* =============================================
   TECHNICIAN PORTAL - MODERN CLEAN LIGHT UI
   ============================================= */
body.is-tech-view {
  background: #f8fafc;
  color: #0f172a;
}

body.is-tech-view #app {
  background: #f8fafc;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.is-tech-view .page {
  background: #f8fafc;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 100vh;
}

/* Technician Dashboard Container */
.tech-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 24px 80px 24px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .tech-container {
    padding: 12px 14px 100px 14px;
  }
}

/* Technician Top Sticky Sub-Navigation Bar */
.tech-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: sticky;
  top: 66px;
  z-index: 850;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.tech-subnav-bar::-webkit-scrollbar { display: none; }
.tech-subnav-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tech-subnav-item:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.tech-subnav-item.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 3px 10px rgba(37,99,235,0.25);
}
.tech-subnav-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 900;
  margin-left: 2px;
}

/* Responsive Metrics HUD */
.tech-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}


/* Radar Sonar Pulse Animation */
.tech-radar-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 8px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-radar-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  animation: techRadarPulse 2.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.tech-radar-circle:nth-child(2) {
  animation-delay: 0.9s;
}

.tech-radar-circle:nth-child(3) {
  animation-delay: 1.8s;
}

.tech-radar-center {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  z-index: 2;
  border: 3px solid #ffffff;
}

@keyframes techRadarPulse {
  0% {
    transform: scale(0.4);
    opacity: 1;
    border-color: rgba(16, 185, 129, 0.8);
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
    border-color: rgba(16, 185, 129, 0);
  }
}

/* Duty Toggle Switch */
.tech-duty-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 8px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tech-duty-toggle.online {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
}

.tech-duty-toggle.offline {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
}

.tech-duty-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 1.5s infinite;
}

.tech-duty-toggle.offline .tech-duty-dot {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: none;
}

/* Tech Stat Card */
.tech-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tech-stat-card-val {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.tech-stat-card-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Tech Action Chip */
.tech-quick-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.tech-quick-chip:hover, .tech-quick-chip:active {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Repair Flow Stepper */
.tech-step-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 6px 0;
}

.tech-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  position: relative;
}

.tech-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  transition: all 0.3s;
}

.tech-step-node.completed .tech-step-circle {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.tech-step-node.active .tech-step-circle {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
  animation: pulse 1.5s infinite;
}

.tech-step-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
}

.tech-step-node.active .tech-step-label {
  color: #2563eb;
  font-weight: 800;
}

.tech-step-node.completed .tech-step-label {
  color: #10b981;
  font-weight: 800;
}

.tech-step-bar-bg {
  position: absolute;
  top: 19px;
  left: 15px;
  right: 15px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.tech-step-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #2563eb);
  border-radius: 2px;
  transition: width 0.3s ease;
}


/* =============================================
   PREMIUM UI — HOME ACCESSORY CATEGORIES
   ============================================= */
.home-acc-cat-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 16px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-acc-cat-scroll::-webkit-scrollbar { display: none; }
.home-acc-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.home-acc-cat-item:active { transform: scale(0.92); }
.home-acc-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.12);
  transition: all 0.2s ease;
  border: 1.5px solid rgba(99, 102, 241, 0.08);
}
.home-acc-cat-item:hover .home-acc-cat-icon {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.22);
  transform: translateY(-2px);
}
.home-acc-cat-label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  text-align: center;
  white-space: nowrap;
}

/* =============================================
   PREMIUM UI — WHY CHOOSE US
   ============================================= */
.why-choose-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px 16px 20px;
}
.why-card-clean {
  background: #ffffff;
  border: 1.5px solid #f1f5f9;
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}
.why-card-clean:hover {
  border-color: #e0e7ff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

/* =============================================
   PREMIUM UI — BOTTOM NAVIGATION
   ============================================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 8px;
  padding-bottom: max(6px, env(safe-area-inset-bottom));
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  border-radius: 14px;
  background: transparent;
  border: none;
  color: #64748b;
  font-family: var(--font, system-ui, -apple-system, sans-serif);
  transition: all 0.2s ease;
  position: relative;
  min-width: 56px;
  cursor: pointer;
}
.bottom-nav-item .nav-icon { 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px; 
  line-height: 1; 
  transition: transform 0.2s ease; 
}
.bottom-nav-item .nav-label { 
  font-size: 11px; 
  font-weight: 600; 
  letter-spacing: -0.1px; 
}
.bottom-nav-item.active { 
  color: #2563eb !important; 
  background: #eff6ff !important; 
  border-radius: 14px; 
}
.bottom-nav-item.active .nav-label { 
  color: #2563eb !important; 
  font-weight: 800; 
}
.bottom-nav-item.active .nav-icon { 
  transform: scale(1.05); 
  color: #2563eb !important; 
}
.bottom-nav-item.active.active-repair { 
  color: #059669 !important; 
  background: #e6f9f0 !important; 
}
.bottom-nav-item.active.active-repair .nav-label { 
  color: #059669 !important; 
}
.bottom-nav-item.active.active-repair .nav-icon { 
  color: #059669 !important; 
}
.bottom-nav-item:active { 
  transform: scale(0.92); 
}

/* =============================================
   PREMIUM UI — SHOP PRODUCT CARDS
   ============================================= */
.shop-product-card {
  background: #ffffff;
  border: 1.5px solid #f1f5f9;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  position: relative;
}
.shop-product-card:hover {
  border-color: #e0e7ff;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.12);
  transform: translateY(-3px);
}
.shop-product-card:active { transform: scale(0.97); }
.shop-product-img-wrap {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f5f3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.shop-discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
.shop-cart-btn {
  background: #f0f4ff !important;
  border: 1.5px solid #c7d2fe !important;
  color: #6366f1 !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  padding: 7px 4px !important;
  transition: all 0.15s ease !important;
}
.shop-cart-btn:active { background: #e0e7ff !important; }
.shop-buy-btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: white !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  padding: 7px 4px !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3) !important;
  transition: all 0.15s ease !important;
}
.shop-buy-btn:active { transform: scale(0.95); }
.shop-category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shop-category-scroll::-webkit-scrollbar { display: none; }
.shop-cat-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
}
.shop-cat-btn.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  border-color: #6366f1;
  box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3);
}
.shop-cat-btn:not(.active):hover { border-color: #c7d2fe; background: #f5f3ff; }

/* =============================================
   PREMIUM UI — ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.page-enter { animation: fadeInUp 0.3s ease-out; }
.stagger-item { animation: fadeInUp 0.35s ease-out both; }
.stagger-item:nth-child(1) { animation-delay: 0.03s; }
.stagger-item:nth-child(2) { animation-delay: 0.06s; }
.stagger-item:nth-child(3) { animation-delay: 0.09s; }
.stagger-item:nth-child(4) { animation-delay: 0.12s; }
.stagger-item:nth-child(5) { animation-delay: 0.15s; }
.stagger-item:nth-child(6) { animation-delay: 0.18s; }

/* =============================================
   HOME SLIDER
   ============================================= */
.home-slider-wrap { position: relative; overflow: hidden; margin: 0 16px 12px; border-radius: 20px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
.home-slider-track { display: flex; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.home-slider-slide { min-width: 100%; cursor: pointer; }
.home-slide-card { display: flex; align-items: center; padding: 20px 18px; min-height: 150px; position: relative; overflow: hidden; border-radius: 20px; }
.home-slide-full-image { width: 100%; height: 160px; border-radius: 20px; overflow: hidden; }
.home-slide-full-image img { width: 100%; height: 100%; object-fit: cover; }
.home-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.85); backdrop-filter: blur(4px); border: none; font-size: 18px; font-weight: 900; color: #334155; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; box-shadow: 0 2px 8px rgba(0,0,0,0.1); opacity: 0; transition: opacity 0.2s; }
.home-slider-wrap:hover .home-slider-arrow { opacity: 1; }
.home-slider-arrow.prev { left: 8px; }
.home-slider-arrow.next { right: 8px; }
.home-slider-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0; position: absolute; bottom: 4px; left: 0; right: 0; }
.home-slider-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.15); cursor: pointer; transition: all 0.3s ease; }
.home-slider-dot.active { background: #6366f1; width: 20px; border-radius: 4px; }
.hero-tag { font-size: 10px; font-weight: 800; color: #6366f1; background: rgba(99, 102, 241, 0.1); padding: 3px 8px; border-radius: 6px; display: inline-block; margin-bottom: 6px; }
.hero-title { font-size: 20px; font-weight: 900; color: #0f172a; line-height: 1.15; margin-bottom: 4px; }
.hero-subtitle { font-size: 12px; color: #475569; font-weight: 500; margin-bottom: 10px; }
.hero-btn { background: linear-gradient(135deg, #6366f1, #4f46e5); color: white; border: none; padding: 8px 18px; border-radius: 10px; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 3px 10px rgba(99,102,241,0.3); transition: all 0.15s ease; }
.hero-btn:active { transform: scale(0.95); }

/* Greeting Bar */
.home-greeting-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 8px; }
.home-user-badge { display: flex; align-items: center; gap: 10px; }
.home-avatar-circle { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #ede9fe, #e0e7ff); display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; border: 1.5px solid #c7d2fe; transition: all 0.2s ease; }
.home-avatar-circle:active { transform: scale(0.9); }

/* =============================================
   ADMIN ORDER TYPE FILTER & BADGES
   ============================================= */
.admin-order-type-bar { display: flex; gap: 8px; padding: 0 0 12px; }
.admin-order-type-btn { padding: 8px 16px; border-radius: 10px; border: 1.5px solid #334155; background: transparent; color: #94a3b8; font-size: 12px; font-weight: 800; cursor: pointer; transition: all 0.2s ease; font-family: var(--font); display: flex; align-items: center; gap: 5px; }
.admin-order-type-btn.active { background: #6366f1; border-color: #6366f1; color: white; box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3); }
.admin-order-type-btn:not(.active):hover { border-color: #6366f1; color: #a5b4fc; }
.order-type-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.order-type-badge.repair { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.order-type-badge.accessory { background: rgba(13, 148, 136, 0.15); color: #2dd4bf; }
.order-type-badge.booking { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

/* =============================================
   TECHNICIAN REPAIR BOOKING CARDS
   ============================================= */
.tech-repair-card { background: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 18px; padding: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); display: flex; flex-direction: column; gap: 12px; transition: all 0.2s ease; }
.tech-repair-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.tech-repair-status-btn { padding: 8px 14px; border-radius: 10px; border: none; font-size: 12px; font-weight: 800; cursor: pointer; font-family: var(--font); transition: all 0.15s ease; }
.tech-repair-status-btn:active { transform: scale(0.95); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}
