/* ================================================================
   TECHCARE USER PORTAL - MODERN ENTERPRISE DESIGN SYSTEM
   Clean, Professional, SaaS-Grade Aesthetic (Desktop & Mobile Optimized)
   ================================================================ */

:root {
  --user-primary: #2563eb;
  --user-primary-hover: #1d4ed8;
  --user-primary-subtle: #eff6ff;
  --user-primary-border: #bfdbfe;
  
  --user-dark: #0f172a;
  --user-slate: #1e293b;
  --user-muted: #64748b;
  --user-light: #f8fafc;
  
  --user-card-border: rgba(226, 232, 240, 0.9);
  --user-shadow-hover: 0 16px 32px -8px rgba(37, 99, 235, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --user-glass: rgba(255, 255, 255, 0.92);
}

/* Live status badge used in booking updates */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}

/* --------------------------------------------------
   Brand Logo & Header
   -------------------------------------------------- */
.brand-text-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-dot {
  color: var(--user-primary);
}

.brand-icon {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  border-radius: 10px;
}

/* Center Tab Pill Group */
.tab-pill-group {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
}

.pill-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-btn:hover {
  color: #0f172a;
}

.pill-btn.active {
  background: #ffffff;
  color: var(--user-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.tab-icon {
  font-size: 0.95rem;
}

.count-badge {
  background: var(--user-primary);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  line-height: 1.2;
}

/* --------------------------------------------------
   Customer Auth Navigation Components
   -------------------------------------------------- */
.customer-auth-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Profile Pill for Logged-In User */
.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  color: #334155;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
}

.user-profile-pill:hover,
.user-profile-pill.active {
  border-color: var(--user-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

.nav-user-chevron {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-left: 0.15rem;
  transition: transform 0.2s;
}

.user-profile-pill.active .nav-user-chevron {
  transform: rotate(180deg);
}

/* Profile Dropdown Menu */
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 270px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16);
  padding: 0.6rem;
  z-index: 1000;
  animation: dropSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.user-dropdown-menu.active {
  display: block;
}

.account-dropdown-menu {
  width: 210px;
}

.account-menu-trigger:hover {
  border-color: var(--user-primary);
}

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

.dropdown-user-header {
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  margin-bottom: 0.4rem;
  border: 1px solid #f1f5f9;
}

.dropdown-user-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.dropdown-user-phone {
  font-size: 0.78rem;
  color: #475569;
}

.dropdown-user-email {
  font-size: 0.74rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: #f1f5f9;
  color: var(--user-primary);
}

.dropdown-item-danger {
  color: #dc2626;
}
.dropdown-item-danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0.35rem 0;
}

/* --------------------------------------------------
   Modern Hero Section
   -------------------------------------------------- */
.user-hero {
  background: radial-gradient(circle at 100% 0%, #1e40af 0%, #1e3a8a 35%, #0f172a 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: 15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(147, 197, 253, 0.4);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #bfdbfe;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 8px #60a5fa;
}

.hero-heading {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Hero Search Spotlight */
.hero-search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  max-width: 580px;
}

.hero-search-icon {
  font-size: 1.15rem;
  color: #64748b;
  margin-right: 0.65rem;
}

.hero-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.92rem;
  color: #0f172a;
  background: transparent;
}

.hero-search-bar input::placeholder {
  color: #94a3b8;
}

.hero-search-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transition: all 0.2s;
  white-space: nowrap;
}

.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

/* Hero Stats Quad */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  min-width: 280px;
  position: relative;
  z-index: 1;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  text-align: left;
  transition: transform 0.2s;
}

.hero-stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stat-icon {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  display: block;
}

.hero-stat-num {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.hero-stat-lbl {
  font-size: 0.72rem;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-top: 0.25rem;
  display: block;
}

/* --------------------------------------------------
   Filter & Category Bar
   -------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.75rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.filter-btn.active {
  background: var(--user-primary);
  color: #ffffff;
  border-color: var(--user-primary);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.28);
}

.services-counter-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

/* --------------------------------------------------
   Service Cards Grid (High Precision & Polish)
   -------------------------------------------------- */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: var(--user-shadow-hover);
}

.popular-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
  color: #854d0e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.25);
  border: 1px solid #facc15;
  z-index: 2;
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-top-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.service-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
  display: block;
}

.badge-device {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
}

.service-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.service-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.meta-chip {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.service-card-footer {
  padding-top: 1.15rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-tag-wrap {
  display: flex;
  flex-direction: column;
}

.price-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.btn-book-service {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-book-service:hover {
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.42);
  transform: translateY(-1px);
}

/* --------------------------------------------------
   Trust Value Props Banner
   -------------------------------------------------- */
.trust-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #2563eb;
  flex-shrink: 0;
}

.trust-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.trust-content p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
}

/* --------------------------------------------------
   My Bookings & Dashboard Section
   -------------------------------------------------- */
.orders-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.orders-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.orders-title-row h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.orders-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.guest-auth-prompt {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px dashed #bfdbfe;
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
}

.guest-prompt-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.guest-prompt-text {
  flex: 1;
}

.guest-prompt-text strong {
  color: #1e40af;
  font-size: 0.95rem;
}

.guest-prompt-text p {
  font-size: 0.82rem;
  color: #475569;
  margin-top: 0.15rem;
}

.guest-prompt-buttons {
  display: flex;
  gap: 0.5rem;
}

.bookings-filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.b-filter-btn {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.b-filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Order Card Polish */
.order-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.2s;
}

.order-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-id-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.laptop-details-section {
  margin: 0.25rem 0 1rem;
  padding: 0.9rem;
  border: 1px solid #dbe5f4;
  border-radius: 12px;
  background: #f8faff;
}

.laptop-details-section .form-section-title {
  margin-top: 0;
}

.order-id {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  background: #f1f5f9;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

/* Step Progress Tracker */
.order-tracker-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  z-index: 2;
  transition: all 0.2s;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.tracker-step.completed .step-node {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}
.tracker-step.completed .step-label {
  color: #065f46;
  font-weight: 700;
}

.tracker-step.active .step-node {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
  animation: pulseNode 1.5s infinite;
}
.tracker-step.active .step-label {
  color: #1d4ed8;
  font-weight: 700;
}

@keyframes pulseNode {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.order-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.order-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.order-field-value {
  font-size: 0.95rem;
  color: #0f172a;
}

.order-issue-box {
  background: #f8fafc;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--user-primary);
  margin-bottom: 1.15rem;
}

/* Engineer Assignment Card */
.engineer-card-pill {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.engineer-details {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.eng-avatar {
  font-size: 1.85rem;
  background: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #6ee7b7;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
  flex-shrink: 0;
}

.eng-name {
  font-weight: 800;
  color: #065f46;
  font-size: 1.02rem;
}

.eng-phone {
  font-size: 0.82rem;
  color: #047857;
  margin-top: 0.15rem;
}

.order-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

/* --------------------------------------------------
   Auth Modal & Form Polish
   -------------------------------------------------- */
.auth-modal-box {
  max-width: 480px;
  border-radius: 20px;
}

.auth-tabs-toggle {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.auth-tab {
  flex: 1;
  padding: 0.55rem;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.auth-tab.active {
  background: #ffffff;
  color: var(--user-primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.demo-login-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.25rem;
}

.demo-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.demo-account-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.demo-pill-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s;
}

.demo-pill-btn:hover {
  border-color: var(--user-primary);
  color: var(--user-primary);
  background: #eff6ff;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input {
  padding-right: 2.5rem;
}

.toggle-pass-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.2rem;
}

.toggle-pass-btn:hover {
  color: #334155;
}

.auth-notice-box {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.auth-notice-box.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.auth-notice-box.danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.auth-submit-btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.auth-switch-footer {
  text-align: center;
  margin-top: 1.15rem;
  font-size: 0.84rem;
  color: #64748b;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--user-primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.link-btn:hover {
  color: var(--user-primary-hover);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #475569;
  cursor: pointer;
}

.form-options-row {
  margin-bottom: 1rem;
}

/* --------------------------------------------------
   Smart Booking Modal Polish
   -------------------------------------------------- */
.booking-modal-box {
  max-width: 580px;
}

.service-summary-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.25rem;
}

.service-summary-icon {
  font-size: 1.85rem;
  background: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

.service-pill-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--user-primary);
}

.modal-user-status-bar {
  margin-bottom: 1.15rem;
  font-size: 0.84rem;
}

.user-status-logged {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-status-guest {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Quick Issue Suggestion Chips */
.quick-issue-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.issue-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.issue-chip:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: var(--user-primary);
}

.booking-price-breakdown {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  margin-top: 1rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 0.4rem;
}

.breakdown-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  padding-top: 0.65rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 0.5rem;
}

.breakdown-total-val {
  font-size: 1.35rem;
  color: var(--user-primary);
}

/* --------------------------------------------------
   Printable Invoice Modal
   -------------------------------------------------- */
.invoice-modal-box {
  max-width: 620px;
}

.invoice-sheet {
  background: #ffffff;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #0f172a;
  margin-bottom: 1.25rem;
}

.invoice-brand {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
}

.invoice-meta {
  text-align: right;
  font-size: 0.82rem;
  color: #64748b;
}

.invoice-parties {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}

.invoice-table th {
  text-align: left;
  background: #f8fafc;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

.invoice-table td {
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.completed-invoice {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.completed-invoice-header,
.completed-invoice-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.completed-invoice-title {
  color: #166534;
  font-size: 0.95rem;
  font-weight: 800;
}

.completed-invoice-amount {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 900;
}

.completed-invoice-note {
  margin: 0.45rem 0 0.8rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
}

.completed-invoice-actions {
  justify-content: flex-start;
}

.service-tracking-card .order-card-header {
  align-items: flex-start;
}

.service-tracking-card .order-ref-block,
.completed-tracking-item {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
}

.service-tracking-card .order-status-summary {
  max-width: 20rem;
  text-align: right;
}

.service-tracking-card .order-tracker-timeline {
  margin: 0 0 1.15rem;
}

.completed-tracking-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.completed-tracking-card:hover,
.completed-tracking-card:focus-visible {
  box-shadow: 0 10px 24px rgba(18, 59, 102, 0.13);
  transform: translateY(-2px);
}

.completed-tracking-card:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

.completed-card-action {
  color: #2563eb;
  font-size: 0.88rem;
  font-weight: 700;
}

.completed-payment-status {
  color: #123b66;
}

@media (max-width: 640px) {
  .service-tracking-card .order-card-header {
    flex-direction: column;
  }

  .service-tracking-card .order-status-summary {
    max-width: none;
    text-align: left;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  #invoiceModal,
  #invoiceModal * {
    visibility: visible !important;
  }

  #invoiceModal {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
    background: #fff !important;
  }

  #invoiceModal .modal-box {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #invoiceModal .modal-header,
  #invoiceModal .modal-footer {
    display: none !important;
  }

  #invoiceModal .modal-body {
    padding: 0 !important;
    overflow: visible !important;
  }

  #printableInvoiceArea {
    border: 0 !important;
    padding: 0 !important;
  }
}

.warranty-seal {
  background: #ecfdf5;
  border: 1px dashed #10b981;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #065f46;
}

/* Star Rating Styling */
.star-btn {
  cursor: pointer;
  color: #cbd5e1;
  transition: color 0.15s;
  padding: 0 0.15rem;
}

.star-btn.active {
  color: #f59e0b;
}

.profile-avatar-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.profile-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eff6ff;
  border: 2px solid #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
}

/* --------------------------------------------------
   Pending Booking Service Callout (Inside Auth Modal)
   -------------------------------------------------- */
.pending-booking-callout {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1.5px solid #93c5fd;
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  animation: fadeInDown 0.2s ease;
}

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

.pending-service-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed #bfdbfe;
  margin-bottom: 0.65rem;
}

.pending-icon {
  font-size: 1.75rem;
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
  flex-shrink: 0;
}

.pending-badge-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #2563eb;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.pending-service-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
  line-height: 1.25;
}

.pending-service-sub {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 600;
  margin-top: 0.15rem;
}

.callout-instructions {
  font-size: 0.82rem;
  color: #1e3a8a;
  line-height: 1.45;
}

.pending-booking-options {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  margin-top: 0.65rem;
}

/* --------------------------------------------------
   Card Animations & Fluid Micro-Interactions
   -------------------------------------------------- */
.service-card {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.order-card {
  animation: fadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.trust-card {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* --------------------------------------------------
   Mobile Bottom Navigation Bar (Appears on <= 640px)
   -------------------------------------------------- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 68px;
}

.mobile-nav-icon {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.mobile-nav-btn.active {
  color: #2563eb;
}

.mobile-nav-btn.active .mobile-nav-icon {
  transform: translateY(-2px);
}

.mobile-nav-btn.active::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.mobile-count-badge {
  position: absolute;
  top: 4px;
  right: 14px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  min-width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.4);
}

/* --------------------------------------------------
   Mobile Responsiveness
   -------------------------------------------------- */
@media (max-width: 960px) {
  .user-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.25rem 1.5rem;
  }
  .hero-stats {
    width: 100%;
  }
  .trust-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.5rem 0.75rem;
  }

  .tab-pill-group {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }

  .pill-btn {
    flex: 1;
    justify-content: center;
    padding: 0.45rem 0.5rem;
    font-size: 0.8rem;
  }

  .hero-heading {
    font-size: 1.6rem;
  }

  .hero-subtext {
    font-size: 0.88rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .hero-stat-card {
    padding: 0.75rem;
  }

  .hero-stat-num {
    font-size: 1.15rem;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .trust-banner-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    margin-top: 2rem;
  }

  .order-details-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .order-tracker-timeline {
    gap: 0.25rem;
  }

  .step-label {
    font-size: 0.65rem;
  }

  .engineer-card-pill {
    flex-direction: column;
    align-items: stretch;
  }

  .orders-header-card {
    padding: 1rem;
  }
}

/* Refreshed customer experience */
:root {
  --user-primary: #315ee8;
  --user-primary-hover: #234bcc;
  --user-primary-subtle: #edf2ff;
  --user-dark: #14233d;
  --user-muted: #65748b;
}

.app-header {
  border-bottom: 1px solid rgba(220, 228, 239, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand-icon {
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(49, 94, 232, 0.24);
}

.pill-btn.active {
  box-shadow: 0 3px 12px rgba(22, 38, 67, 0.1);
}

.user-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: 30px;
  min-height: 430px;
  padding: clamp(2rem, 5vw, 4rem);
  margin: 1.5rem 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 82% 16%, rgba(84, 125, 232, 0.32), transparent 34%),
    radial-gradient(ellipse at 5% 100%, rgba(26, 105, 117, 0.3), transparent 34%),
    linear-gradient(128deg, #101d35 0%, #172d50 55%, #1d385d 100%);
  box-shadow: 0 25px 55px rgba(21, 40, 72, 0.18);
  isolation: isolate;
}

.user-hero::before {
  top: auto;
  right: -75px;
  bottom: -180px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 143, 255, 0.18), transparent 68%);
  animation: heroGlow 7s ease-in-out infinite alternate;
}

.hero-content {
  max-width: 620px;
  animation: heroCopyIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-badge {
  padding: 0.45rem 0.8rem;
  border-color: rgba(199, 222, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #d7e4ff;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.hero-badge-dot {
  background: #c5f477;
  box-shadow: 0 0 12px rgba(197, 244, 119, 0.8);
}

.hero-heading {
  max-width: 580px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.hero-highlight {
  background: linear-gradient(100deg, #d6f883 0%, #a9ec94 52%, #8bdcd1 100%);
  -webkit-background-clip: text;
}

.hero-subtext {
  max-width: 540px;
  margin-bottom: 1.5rem;
  color: #c4d1e4;
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero-search-bar {
  max-width: 560px;
  min-height: 58px;
  padding: 0.4rem 0.45rem 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 15px;
  box-shadow: 0 14px 34px rgba(5, 13, 28, 0.22);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-search-bar:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(171, 201, 255, 0.22), 0 14px 34px rgba(5, 13, 28, 0.22);
}

.hero-search-bar input {
  min-width: 0;
  font-size: 0.86rem;
}

.hero-search-btn {
  min-height: 43px;
  padding: 0.6rem 1.1rem;
  border-radius: 11px;
  background: #c8f169;
  color: #17243b;
  box-shadow: none;
}

.hero-search-btn:hover {
  background: #d8f797;
  box-shadow: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 20px;
  color: #d3deef;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points b {
  color: #c8f169;
  font-size: 0.83rem;
}

.hero-illustration {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  isolation: isolate;
  animation: heroCopyIn 0.85s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(198, 219, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 285px;
  height: 285px;
  animation: orbitPulse 5s ease-in-out infinite;
}

.orbit-two {
  width: 365px;
  height: 365px;
  border-style: dashed;
  border-color: rgba(198, 219, 255, 0.1);
  animation: orbitSpin 42s linear infinite;
}

.hero-laptop {
  position: relative;
  z-index: 1;
  width: min(300px, 76%);
  animation: laptopFloat 4.8s ease-in-out infinite;
  filter: drop-shadow(0 22px 24px rgba(4, 10, 22, 0.3));
}

.laptop-screen {
  position: relative;
  height: 188px;
  overflow: hidden;
  padding: 11px;
  border: 5px solid #c8d6ea;
  border-bottom-width: 8px;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(145deg, #edf4ff 0%, #d7e5fb 100%);
  box-shadow: inset 0 0 0 1px rgba(36, 64, 105, 0.12);
}

.screen-topline {
  display: flex;
  gap: 4px;
  height: 9px;
  align-items: center;
  border-bottom: 1px solid #d5deeb;
}

.screen-topline span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #91a3bd;
}

.screen-content {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 32px 0 0 22px;
}

.screen-app-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #315ee8, #6990ff);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 850;
  box-shadow: 0 7px 15px rgba(49, 94, 232, 0.27);
  animation: iconShine 3.8s ease-in-out infinite;
}

.screen-lines {
  display: grid;
  gap: 7px;
  width: 115px;
}

.screen-lines span {
  height: 6px;
  border-radius: 10px;
  background: #afbed3;
}

.screen-lines span:first-child {
  width: 88%;
  background: #647d9f;
}

.screen-lines span:last-child {
  width: 58%;
}

.screen-check {
  position: absolute;
  right: 21px;
  bottom: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 3px solid #e8f4dc;
  border-radius: 50%;
  background: #8fca53;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  animation: checkPop 2.8s ease-in-out infinite;
}

.laptop-base {
  width: 112%;
  height: 12px;
  margin-left: -6%;
  border-radius: 2px 2px 12px 12px;
  background: linear-gradient(180deg, #e1e9f4, #91a3bd);
  box-shadow: 0 5px 8px rgba(5, 12, 24, 0.2);
}

.floating-service-card,
.floating-status-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #182841;
  box-shadow: 0 14px 30px rgba(5, 13, 28, 0.19);
}

.floating-service-card {
  top: 25px;
  right: 0;
  animation: cardFloat 4.2s ease-in-out infinite;
}

.floating-status-card {
  bottom: 23px;
  left: -7px;
  animation: cardFloat 4.7s 0.4s ease-in-out infinite reverse;
}

.floating-service-card strong,
.floating-service-card small,
.floating-status-card strong,
.floating-status-card small {
  display: block;
  white-space: nowrap;
}

.floating-service-card strong,
.floating-status-card strong {
  font-size: 0.68rem;
  font-weight: 800;
}

.floating-service-card small,
.floating-status-card small {
  margin-top: 3px;
  color: #718099;
  font-size: 0.58rem;
}

.floating-service-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf2ff;
  font-size: 0.9rem;
}

.floating-service-check {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  margin-left: 4px;
  border-radius: 50%;
  background: #e7f6d8;
  color: #4a8525;
  font-size: 0.62rem;
  font-weight: 900;
}

.status-pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6faf3c;
  box-shadow: 0 0 0 5px #edf7e4;
  animation: statusPulse 2.2s ease-in-out infinite;
}

.floating-spark {
  position: absolute;
  z-index: 1;
  color: #d5f78f;
  text-shadow: 0 0 15px rgba(200, 241, 105, 0.7);
  animation: sparkTwinkle 2.5s ease-in-out infinite;
}

.spark-one {
  top: 42px;
  left: 15%;
  font-size: 1.5rem;
}

.spark-two {
  right: 13%;
  bottom: 59px;
  color: #a9c5ff;
  font-size: 1.8rem;
  animation-delay: 0.8s;
}

.filter-bar {
  margin-bottom: 1.35rem;
  border: 1px solid #e7ebf2;
  box-shadow: 0 5px 18px rgba(21, 40, 72, 0.045);
}

.filter-btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.79rem;
}

.service-card {
  border-color: #e7ebf2;
  border-radius: 19px;
  box-shadow: 0 6px 20px rgba(21, 40, 72, 0.045);
  animation: cardEnter 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.service-card:nth-child(2) { animation-delay: 55ms; }
.service-card:nth-child(3) { animation-delay: 110ms; }
.service-card:nth-child(4) { animation-delay: 165ms; }
.service-card:nth-child(5) { animation-delay: 220ms; }
.service-card:nth-child(6) { animation-delay: 275ms; }

.service-card:hover {
  transform: translateY(-6px);
  border-color: #bfd0fb;
  box-shadow: 0 18px 34px rgba(41, 79, 159, 0.12);
}

.service-icon-wrap {
  border-color: #e1e9ff;
  background: linear-gradient(145deg, #f1f5ff, #e5edff);
  transition: transform 0.25s ease;
}

.service-card:hover .service-icon-wrap {
  transform: rotate(-5deg) scale(1.06);
}

.btn-book-service {
  border-radius: 11px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-book-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(49, 94, 232, 0.25);
}

.trust-banner-grid {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid #e7ebf2;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 40, 72, 0.035);
}

.trust-card {
  border-radius: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-3px);
  background: #f8faff;
}

.local-account-notice {
  margin-bottom: 17px;
  padding: 11px 13px;
  border: 1px solid #eadfbe;
  border-radius: 11px;
  background: #fffaf0;
  color: #6c5a35;
  font-size: 0.74rem;
  line-height: 1.55;
}

.local-account-notice strong {
  color: #59451f;
}

.form-control[readonly] {
  background: #f4f6fa;
  color: #65748b;
}

.guest-auth-prompt,
.orders-header-card,
.order-card {
  border-color: #e7ebf2;
  border-radius: 18px;
  box-shadow: 0 7px 22px rgba(21, 40, 72, 0.045);
}

.modal-overlay.active .modal-box {
  animation: modalEnter 0.26s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

@keyframes heroGlow {
  from { opacity: 0.55; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.42; transform: translate(-50%, -50%) scale(0.97); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.035); }
}

@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes laptopFloat {
  0%, 100% { transform: translateY(2px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

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

@keyframes iconShine {
  0%, 100% { box-shadow: 0 7px 15px rgba(49, 94, 232, 0.27); }
  50% { box-shadow: 0 0 24px rgba(97, 135, 255, 0.65); }
}

@keyframes checkPop {
  0%, 18%, 100% { transform: scale(1); }
  8% { transform: scale(1.18); }
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(111, 175, 60, 0.12); }
  50% { box-shadow: 0 0 0 7px rgba(111, 175, 60, 0.06); }
}

@keyframes sparkTwinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.78) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.12) rotate(8deg); }
}

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

@keyframes modalEnter {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 960px) {
  .user-hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 12px;
    padding: 2.4rem 2rem;
  }

  .hero-illustration {
    min-height: 300px;
  }

  .hero-heading {
    font-size: clamp(2.5rem, 6vw, 3.6rem);
  }
}

@media (max-width: 700px) {
  .user-hero {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: auto;
    padding: 2rem 1.3rem 1.3rem;
    margin-top: 1rem;
    border-radius: 22px;
  }

  .hero-content {
    max-width: none;
  }

  .hero-heading {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .hero-subtext {
    margin-bottom: 1.2rem;
    font-size: 0.88rem;
  }

  .hero-search-bar {
    min-height: 53px;
    padding-left: 0.8rem;
  }

  .hero-search-bar input {
    font-size: 0.78rem;
  }

  .hero-search-btn {
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    font-size: 0.76rem;
  }

  .hero-points {
    gap: 7px 12px;
    margin-top: 15px;
    font-size: 0.65rem;
  }

  .hero-illustration {
    min-height: 250px;
    margin-top: 2px;
  }

  .orbit-one {
    width: 215px;
    height: 215px;
  }

  .orbit-two {
    width: 280px;
    height: 280px;
  }

  .hero-laptop {
    width: min(235px, 72%);
  }

  .laptop-screen {
    height: 147px;
  }

  .screen-content {
    margin-top: 21px;
  }

  .floating-service-card {
    top: 10px;
    right: -3px;
    padding: 8px 9px;
  }

  .floating-status-card {
    bottom: 8px;
    left: -3px;
    padding: 8px 9px;
  }

  .floating-service-card strong,
  .floating-status-card strong {
    font-size: 0.61rem;
  }

  .floating-service-card small,
  .floating-status-card small {
    font-size: 0.53rem;
  }

  .filter-bar {
    gap: 0.65rem;
  }

  .trust-banner-grid {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



/* Simplified TechCare customer experience */
body {
  background: #f6f8fc;
  color: #17243b;
}

.app-header {
  border-bottom-color: #e8edf5;
  box-shadow: 0 2px 12px rgba(21, 40, 72, 0.035);
}

.header-inner {
  max-width: 1160px;
  min-height: 72px;
}

.brand-title {
  color: #17243b;
}

.tab-pill-group {
  background: #f5f7fb;
}

.pill-btn {
  min-height: 40px;
  padding-inline: 1rem;
}

.container {
  max-width: 1160px;
  padding: 1.35rem 1rem 5rem;
}

.user-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  min-height: 0;
  padding: clamp(1.5rem, 5vw, 3.75rem);
  margin: 0 0 2.5rem;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 82% 10%, rgba(84, 125, 232, 0.25), transparent 38%),
    linear-gradient(125deg, #132441 0%, #1d385d 100%);
  box-shadow: 0 18px 42px rgba(21, 40, 72, 0.13);
}

.user-hero::before {
  display: none;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  padding: 0.4rem 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.035em;
}

.hero-heading {
  margin: 1.05rem 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.055em;
}

.hero-subtext {
  max-width: 490px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.hero-search-bar {
  max-width: 540px;
  min-height: 58px;
  padding: 0.35rem 0.4rem 0.35rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(4, 14, 33, 0.16);
}

.hero-search-bar:focus-within {
  border-color: #9bb9ff;
  box-shadow: 0 0 0 3px rgba(155, 185, 255, 0.2), 0 10px 24px rgba(4, 14, 33, 0.16);
}

.hero-search-bar input {
  min-width: 0;
  color: #17243b;
  font-size: 0.9rem;
}

.hero-search-btn {
  min-height: 42px;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: #315ee8;
}

.hero-search-btn:hover {
  background: #234bcc;
}

.hero-points {
  gap: 0.65rem 1.15rem;
  margin-top: 1rem;
  color: #e0e9f8;
  font-size: 0.75rem;
}

.hero-points b {
  color: #c5f477;
}

.hero-illustration {
  display: grid;
  min-height: 0;
  place-items: center;
  margin: 0;
}

.hero-steps-panel {
  width: min(100%, 370px);
  padding: clamp(1.1rem, 3vw, 1.65rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(4, 14, 33, 0.2);
}

.hero-steps-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #edf1f7;
}

.hero-steps-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: #edf2ff;
  font-size: 1.35rem;
}

.hero-steps-eyebrow,
.catalog-eyebrow {
  color: #5571ad;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.hero-steps-heading h2 {
  margin-top: 0.12rem;
  color: #17243b;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hero-step {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
}

.hero-step-number {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dce5fa;
  border-radius: 50%;
  background: #f5f7ff;
  color: #315ee8;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-step strong,
.hero-step small {
  display: block;
}

.hero-step strong {
  color: #24334d;
  font-size: 0.83rem;
}

.hero-step small {
  margin-top: 0.12rem;
  color: #75829a;
  font-size: 0.73rem;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 1rem;
}

.catalog-heading h2 {
  margin-top: 0.25rem;
  color: #17243b;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.04em;
}

.catalog-heading p {
  margin-top: 0.3rem;
  color: #6b7890;
  font-size: 0.88rem;
}

.filter-bar {
  gap: 0.85rem;
  padding: 0.8rem;
  border-color: #e8edf5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(21, 40, 72, 0.035);
}

.filter-tabs {
  gap: 0.4rem;
}

.filter-btn {
  padding: 0.55rem 0.85rem;
  border-color: transparent;
  background: transparent;
  font-size: 0.8rem;
}

.filter-btn.active {
  background: #edf2ff;
  color: #284fc4;
  border-color: #dce5ff;
  box-shadow: none;
}

.services-counter-text {
  color: #77839a;
  font-size: 0.77rem;
}

#servicesGrid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 1rem;
}

.service-card {
  border-color: #e7ecf4;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(21, 40, 72, 0.04);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #c9d6f5;
  box-shadow: 0 12px 28px rgba(41, 79, 159, 0.1);
}

.service-card-body {
  padding: 1.2rem;
}

.service-top-meta {
  margin-bottom: 0.9rem;
}

.service-icon-wrap {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 13px;
  background: #f0f4ff;
  box-shadow: none;
  font-size: 1.5rem;
}

.service-title {
  color: #1b2940;
  font-size: 1.08rem;
}

.service-desc {
  margin-bottom: 1rem;
  color: #6b7890;
  font-size: 0.84rem;
}

.meta-chip {
  border-color: #edf0f5;
  background: #f8f9fc;
  color: #69768c;
}

.service-card-footer {
  padding-top: 0.9rem;
}

.price-lbl {
  color: #78859b;
  text-transform: none;
  letter-spacing: 0;
}

.price-val {
  color: #1b2940;
  font-size: 1.28rem;
}

.btn-book-service {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: #315ee8;
  box-shadow: none;
  font-size: 0.82rem;
}

.btn-book-service:hover {
  background: #234bcc;
  box-shadow: 0 5px 12px rgba(49, 94, 232, 0.2);
}

.orders-header-card,
.order-card,
.guest-auth-prompt {
  border-color: #e7ecf4;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(21, 40, 72, 0.04);
}

.orders-header-card {
  padding: 1.25rem 1.4rem;
}

.order-card {
  padding: 1.2rem;
}

.order-card:hover {
  border-color: #d4def2;
  box-shadow: 0 8px 22px rgba(21, 40, 72, 0.07);
}

.b-filter-btn.active {
  background: #23395d;
  border-color: #23395d;
}

.booking-modal-box,
.auth-modal-box {
  border-radius: 18px;
}

.service-summary-pill {
  border-color: #e4eafa;
  background: #f7f9ff;
}

.booking-price-breakdown {
  border-color: #e7ecf4;
  border-radius: 12px;
  background: #f8f9fc;
}

.breakdown-total-val {
  color: #315ee8;
}

@media (max-width: 700px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding: 0.6rem 0.75rem;
  }

  .brand {
    min-width: 0;
    gap: 0.5rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-wordmark {
    width: 118px;
  }

  .brand-text-wrap {
    gap: 0;
  }

  .role-tag {
    display: none;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .user-profile-pill {
    padding: 0.3rem 0.55rem 0.3rem 0.35rem;
    font-size: 0.78rem;
  }

  .account-name {
    max-width: 88px;
  }

  .nav-user-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .tab-pill-group {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    width: 100%;
    margin: 0;
  }

  .container {
    padding: 0.85rem 0.75rem 5.5rem;
  }

  .user-hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.35rem;
    margin-bottom: 1.7rem;
    border-radius: 19px;
  }

  .hero-heading {
    margin: 0.9rem 0 0.65rem;
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.04;
  }

  .hero-subtext {
    margin-bottom: 1rem;
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .hero-search-bar {
    min-height: 50px;
    padding-left: 0.65rem;
  }

  .hero-search-icon {
    font-size: 0.9rem;
  }

  .hero-search-bar input {
    font-size: 0.8rem;
  }

  .hero-search-btn {
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    font-size: 0.76rem;
  }

  .hero-points {
    gap: 0.45rem 0.8rem;
    margin-top: 0.8rem;
    font-size: 0.68rem;
  }

  .hero-illustration {
    display: block;
    min-height: 0;
    margin: 0;
  }

  .hero-steps-panel {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 14px;
  }

  .hero-steps-heading {
    padding-bottom: 0.8rem;
  }

  .hero-step {
    gap: 0.65rem;
    padding-top: 0.75rem;
  }

  .catalog-heading {
    margin-bottom: 0.8rem;
  }

  .catalog-heading p {
    max-width: 36ch;
    font-size: 0.82rem;
  }

  .filter-bar {
    padding: 0.65rem;
  }

  .filter-tabs {
    gap: 0.25rem;
  }

  .filter-btn {
    padding: 0.48rem 0.72rem;
    font-size: 0.74rem;
  }

  #servicesGrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .service-card-body {
    padding: 1rem;
  }

  .service-desc {
    margin-bottom: 0.8rem;
  }

  .service-meta-tags {
    margin-bottom: 0.9rem;
  }

  .orders-header-card {
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
  }

  .orders-header-actions {
    flex-wrap: wrap;
  }

  .order-card {
    padding: 0.95rem;
  }

  .guest-auth-prompt {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
  }

  .guest-prompt-text {
    min-width: calc(100% - 60px);
  }

  .guest-prompt-buttons {
    width: 100%;
    padding-left: 60px;
  }
}

@media (max-width: 360px) {
  .hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .order-card-header {
    align-items: flex-start;
  }
}

.booking-entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.booking-entry-actions .btn-book-service {
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
}

.booking-entry-price {
  color: #d3deef;
  font-size: 0.88rem;
}

.booking-entry-price strong {
  margin-left: 0.25rem;
  color: #c8f169;
  font-size: 1.1rem;
}

@media (max-width: 700px) {
  .booking-entry-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }
}

.order-card[data-status="completed"] {
  border-color: #b7e7c7;
}

.order-card[data-status="cancelled"] {
  border-color: #fecaca;
}

.order-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.9fr);
  align-items: start;
  gap: 1.15rem;
}

.order-header-main,
.order-ref-block,
.order-service-heading,
.order-header-side,
.order-status-summary,
.order-charge-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.order-header-main {
  gap: 0.9rem;
}

.order-ref-block {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.order-ref-block .order-field-label {
  width: 100%;
  margin-bottom: 0;
}

.order-id {
  padding: 0.38rem 0.7rem;
  color: #23395d;
  background: #f0f4ff;
  border-color: #dce5ff;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.order-service-heading {
  gap: 0.2rem;
}

.order-service-heading strong {
  color: #17243b;
  font-size: 1.08rem;
  line-height: 1.4;
}

.order-service-heading .text-muted,
.order-charge-summary .text-muted {
  font-size: 0.78rem;
  line-height: 1.5;
}

.order-header-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.85rem;
}

.order-status-summary,
.order-charge-summary {
  gap: 0.35rem;
}

.order-status-summary .badge {
  max-width: 100%;
  white-space: normal;
}

.order-status-message {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.order-charge-summary {
  align-items: flex-end;
  text-align: right;
}

.order-charge-summary strong {
  color: #17243b;
  font-size: 1.25rem;
  font-weight: 900;
}

.order-details-grid > div {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  background: #fafbfe;
  overflow-wrap: anywhere;
}

.order-details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-issue-box {
  border-radius: 12px;
}

.completed-invoice {
  border-color: #b7e7c7;
}

.completed-invoice-actions {
  gap: 0.55rem;
}

.order-card-actions {
  justify-content: flex-start;
}

@media (max-width: 700px) {
  .order-card-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-header-side {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fafbfe;
  }

  .order-charge-summary {
    align-items: flex-start;
    text-align: left;
  }

  .order-details-grid > div {
    padding: 0.75rem;
  }

  .completed-invoice {
    padding: 0.85rem;
  }
}

/* Glass-inspired customer portal finish */
body {
  background:
    radial-gradient(ellipse at 4% 12%, rgba(156, 190, 255, 0.2), transparent 28rem),
    radial-gradient(ellipse at 96% 58%, rgba(190, 180, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, #f8faff 0%, #f2f5fc 100%);
}

.app-header {
  background: rgba(250, 252, 255, 0.78);
  border-bottom-color: rgba(213, 224, 245, 0.72);
  box-shadow: 0 8px 28px rgba(34, 55, 96, 0.055);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.brand-icon {
  background: linear-gradient(145deg, #78a1ff 0%, #4569eb 48%, #334cc6 100%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 7px 18px rgba(49, 94, 232, 0.28);
}

.tab-pill-group {
  border-color: rgba(215, 225, 243, 0.84);
  background: rgba(239, 244, 253, 0.78);
  box-shadow: inset 0 1px 2px rgba(35, 57, 93, 0.04);
}

.pill-btn.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 10px rgba(34, 55, 96, 0.1);
}

.user-profile-pill {
  border-color: rgba(210, 221, 241, 0.9);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.82));
  box-shadow:
    inset 0 1px 0 #fff,
    0 4px 12px rgba(34, 55, 96, 0.07);
}

.account-name {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-profile-pill.account-menu-trigger .account-name {
  max-width: none;
}

.brand-icon {
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-wordmark {
  display: block;
  width: 138px;
  height: auto;
  object-fit: contain;
}

.user-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(197, 218, 255, 0.28);
  background:
    radial-gradient(ellipse at 82% 12%, rgba(112, 147, 255, 0.34), transparent 36%),
    radial-gradient(ellipse at 10% 110%, rgba(48, 204, 198, 0.18), transparent 38%),
    linear-gradient(128deg, #101b32 0%, #182b4c 52%, #273c70 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 60px -26px rgba(25, 45, 93, 0.48),
    0 8px 24px rgba(49, 72, 126, 0.12);
}

.user-hero::before {
  display: block;
  top: -190px;
  right: -125px;
  bottom: auto;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(124, 157, 255, 0.3), rgba(95, 124, 232, 0.08) 42%, transparent 72%);
  filter: blur(4px);
  animation: heroGlow 8s ease-in-out infinite alternate;
  z-index: -1;
}

.user-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.52;
  background:
    linear-gradient(116deg, transparent 38%, rgba(255, 255, 255, 0.055) 50%, transparent 62%),
    radial-gradient(ellipse at 65% -36%, rgba(255, 255, 255, 0.12), transparent 42%);
}

.hero-badge {
  border-color: rgba(204, 222, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-highlight {
  background-image: linear-gradient(100deg, #e1f7a8 0%, #a9f0d7 55%, #a9d8ff 100%);
}

.booking-entry-price {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(219, 233, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-book-service {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(135deg, #e2fb9e 0%, #c8f169 48%, #a9e967 100%);
  color: #17243b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(139, 202, 88, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-book-service::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.48) 48%, transparent 66%);
  transform: translateX(-115%);
  transition: transform 0.55s ease;
}

.btn-book-service:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 28px rgba(139, 202, 88, 0.3);
}

.btn-book-service:hover::after {
  transform: translateX(115%);
}

.hero-points span {
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(219, 233, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-steps-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(239, 245, 255, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 245, 255, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 24px 52px rgba(5, 13, 30, 0.28),
    0 4px 12px rgba(7, 17, 38, 0.12);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-steps-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 58%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.hero-steps-panel:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 30px 60px rgba(5, 13, 30, 0.31),
    0 6px 16px rgba(7, 17, 38, 0.15);
}

.hero-steps-icon {
  border: 1px solid rgba(164, 188, 255, 0.36);
  background: linear-gradient(145deg, #f6f8ff, #e7edff);
  box-shadow: inset 0 1px 0 #fff, 0 5px 12px rgba(83, 112, 194, 0.1);
}

.hero-step-number {
  border-color: rgba(146, 170, 241, 0.45);
  background: linear-gradient(145deg, #fff, #edf2ff);
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(57, 84, 160, 0.09);
}

.orders-header-card,
.order-card,
.guest-auth-prompt {
  border-color: rgba(218, 227, 244, 0.85);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(249, 251, 255, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 26px rgba(36, 57, 100, 0.055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.order-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.order-card:hover {
  transform: translateY(-2px);
  border-color: rgba(152, 178, 240, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 34px rgba(36, 57, 100, 0.09);
}

.b-filter-btn.active {
  background: linear-gradient(135deg, #344f88, #1d3154);
  border-color: #263d6d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 5px 12px rgba(28, 48, 88, 0.18);
}

.booking-modal-box,
.auth-modal-box {
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 28px 80px rgba(14, 30, 59, 0.28);
}

.form-control {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-control:focus {
  border-color: #8ba9f5;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(86, 122, 224, 0.13);
}

.pill-btn:focus-visible,
.user-profile-pill:focus-visible,
.btn-book-service:focus-visible,
.b-filter-btn:focus-visible {
  outline: 3px solid rgba(99, 135, 231, 0.55);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .user-hero {
    background:
      radial-gradient(ellipse at 90% 2%, rgba(112, 147, 255, 0.32), transparent 44%),
      radial-gradient(ellipse at 4% 100%, rgba(48, 204, 198, 0.16), transparent 42%),
      linear-gradient(145deg, #101b32 0%, #182b4c 62%, #273c70 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 20px 42px -20px rgba(25, 45, 93, 0.5);
  }

  .hero-steps-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 255, 0.9));
  }

  .hero-points span {
    padding: 0.35rem 0.48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-steps-panel,
  .order-card,
  .btn-book-service {
    transition: none;
  }
}

/* Frosted-glass surfaces */
body {
  background:
    radial-gradient(ellipse at 8% 8%, rgba(119, 164, 255, 0.22), transparent 30rem),
    radial-gradient(ellipse at 94% 38%, rgba(139, 119, 225, 0.16), transparent 28rem),
    radial-gradient(ellipse at 40% 95%, rgba(103, 205, 194, 0.14), transparent 32rem),
    linear-gradient(145deg, #f8faff 0%, #eef3fb 52%, #f5f4fc 100%);
}

.app-header {
  background: rgba(248, 251, 255, 0.62);
  border-bottom-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 26px rgba(48, 65, 103, 0.08);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

.tab-pill-group,
.user-profile-pill {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 5px 16px rgba(51, 70, 111, 0.07);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.pill-btn.active {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(47, 68, 115, 0.1);
}

.user-hero {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 24px 58px rgba(49, 67, 109, 0.14);
  backdrop-filter: blur(26px) saturate(155%);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
}

.user-hero::before {
  top: -105px;
  right: -72px;
  bottom: auto;
  width: 380px;
  height: 380px;
  z-index: 0;
  background:
    radial-gradient(circle at 35% 35%, rgba(103, 148, 255, 0.3), transparent 63%),
    radial-gradient(circle at 68% 68%, rgba(112, 218, 210, 0.24), transparent 58%);
  filter: blur(12px);
  animation: none;
}

.user-hero::after {
  z-index: 0;
  opacity: 1;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.32), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 52%);
}

.hero-content,
.hero-illustration {
  z-index: 1;
}

.hero-badge {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 12px rgba(45, 69, 118, 0.06);
  color: #43536e;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-badge-dot {
  background: #48a178;
  box-shadow: 0 0 10px rgba(72, 161, 120, 0.36);
}

.hero-heading {
  color: #1b2b45;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.hero-highlight {
  background-image: linear-gradient(100deg, #426bd0 0%, #428f9e 100%);
}

.typewriter-slogan::after {
  display: inline-block;
  width: 0.06em;
  height: 0.82em;
  margin-left: 0.12em;
  background: currentColor;
  content: "";
  vertical-align: -0.02em;
  animation: sloganCaret 0.8s steps(2, start) infinite;
}

@keyframes sloganCaret {
  to { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter-slogan::after {
    animation: none;
  }
}

.hero-subtext {
  color: #52627a;
}

.booking-entry-price {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.46);
  color: #53627a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 5px 14px rgba(46, 65, 104, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.booking-entry-price strong {
  color: #3156b6;
}

.btn-book-service {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, rgba(70, 111, 224, 0.94), rgba(54, 91, 196, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 10px 24px rgba(54, 91, 196, 0.24);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-book-service:hover {
  background: linear-gradient(135deg, rgba(82, 124, 234, 0.98), rgba(57, 91, 190, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 13px 28px rgba(54, 91, 196, 0.3);
}

.hero-points {
  color: #53627a;
}

.hero-points span {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-points b {
  color: #3a9069;
}

.hero-steps-panel {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 42px rgba(46, 64, 106, 0.14);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

.hero-steps-icon,
.hero-step-number {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(55, 80, 135, 0.07);
}

.orders-header-card,
.order-card,
.guest-auth-prompt {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 26px rgba(48, 66, 107, 0.08);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.booking-modal-box,
.auth-modal-box {
  background: rgba(250, 252, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

@media (max-width: 700px) {
  .user-hero {
    background: rgba(255, 255, 255, 0.42);
  }

  .user-hero::before {
    top: -35px;
    right: -105px;
    width: 280px;
    height: 280px;
  }

  .hero-steps-panel {
    background: rgba(255, 255, 255, 0.66);
  }
}

@media (max-width: 700px) {
  .brand-wordmark {
    width: 118px;
  }
}

.saved-addresses-section {
  margin-top: 1.4rem;
}

.saved-addresses-heading {
  margin-bottom: 0.75rem;
}

.saved-addresses-heading h4,
.add-address-panel h4 {
  color: #1b2940;
  font-size: 0.95rem;
  font-weight: 750;
}

.saved-addresses-heading p {
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

.saved-addresses-list {
  display: grid;
  gap: 0.65rem;
}

.saved-address-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(206, 220, 244, 0.88);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.saved-address-card > input[type="radio"] {
  width: 17px;
  height: 17px;
  margin-top: 0.2rem;
  accent-color: #315ee8;
  cursor: pointer;
}

.saved-address-details {
  min-width: 0;
}

.saved-address-card-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.saved-address-card-heading strong {
  color: #24334d;
  font-size: 0.86rem;
}

.saved-address-card p {
  margin-top: 0.3rem;
  color: #53627a;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.saved-address-card small {
  display: block;
  margin-top: 0.25rem;
  color: #75829a;
  font-size: 0.76rem;
}

.default-address-badge {
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(71, 151, 110, 0.2);
  border-radius: 999px;
  background: rgba(229, 248, 238, 0.82);
  color: #347b56;
  font-size: 0.67rem;
  font-weight: 750;
}

.remove-address-button {
  padding: 0.25rem 0.35rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #a44949;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  cursor: pointer;
}

.remove-address-button:hover:not(:disabled) {
  background: #fff0f0;
}

.remove-address-button:disabled {
  color: #a8b0bc;
  cursor: not-allowed;
}

.add-address-panel {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border: 1px dashed rgba(160, 181, 220, 0.8);
  border-radius: 13px;
  background: rgba(245, 248, 255, 0.58);
}

.add-address-panel[hidden] {
  display: none;
}

.add-address-trigger {
  margin-top: 0.85rem;
}

.add-address-panel h4 {
  margin-bottom: 0.7rem;
}

.add-address-panel .form-group {
  margin-bottom: 0.65rem;
}

@media (max-width: 480px) {
  .saved-address-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .remove-address-button {
    grid-column: 2;
    justify-self: start;
  }
}

#bookingModal {
  background: rgba(18, 30, 55, 0.38);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

#bookingModal .booking-modal-box {
  position: relative;
  overflow: hidden;
  max-width: 610px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(181, 202, 255, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(250, 252, 255, 0.91), rgba(235, 242, 255, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 30px 90px rgba(13, 28, 59, 0.32),
    0 8px 24px rgba(40, 63, 109, 0.13);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
}

#bookingModal .booking-modal-box > form {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

#bookingModal .modal-header {
  position: relative;
  padding: 1.35rem 1.55rem;
  border-bottom-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#bookingModal .modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), transparent);
}

#bookingModal .modal-title {
  color: #172746;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

#bookingModal #modalServiceSubtitle {
  margin-top: 0.22rem;
  color: #65748c;
  line-height: 1.5;
}

#bookingModal .modal-close {
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 3px 10px rgba(36, 57, 98, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#bookingModal .modal-body {
  min-height: 0;
  padding: 1.35rem 1.55rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(245, 248, 255, 0.18));
}

#bookingModal .form-group {
  margin-bottom: 1.05rem;
}

#bookingModal .booking-slot-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

#bookingModal .booking-slot-fields .form-group {
  min-width: 0;
}

#bookingModal .form-label {
  margin-bottom: 0.42rem;
  color: #34445f;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.005em;
}

#bookingModal .form-control {
  min-height: 47px;
  border: 1px solid rgba(189, 204, 231, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.69);
  box-shadow:
    inset 0 1px 2px rgba(37, 58, 95, 0.035),
    0 3px 10px rgba(41, 62, 101, 0.035);
  color: #263650;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

#bookingModal .form-control::placeholder {
  color: #8996aa;
}

#bookingModal .form-control:hover {
  border-color: rgba(145, 169, 218, 0.86);
  background: rgba(255, 255, 255, 0.82);
}

#bookingModal .form-control:focus {
  border-color: rgba(91, 126, 213, 0.8);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 4px rgba(88, 125, 216, 0.12),
    0 6px 16px rgba(49, 77, 139, 0.08);
  transform: translateY(-1px);
}

#bookingModal textarea.form-control {
  min-height: 92px;
  resize: vertical;
}

#bookingModal select.form-control {
  cursor: pointer;
}

#bookingModal .user-status-logged,
#bookingModal .user-status-guest {
  border-color: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  line-height: 1.5;
}

#bookingModal .user-status-logged {
  background: rgba(223, 247, 235, 0.7);
}

#bookingModal .user-status-guest {
  background: rgba(255, 247, 218, 0.74);
}

#bookingModal .booking-price-breakdown {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(232, 240, 255, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 7px 18px rgba(43, 64, 105, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#bookingModal .breakdown-total {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: #33445f;
}

#bookingModal .breakdown-total-val {
  color: #3156b6;
  font-size: 1.45rem;
}

#bookingModal .form-hint {
  margin-top: 0.45rem;
  color: #74829a;
  line-height: 1.5;
}

#bookingModal .modal-footer {
  padding: 1rem 1.55rem;
  border-top-color: rgba(255, 255, 255, 0.76);
  background: rgba(248, 250, 255, 0.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#bookingModal .modal-footer .btn {
  min-height: 43px;
  border-radius: 11px;
}

#bookingModal #submitBookingBtn {
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: linear-gradient(135deg, #4a70d6, #3156b6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 7px 16px rgba(49, 86, 182, 0.22);
}

#bookingModal #submitBookingBtn:hover {
  background: linear-gradient(135deg, #5279e0, #385fc1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 9px 20px rgba(49, 86, 182, 0.28);
}

@media (max-width: 700px) {
  #bookingModal .booking-slot-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #bookingModal .booking-modal-box {
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }

  #bookingModal .modal-header {
    padding: 1rem 1.2rem;
  }

  #bookingModal .modal-body {
    padding: 1rem 1.2rem;
  }

  #bookingModal .modal-footer {
    padding: 0.8rem 1.2rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
    background: rgba(246, 249, 255, 0.76);
  }

  #bookingModal .form-group {
    margin-bottom: 0.9rem;
  }

  #bookingModal .form-control {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bookingModal .form-control {
    transition: none;
  }
}

html.user-landing-view,
body.user-landing-view {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.user-landing-view {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

.user-landing-view .app-header {
  flex: 0 0 auto;
}

.user-landing-view .container {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  min-width: 0;
  padding: clamp(0.65rem, 2.5vh, 1.5rem) 1rem;
}

.user-landing-view #servicesSection {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  min-width: 0;
}

.user-landing-view .user-hero {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  min-width: 0;
  margin: 0;
}

.user-landing-view .hero-content,
.user-landing-view .hero-heading {
  min-width: 0;
}

.user-landing-view .hero-content {
  width: 100%;
  container-type: inline-size;
}

.user-landing-view .typewriter-slogan {
  display: block;
  width: 100%;
  height: 1.15em;
  overflow: hidden;
  font-size: clamp(1.05rem, 7cqi, 2.35rem);
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .user-landing-view .container {
    padding: 0.5rem 0.65rem calc(64px + env(safe-area-inset-bottom, 0px) + 0.5rem);
  }

  .user-landing-view .user-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    justify-items: stretch;
    padding: clamp(0.85rem, 3vh, 1.25rem);
  }

  .user-landing-view .hero-content {
    width: 100%;
    max-width: none;
  }

  .user-landing-view .hero-heading {
    margin: 0.7rem 0 0.55rem;
    font-size: clamp(1.8rem, 8.5vw, 2.7rem);
    line-height: 1.04;
  }

  .user-landing-view .hero-subtext {
    margin-bottom: 0.8rem;
    line-height: 1.45;
  }

  .user-landing-view .booking-entry-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .user-landing-view .hero-points {
    gap: 0.4rem 0.55rem;
    margin-top: 0.75rem;
  }

  .user-landing-view .hero-points span {
    padding: 0.3rem 0.45rem;
  }

  .user-landing-view .hero-illustration {
    display: none;
  }
}

@media (max-width: 700px) and (max-height: 540px) {
  .user-landing-view .hero-badge,
  .user-landing-view .hero-points {
    display: none;
  }

  .user-landing-view .hero-heading {
    margin-top: 0;
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }
}

html.user-landing-view,
body.user-landing-view {
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

body.user-landing-view {
  min-height: 100vh;
  min-height: 100dvh;
}

.user-landing-view .container {
  display: block;
  flex: 1 0 auto;
  min-height: 0;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 3rem) 4rem;
}

.user-landing-view #servicesSection {
  display: block;
}

.user-landing-view .user-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
  min-height: clamp(31rem, 58vh, 39rem);
  margin: 0 auto 2rem;
  padding: clamp(2rem, 5vw, 4.25rem);
  border-radius: 28px;
}

.user-landing-view .hero-heading {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.08;
}

.user-landing-view .hero-subtext {
  max-width: 34rem;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.user-landing-view .hero-illustration {
  display: grid;
  width: 100%;
  min-height: 0;
}

.home-services-section {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.35rem);
  border: 1px solid rgba(220, 229, 244, 0.9);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 16px 38px rgba(34, 57, 99, 0.06);
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.home-section-eyebrow {
  color: #4266b8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.home-section-heading h2 {
  margin: 0.32rem 0 0.3rem;
  color: #14264a;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  letter-spacing: -0.035em;
}

.home-section-heading p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.home-view-all,
.home-service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  color: #3156b6;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.home-view-all {
  flex-shrink: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d5e0f6;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.82rem;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem;
  border: 1px solid #e1e9f7;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 5px 16px rgba(37, 62, 111, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-service-card:hover {
  transform: translateY(-3px);
  border-color: #b9cdf4;
  box-shadow: 0 14px 26px rgba(37, 62, 111, 0.1);
}

.home-service-card-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.home-service-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dce7ff;
  border-radius: 13px;
  background: linear-gradient(145deg, #eef4ff, #f8faff);
  font-size: 1.35rem;
}

.home-service-category {
  overflow: hidden;
  color: #6075a1;
  font-size: 0.67rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-service-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.8em;
  margin: 0 0 0.45rem;
  color: #1c2d4d;
  font-size: 0.97rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-service-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 4.35em;
  margin: 0 0 0.9rem;
  color: #71809a;
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-service-link {
  justify-content: flex-start;
  margin-top: auto;
  padding: 0;
  font-size: 0.79rem;
}

.home-service-link:hover,
.home-view-all:hover {
  color: #1744a6;
}

.home-services-empty {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px dashed #cbd8ef;
  border-radius: 16px;
  color: #52627a;
  text-align: center;
}

.home-assurance-strip {
  display: grid;
  max-width: 1200px;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: center;
  margin: 0 auto;
  padding: 1.2rem clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid #dce6f7;
  border-radius: 20px;
  background: #edf3ff;
}

.home-assurance-intro,
.home-assurance-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.72rem;
}

.home-assurance-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: #dce8ff;
  font-size: 1.3rem;
}

.home-assurance-item > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #ffffff;
  color: #3156b6;
  font-size: 1.05rem;
  font-weight: 800;
}

.home-assurance-intro strong,
.home-assurance-item strong,
.home-assurance-intro span:not(.home-assurance-icon),
.home-assurance-item small {
  display: block;
}

.home-assurance-intro strong,
.home-assurance-item strong {
  color: #24395e;
  font-size: 0.82rem;
}

.home-assurance-intro div > span,
.home-assurance-item small {
  margin-top: 0.18rem;
  color: #6b7b98;
  font-size: 0.7rem;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-assurance-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .user-landing-view .container {
    padding: 0.75rem 0.7rem calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .user-landing-view .user-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
    min-height: 0;
    padding: 1.45rem 1.2rem;
    border-radius: 22px;
  }

  .user-landing-view .hero-heading {
    max-width: none;
    margin: 0.65rem 0 0.55rem;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
  }

  .user-landing-view .hero-subtext {
    margin-bottom: 1rem;
    font-size: 0.92rem;
  }

  .user-landing-view .booking-entry-actions {
    align-items: center;
    flex-direction: row;
    gap: 0.55rem;
  }

  .user-landing-view .booking-entry-actions .btn-book-service {
    min-height: 46px;
    padding: 0.7rem 0.9rem;
    font-size: 0.86rem;
  }

  .user-landing-view .booking-entry-price {
    padding: 0.5rem 0.65rem;
    font-size: 0.74rem;
  }

  .user-landing-view .hero-points {
    display: flex;
    gap: 0.38rem;
    margin-top: 0.8rem;
  }

  .user-landing-view .hero-points span {
    padding: 0.32rem 0.45rem;
    font-size: 0.65rem;
  }

  .user-landing-view .hero-illustration {
    display: grid;
  }

  .user-landing-view .hero-steps-panel {
    width: 100%;
    padding: 0.95rem 1rem;
  }

  .user-landing-view .hero-steps-heading {
    padding-bottom: 0.65rem;
  }

  .user-landing-view .hero-step {
    gap: 0.65rem;
    padding-top: 0.65rem;
  }

  .home-services-section {
    margin-bottom: 0.8rem;
    padding: 1.15rem 0.85rem;
    border-radius: 19px;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 0.95rem;
  }

  .home-section-heading p {
    font-size: 0.8rem;
  }

  .home-view-all {
    padding: 0.48rem 0.7rem;
    font-size: 0.75rem;
  }

  .home-services-grid {
    gap: 0.6rem;
  }

  .home-service-card {
    padding: 0.82rem;
    border-radius: 15px;
  }

  .home-service-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
  }

  .home-service-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 11px;
    font-size: 1.15rem;
  }

  .home-service-category {
    max-width: 100%;
    font-size: 0.61rem;
  }

  .home-service-card h3 {
    min-height: 3.8em;
    font-size: 0.8rem;
  }

  .home-service-card p {
    min-height: 4.2em;
    margin-bottom: 0.65rem;
    font-size: 0.68rem;
  }

  .home-service-link {
    font-size: 0.68rem;
  }

  .home-assurance-strip {
    gap: 0.75rem 0.6rem;
    padding: 0.9rem 0.75rem;
    border-radius: 17px;
  }

  .home-assurance-intro {
    grid-column: 1 / -1;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #d8e3f5;
  }

  .home-assurance-icon {
    width: 2.35rem;
    height: 2.35rem;
  }

  .home-assurance-item {
    align-items: flex-start;
    gap: 0.45rem;
  }

  .home-assurance-item > span {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 9px;
    font-size: 0.85rem;
  }

  .home-assurance-intro strong,
  .home-assurance-item strong {
    font-size: 0.7rem;
  }

  .home-assurance-intro div > span,
  .home-assurance-item small {
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-service-card {
    transition: none;
  }
}

html {
  font-size: calc(100% * var(--user-font-scale, 1));
}

.user-settings-modal {
  max-width: 560px;
}

.user-settings-intro {
  margin-top: 0.3rem;
  font-size: 0.82rem;
}

.user-settings-body {
  display: grid;
  gap: 0.2rem;
}

.user-setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 190px);
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.user-setting-row .form-label {
  display: block;
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.user-setting-row .form-hint {
  margin: 0;
  line-height: 1.45;
}

.user-notification-setting input {
  justify-self: end;
  width: 1.2rem;
  height: 1.2rem;
}

.user-settings-status {
  min-height: 1.25rem;
  margin: 0.55rem 0 0;
  color: #047857;
  font-size: 0.84rem;
}

@media (max-width: 480px) {
  .user-setting-row {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 140px);
    gap: 0.65rem;
  }
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg-main: #0b1220;
  --bg-card: #111c2e;
  --bg-subtle: #172338;
  --bg-elevated: #152238;
  --text-main: #e5edf8;
  --text-muted: #b6c3d6;
  --text-light: #94a4bc;
  --border: #2a3950;
  --border-subtle: #26364d;
  --user-dark: #e5edf8;
  --user-slate: #d3deec;
  --user-muted: #9fb0c6;
  --user-light: #172338;
  --user-card-border: #2a3950;
  background: var(--bg-main);
  color: var(--text-main);
}

html[data-theme="dark"] {
  color-scheme: dark;
  background-color: #0b1220;
}

body[data-theme="dark"] .app-header,
body[data-theme="dark"] .user-dropdown-menu,
body[data-theme="dark"] .user-profile-pill,
body[data-theme="dark"] .card,
body[data-theme="dark"] .orders-header-card,
body[data-theme="dark"] .order-card,
body[data-theme="dark"] .home-service-card,
body[data-theme="dark"] .home-assurance-strip,
body[data-theme="dark"] .home-steps-panel,
body[data-theme="dark"] .modal-box,
body[data-theme="dark"] .booking-price-breakdown,
body[data-theme="dark"] .saved-address-card,
body[data-theme="dark"] .profile-address-card,
body[data-theme="dark"] .guest-auth-prompt {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: var(--text-main);
}

body[data-theme="dark"] .home-services-section,
body[data-theme="dark"] .bookings-filter-bar,
body[data-theme="dark"] .tab-pill-group,
body[data-theme="dark"] .dropdown-user-header,
body[data-theme="dark"] .user-setting-row {
  background-color: var(--bg-subtle);
  border-color: var(--border);
}

body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3,
body[data-theme="dark"] h4,
body[data-theme="dark"] .home-service-card h3,
body[data-theme="dark"] .orders-header-card h2,
body[data-theme="dark"] .order-card,
body[data-theme="dark"] .form-label,
body[data-theme="dark"] .dropdown-item,
body[data-theme="dark"] .user-profile-pill {
  color: var(--text-main);
}

body[data-theme="dark"] p,
body[data-theme="dark"] small,
body[data-theme="dark"] .text-muted,
body[data-theme="dark"] .home-service-card p,
body[data-theme="dark"] .home-assurance-item small,
body[data-theme="dark"] .home-assurance-intro div > span,
body[data-theme="dark"] .form-hint {
  color: var(--text-muted);
}

body[data-theme="dark"] .form-control,
body[data-theme="dark"] input,
body[data-theme="dark"] textarea,
body[data-theme="dark"] select {
  background-color: #0f1a2b;
  border-color: #34445d;
  color: #e5edf8;
}

body[data-theme="dark"] .form-control::placeholder,
body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
  color: #8292a9;
}

body[data-theme="dark"] .dropdown-item:hover,
body[data-theme="dark"] .pill-btn.active {
  background-color: #1d2c44;
}

body[data-theme="dark"] .pill-btn {
  color: #b6c3d6;
}

body[data-theme="dark"] .hero-steps-panel {
  border-color: rgba(191, 219, 254, 0.24);
}

body[data-theme="dark"] .home-assurance-intro,
body[data-theme="dark"] .home-assurance-strip,
body[data-theme="dark"] .dropdown-divider {
  border-color: var(--border);
}

body[data-theme="dark"] .user-settings-status {
  color: #6ee7b7;
}

body[data-theme="dark"] .app-header {
  background: #ffffff;
  border-bottom-color: #e2e8f0;
  box-shadow: 0 2px 12px rgba(21, 40, 72, 0.08);
  color: #0f172a;
}

body[data-theme="dark"] .app-header .user-profile-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

body[data-theme="dark"] .app-header .user-profile-pill:hover,
body[data-theme="dark"] .app-header .user-profile-pill.active {
  border-color: #2563eb;
  color: #1e3a8a;
}

body[data-theme="dark"] .app-header .nav-user-avatar {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}

body[data-theme="dark"] .user-hero {
  background:
    radial-gradient(ellipse at 92% 8%, rgba(52, 94, 190, 0.32), transparent 42%),
    radial-gradient(ellipse at 8% 92%, rgba(20, 128, 138, 0.16), transparent 45%),
    linear-gradient(145deg, #0b1425 0%, #111f37 58%, #192b4b 100%);
  border: 1px solid #263957;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .user-hero .hero-heading,
body[data-theme="dark"] .user-hero .hero-subtext,
body[data-theme="dark"] .user-hero .hero-highlight {
  color: #f1f5fb;
}

body[data-theme="dark"] .hero-highlight {
  background-image: linear-gradient(100deg, #a9c5ff 0%, #8de4d8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="dark"] .hero-badge,
body[data-theme="dark"] .hero-points span {
  background: rgba(17, 31, 54, 0.88);
  border-color: rgba(157, 181, 222, 0.28);
  color: #d7e3f7;
}

body[data-theme="dark"] .hero-badge-dot {
  background: #54d6a2;
  box-shadow: 0 0 0 4px rgba(84, 214, 162, 0.14);
}

body[data-theme="dark"] .hero-steps-panel {
  background: linear-gradient(150deg, rgba(23, 39, 65, 0.98), rgba(15, 28, 48, 0.98));
  border-color: #354a6b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 48px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .hero-steps-panel h2,
body[data-theme="dark"] .hero-step strong,
body[data-theme="dark"] .hero-steps-eyebrow {
  color: #e7eefb;
}

body[data-theme="dark"] .hero-step small {
  color: #aebdd3;
}

body[data-theme="dark"] .hero-steps-icon,
body[data-theme="dark"] .hero-step-number {
  background: linear-gradient(145deg, #253957, #1a2c46);
  border-color: #405777;
  box-shadow: none;
  color: #d8e6ff;
}

body[data-theme="dark"] .home-services-section {
  background: linear-gradient(145deg, #111c2e 0%, #0e192a 100%);
  border-color: #293a53;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

body[data-theme="dark"] .home-section-heading h2 {
  color: #e7eefb;
}

body[data-theme="dark"] .home-section-eyebrow {
  color: #9db9fa;
}

body[data-theme="dark"] .home-section-heading p {
  color: #aab9cf;
}

body[data-theme="dark"] .home-service-card {
  background: linear-gradient(160deg, #18263b 0%, #131f32 100%);
  border-color: #2e405a;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
}

body[data-theme="dark"] .home-service-card:hover {
  border-color: #5976aa;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

body[data-theme="dark"] .home-service-card-top .home-service-icon {
  background: linear-gradient(145deg, #243958, #192941);
  border-color: #3a5275;
}

body[data-theme="dark"] .home-service-category {
  color: #a8bbdf;
}

body[data-theme="dark"] .home-service-card h3 {
  color: #edf3fd;
}

body[data-theme="dark"] .home-service-card p {
  color: #b0bfd5;
}

body[data-theme="dark"] .home-service-link,
body[data-theme="dark"] .home-view-all:not(.btn) {
  color: #a9c5ff;
}

body[data-theme="dark"] .home-view-all:not(.btn) {
  background: #192942;
  border-color: #3b5275;
}

body[data-theme="dark"] .home-service-link:hover,
body[data-theme="dark"] .home-view-all:not(.btn):hover {
  color: #d5e3ff;
}

body[data-theme="dark"] .home-assurance-strip {
  background: linear-gradient(125deg, #15243b, #101c2e);
  border-color: #2b3d58;
}

body[data-theme="dark"] .home-assurance-icon {
  background: #263b5c;
}

body[data-theme="dark"] .home-assurance-item > span {
  background: #243653;
  color: #b9d0ff;
}

body[data-theme="dark"] .home-assurance-intro strong,
body[data-theme="dark"] .home-assurance-item strong {
  color: #e3ecfa;
}

body[data-theme="dark"] .mobile-bottom-nav {
  background: rgba(17, 28, 46, 0.98);
  border-top-color: #2a3a53;
  color: #e5edf8;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.26);
}

body[data-theme="dark"] .mobile-nav-btn {
  color: #aebdd3;
}

body[data-theme="dark"] .mobile-nav-btn.active {
  color: #a9c5ff;
}

body[data-theme="dark"] .modal-box,
body[data-theme="dark"] .booking-modal-box,
body[data-theme="dark"] .auth-modal-box {
  background: #111c2e;
  border-color: #30425d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

body[data-theme="dark"] .modal-header,
body[data-theme="dark"] .modal-footer {
  background: #111c2e;
  border-color: #293a53;
  color: #e5edf8;
}

body[data-theme="dark"] .modal-close {
  background: #1d2b40;
  color: #c5d2e4;
}

body[data-theme="dark"] .auth-tabs-toggle {
  background: #0c1626;
  border-color: #293a53;
}

body[data-theme="dark"] .auth-tab {
  color: #aebdd3;
}

body[data-theme="dark"] .auth-tab.active {
  background: #1d2c44;
  border-color: #3f5b87;
  color: #dce8fa;
  box-shadow: none;
}

body[data-theme="dark"] .profile-avatar-banner,
body[data-theme="dark"] .saved-addresses-section,
body[data-theme="dark"] .saved-address-card,
body[data-theme="dark"] .profile-address-card,
body[data-theme="dark"] .booking-price-breakdown,
body[data-theme="dark"] .local-account-notice,
body[data-theme="dark"] .trust-banner-grid,
body[data-theme="dark"] .home-services-empty {
  background: #17253a;
  border-color: #31435e;
  color: #d7e3f5;
}

body[data-theme="dark"] .local-account-notice,
body[data-theme="dark"] .local-account-notice strong {
  color: #e4d7b3;
}

body[data-theme="dark"] .b-filter-btn {
  color: #b8c5d8;
  border-color: #31435e;
}

body[data-theme="dark"] .b-filter-btn.active {
  background: linear-gradient(135deg, #31538e, #203b69);
  border-color: #4569a6;
  color: #f1f6ff;
}

body[data-theme="dark"] .orders-header-card,
body[data-theme="dark"] .order-card,
body[data-theme="dark"] .guest-auth-prompt {
  background: linear-gradient(145deg, #17253a, #111d30);
  border-color: #2c3e58;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .order-card:hover {
  border-color: #506b98;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .empty-state,
body[data-theme="dark"] .confirmation-dialog {
  background: #111c2e;
  border-color: #30425d;
  color: #e5edf8;
}

body[data-theme="dark"] .btn-outline {
  background: #1b2a40;
  border-color: #435774;
  color: #dce7f7;
}

body[data-theme="dark"] .btn-outline:hover:not(:disabled) {
  background: #263956;
  border-color: #6484b7;
  color: #fff;
}

body[data-theme="dark"] .tab-pill-group {
  background: #101b2c;
  border-color: #293a53;
}

body[data-theme="dark"] .pill-btn {
  color: #b2c0d3;
}

body[data-theme="dark"] .pill-btn.active {
  background: #263956;
  color: #dce8fa;
}

body[data-theme="dark"] .add-address-trigger,
body[data-theme="dark"] .home-view-all:not(.btn) {
  color: #c3d6fa;
}

body[data-theme="dark"] #bookingModal .booking-modal-box {
  background: #111c2e;
  border-color: #354967;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

body[data-theme="dark"] #bookingModal .modal-header,
body[data-theme="dark"] #bookingModal .modal-footer {
  background: #152238;
  border-color: #30425d;
  color: #e5edf8;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-theme="dark"] #bookingModal .form-control,
body[data-theme="dark"] #bookingModal .form-control:hover,
body[data-theme="dark"] #bookingModal .form-control:focus {
  background: #0c1728;
  border-color: #3a4e6b;
  color: #e8effa;
  box-shadow: none;
}

body[data-theme="dark"] #bookingModal .form-control::placeholder {
  color: #91a1b9;
}

body[data-theme="dark"] #bookingModal .booking-price-breakdown {
  background: #17263d;
  border-color: #344967;
  color: #e5edf8;
}

body[data-theme="dark"] #bookingModal .user-status-guest {
  background: #362d1b;
  border-color: #67562e;
  color: #f0dfb3;
}

body[data-theme="dark"] #bookingModal .user-status-logged {
  background: #142f2b;
  border-color: #285d50;
  color: #b6eadb;
}

body[data-theme="dark"] .auth-modal-box,
body[data-theme="dark"] #customerAuthModal .modal-header,
body[data-theme="dark"] #customerAuthModal .modal-footer {
  background: #111c2e;
  border-color: #30425d;
}

body[data-theme="dark"] .auth-modal-box .form-control,
body[data-theme="dark"] .auth-modal-box .form-control:focus {
  background: #0c1728;
  border-color: #3a4e6b;
  color: #e8effa;
}

body[data-theme="dark"] .auth-tabs-toggle .auth-tab.active {
  background: #203451;
  border-color: #425e88;
  color: #e5efff;
}

body[data-theme="dark"] .completed-tracking-card,
body[data-theme="dark"] .engineer-card-pill {
  background: #17253a;
  border-color: #31435e;
  color: #e5edf8;
}

body[data-theme="dark"] .completed-card-action {
  color: #a9c5ff;
}

body[data-theme="dark"] .completed-payment-status,
body[data-theme="dark"] .order-field-label {
  color: #b6c3d6;
}

body[data-theme="dark"] .booking-entry-price,
body[data-theme="dark"] .hero-points {
  color: #d3deef;
}

body[data-theme="dark"] .booking-entry-price strong {
  color: #c8f169;
}

body[data-theme="dark"] .modal-box .modal-title,
body[data-theme="dark"] #bookingModal .modal-title {
  color: #e5edf8;
}

body[data-theme="dark"] .modal-box .text-muted,
body[data-theme="dark"] #bookingModal #modalServiceSubtitle,
body[data-theme="dark"] #bookingModal .form-hint,
body[data-theme="dark"] #bookingModal .form-label {
  color: #c3d0e2;
}

body[data-theme="dark"] #bookingModal .breakdown-total,
body[data-theme="dark"] #bookingModal .breakdown-total > span:first-child {
  color: #e5edf8;
}

body[data-theme="dark"] #bookingModal .breakdown-total-val {
  color: #a9c5ff;
}

body[data-theme="dark"] #customerProfileModal #profileModalNameDisplay {
  color: #e5edf8 !important;
}

body[data-theme="dark"] .auth-switch-footer {
  color: #c3d0e2;
}

body[data-theme="dark"] .link-btn {
  color: #a9c5ff;
}

body[data-theme="dark"] .order-service-heading strong,
body[data-theme="dark"] .order-charge-summary strong {
  color: #e5edf8;
}

body[data-theme="dark"] .order-id {
  background: #203451;
  border-color: #3a5275;
  color: #dce8fa;
}

@media (prefers-reduced-motion: reduce) {
  body[data-theme="dark"] *,
  body[data-theme="dark"] *::before,
  body[data-theme="dark"] *::after {
    scroll-behavior: auto !important;
  }
}
