/* =========================================================
   LUGHouse Logistics Global Stylesheet
   Brand Colors: Orange (#FF5722, #E64A19) and Crisp White (#FFFFFF)
   Admin Panel: Strictly White & Slate (#FFFFFF, #F8FAFC)
   ========================================================= */

:root {
  --primary-orange: #ff5722;
  --primary-dark-orange: #e64a19;
  --primary-light-orange: #ff8a65;
  --primary-bg-orange: #fff5f2;
  --dark-slate: #1e293b;
  --charcoal: #0f172a;
  --muted-gray: #64748b;
  --border-light: #e2e8f0;
  --surface-white: #ffffff;
  --bg-offwhite: #fafafa;
  --success-green: #10b981;
  --warning-amber: #f59e0b;
  --navbar-height: 72px;
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
  }
}

*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-offwhite);
  color: var(--dark-slate);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--navbar-height) !important;
}

/* NAVBAR (FIXED ON DESKTOP & MOBILE) */
.navbar {
  background: var(--surface-white);
  border-bottom: 2px solid var(--border-light);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--navbar-height);
  z-index: 1000 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

.brand-logo-text span {
  color: var(--primary-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-slate);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-orange);
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary-orange);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark-orange);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary-orange);
  color: var(--primary-orange);
}

.btn-outline:hover {
  background: var(--primary-bg-orange);
}

.btn-white {
  background: #ffffff;
  color: var(--charcoal);
  border: 1px solid var(--border-light);
}

.btn-white:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #fff7f4 100%);
  padding: 60px 20px;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-bg-orange);
  color: var(--primary-dark-orange);
  border: 1px solid #ffd8cc;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero h1 span.highlight {
  color: var(--primary-orange);
}

.hero p.lead {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.rate-banner-card {
  background: #ffffff;
  border: 2px solid #ffccba;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rate-item {
  text-align: center;
}

.rate-city {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.rate-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-dark-orange);
}

/* SECTION CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.section-tag {
  color: var(--primary-orange);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--muted-gray);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 22px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: #ffd8cc;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-orange);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-bg-orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.service-desc {
  color: var(--muted-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* AI LUGGAGE SCANNER COMPONENT */
.scanner-card {
  background: #ffffff;
  border: 2px solid #fed7aa;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(255, 87, 34, 0.08);
}

.scanner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: all 0.2s;
  position: relative;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary-orange);
  background: #fff7f4;
}

.dropzone-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.camera-preview {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 12px;
  display: none;
}

.ai-result-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* MANIFEST BASKET */
.manifest-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
}

.manifest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.manifest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #e2e8f0;
}

/* TABLES */
.table-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow-x: auto;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

table.data-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-light);
}

table.data-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--dark-slate);
  border-bottom: 1px solid var(--border-light);
}

table.data-table tr:hover td {
  background: #fdfdfd;
}

/* STATUS BADGES */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-delivered { background: #dcfce7; color: #166534; }
.status-storage { background: #dbeafe; color: #1e40af; }
.status-transit { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #f1f5f9; color: #334155; }
.status-paid { background: #e0f2fe; color: #0369a1; }

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: #ffffff;
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  padding: 28px;
  position: relative;
}

/* FOOTER */
.footer {
  margin-top: auto;
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 20px 24px 20px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ADMIN DASHBOARD (STRICTLY WHITE THEME) */
.admin-body {
  background: #ffffff !important;
  color: #0f172a !important;
}

.admin-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
}

.admin-stat {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0;
}

/* MOBILE NAVIGATION DRAWER */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.3rem;
  color: var(--charcoal);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid #ff5722;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  z-index: 1001;
  padding: 16px 20px 24px 20px;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  box-sizing: border-box;
}

.mobile-drawer.open {
  display: flex !important;
  animation: mobileMenuSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.mobile-drawer a {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-drawer a:hover, .mobile-drawer a.active {
  background: rgba(255, 87, 34, 0.15);
  color: #ff5722;
}

/* ORDER CARD RESPONSIVE GRIDS */
.order-route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.order-details-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

/* ADMIN SIDEBAR & WORKSPACE (STRICTLY WHITE) */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #ffffff;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.admin-sidebar {
  width: 260px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  transition: transform 0.3s ease;
}

.admin-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-sidebar-menu {
  list-style: none;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: all 0.2s;
}

.admin-menu-item:hover {
  background: #f8fafc;
  color: #0f172a;
}

.admin-menu-item.active {
  background: #fff7f4;
  color: #ea580c;
  border-color: #ffd8cc;
}

.admin-sidebar-footer {
  padding: 16px 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-main-content {
  flex: 1;
  min-width: 0;
  margin-left: 260px;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: calc(100% - 260px);
  max-width: 100%;
  box-sizing: border-box;
}

.admin-main-inner {
  padding: 24px 20px;
  max-width: 1300px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* MOBILE QUICK TABS SWITCHER FOR ADMIN */
.admin-mobile-tabs-bar {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.adm-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-height: 36px;
}

.adm-tab-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.adm-tab-pill.active {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);
}

.adm-tab-pill .tab-badge {
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 10px;
  background: #e2e8f0;
  color: #0f172a;
  font-weight: 800;
}

.adm-tab-pill.active .tab-badge {
  background: #ffffff;
  color: #ea580c;
}

.mobile-table-hint {
  display: none;
  font-size: 0.74rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-align: center;
  font-weight: 600;
}

.admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 900;
}

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1040;
}

.admin-sidebar-overlay.open {
  display: block;
}

.mobile-only-btn {
  display: none !important;
}

.mobile-logo-header {
  display: none !important;
}

/* RESPONSIVE SECTIONS (ABOUT & CONTACT) */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 30px;
  width: 100%;
}

/* REVIEWS CAROUSEL */
#reviews {
  width: 100% !important;
  max-width: 1200px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

#reviews .section-header {
  text-align: center !important;
  margin: 0 auto 24px auto !important;
  width: 100% !important;
  max-width: 600px !important;
  box-sizing: border-box !important;
  padding: 0 12px !important;
}

#reviews .section-tag {
  text-align: center !important;
  display: block !important;
  margin: 0 auto 6px auto !important;
}

#reviews .section-title {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  font-size: clamp(1.4rem, 5vw, 2.1rem) !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
}

#reviews .section-desc {
  text-align: center !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 6px auto 0 auto !important;
  font-size: 0.95rem !important;
}

.reviews-wrapper {
  position: relative;
  width: 100% !important;
  max-width: 860px;
  margin: 0 auto;
  min-width: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.reviews-carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 2px 14px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.reviews-carousel-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 14px;
  padding: 20px 18px;
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .review-card {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
    width: calc(50% - 6px);
    min-width: calc(50% - 6px);
    scroll-snap-align: start;
    padding: 22px 20px;
  }
}

.review-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  line-height: 1;
}

.review-nav-arrow:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

.review-nav-prev {
  left: -22px;
}

.review-nav-next {
  right: -22px;
}

@media (max-width: 800px) {
  .review-nav-arrow {
    display: none;
  }
}

/* ADMIN STAT CARDS & GRID */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.admin-stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.admin-stat-card .stat-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  margin-top: 4px;
  line-height: 1.2;
}

.admin-stat-card .stat-lbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ADMIN LOGIN SCREEN */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 30px 16px;
}

.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
  text-align: center;
}

/* ADMIN RESPONSIVE FORM & DIALOG CLASSES */
.admin-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-picker-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .mobile-only-btn {
    display: inline-block !important;
  }
  .mobile-logo-header {
    display: block !important;
  }
  .nav-actions {
    display: none !important;
  }
  .nav-links {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
  .nav-container {
    padding: 10px 16px !important;
    width: 100% !important;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .review-card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 18px 16px !important;
    border-radius: 14px !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
  }
  .review-card strong {
    font-size: 1rem !important;
  }
  .review-card p {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
  }
  .admin-topbar {
    padding: 10px 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .admin-topbar-subtitle {
    display: none !important;
  }
  .admin-topbar-badge {
    display: none !important;
  }
  .admin-topbar-user {
    display: none !important;
  }
  .admin-layout {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .admin-sidebar {
    width: 280px;
    max-width: 85vw;
    transform: translateX(-100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .admin-main-inner {
    padding: 14px 10px !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .admin-mobile-tabs-bar {
    display: flex !important;
  }
  .mobile-table-hint {
    display: block !important;
  }
  .table-container {
    border-radius: 8px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
  }
  table.data-table {
    min-width: 650px !important;
    width: 100% !important;
  }
  .hero-grid, .scanner-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .rate-banner-card {
    flex-direction: column;
    text-align: center;
  }
  .order-route-grid, .order-details-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  main.container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 10px;
    align-items: center;
  }
  .modal-content {
    padding: 20px 16px;
    max-height: 94vh;
    border-radius: 12px;
  }
  .table-container {
    border-radius: 8px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  table.data-table th, table.data-table td {
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }
  .btn {
    min-height: 44px;
  }
  .btn-sm {
    min-height: 36px;
  }
  .hero {
    padding: 30px 16px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .hero p.lead {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas a.btn {
    width: 100%;
  }
  .container {
    padding: 26px 14px;
  }
  .section-title {
    font-size: 1.55rem;
  }
  .scanner-card {
    padding: 14px;
  }
  .admin-grid-4 {
    grid-template-columns: 1fr;
  }
  /* Prevent iOS zoom on inputs */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Admin Mobile Overhaul */
  .admin-stat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .admin-stat-card {
    padding: 10px 10px !important;
    border-radius: 10px !important;
    min-height: 70px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .admin-stat-card:last-child {
    grid-column: span 2 !important;
  }
  .admin-stat-card .stat-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  .admin-stat-card .stat-val {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem) !important;
    word-break: break-all !important;
  }
  .admin-stat-card .stat-lbl {
    font-size: 0.65rem !important;
    letter-spacing: 0.2px !important;
  }

  .admin-dialog {
    padding: 16px 12px !important;
    width: 95% !important;
    max-width: 95% !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
    border-radius: 12px !important;
    margin: 6px auto !important;
    box-sizing: border-box !important;
  }
  .admin-form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .admin-picker-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .admin-picker-row select, .admin-picker-row input, .admin-picker-row button {
    width: 100% !important;
  }
  .admin-header-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .admin-header-actions > div:first-child {
    width: 100% !important;
  }
  .admin-header-actions > div:last-child {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .admin-header-actions .btn {
    width: 100% !important;
  }
  .admin-card {
    padding: 14px 10px !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .admin-card h2 {
    font-size: 1.1rem !important;
  }
  .admin-login-wrapper {
    padding: 16px 10px !important;
    align-items: center !important;
  }
  .admin-login-card {
    padding: 24px 16px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ==================== AI FULLSCREEN LOADING OVERLAY ==================== */
.ai-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  animation: aiFadeIn 0.3s ease-out forwards;
}

@keyframes aiFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.ai-loader-container {
  max-width: 440px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-scanner-viewfinder {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 2px solid rgba(255, 87, 34, 0.5);
  background: #090d16;
  box-shadow: 0 0 35px rgba(255, 87, 34, 0.3), inset 0 0 25px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-loader-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.95);
}

.ai-loader-placeholder {
  font-size: 4rem;
  animation: aiPulse 1.6s infinite ease-in-out;
}

@keyframes aiPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.ai-laser-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ff5722, #38bdf8, #ff5722, transparent);
  box-shadow: 0 0 16px #ff5722, 0 0 10px #38bdf8;
  animation: aiLaserSweep 2s ease-in-out infinite;
  z-index: 5;
}

@keyframes aiLaserSweep {
  0% { top: 4%; opacity: 0.6; }
  50% { top: 96%; opacity: 1; }
  100% { top: 4%; opacity: 0.6; }
}

.ai-target-corners {
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(56, 189, 248, 0.5);
  border-radius: 12px;
  pointer-events: none;
  animation: aiPulseCorners 2s infinite alternate;
}

@keyframes aiPulseCorners {
  0% { transform: scale(0.97); opacity: 0.4; }
  100% { transform: scale(1.02); opacity: 0.9; }
}

.ai-loader-text-wrap {
  width: 100%;
}

.ai-loader-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 87, 34, 0.18);
  border: 1px solid rgba(255, 87, 34, 0.5);
  color: #ff784e;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5722;
  box-shadow: 0 0 10px #ff5722;
  animation: dotPulse 1.2s infinite ease-in-out;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}

.ai-loader-title {
  font-size: 1.45rem;
  font-weight: 900;
  margin: 0 0 8px 0;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.ai-loader-step {
  color: #cbd5e1;
  font-size: 0.94rem;
  margin: 0 0 18px 0;
  min-height: 24px;
  line-height: 1.4;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.ai-loader-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.ai-loader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #ff5722, #fb923c, #38bdf8, #ff5722);
  background-size: 200% 100%;
  animation: aiBarMove 1.5s linear infinite;
  border-radius: 10px;
}

@keyframes aiBarMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ai-loader-confidence {
  font-size: 0.82rem;
  color: #10b981;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==================== AI RESULT CARD & ACTION BUTTONS ==================== */
.ai-result-card {
  background: #ffffff;
  border: 2px solid #ff5722;
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 12px 32px rgba(255, 87, 34, 0.14), 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  animation: aiCardPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes aiCardPop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-confidence-pill {
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #6ee7b7;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12);
}

.ai-confidence-pill .confidence-check {
  background: #10b981;
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.ai-size-pill {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
}

.ai-result-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ai-result-thumb {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  flex-shrink: 0;
  background: #f8fafc;
}

.ai-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-result-info {
  flex: 1;
  min-width: 0;
}

.ai-item-title {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.ai-price-tag {
  color: #e64a19;
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.ai-reasoning {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
  border-left: 3px solid #ff5722;
}

.ai-action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.ai-btn-accept {
  flex: 1.4;
  padding: 13px 16px;
  font-size: 0.96rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.25);
  cursor: pointer;
  background: #ff5722;
  color: #ffffff;
  border: none;
  transition: all 0.2s ease;
}

.ai-btn-accept:hover {
  background: #e64a19;
  transform: translateY(-1px);
}

.ai-btn-decline {
  flex: 1;
  padding: 13px 16px;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
}

.ai-btn-decline:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* ==================== GENERAL MOBILE OPTIMIZATIONS (< 768px) ==================== */
@media (max-width: 768px) {
  /* Prevent any horizontal page shaking or overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Touch-friendly base sizes */
  .btn {
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
  }

  /* Inputs and Selects: prevent auto-zoom and maintain full touch targets */
  input, select, textarea {
    font-size: 16px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  /* Two-column booking forms collapse nicely to 1 column */
  #booking-form div[style*="grid-template-columns:1fr 1fr"],
  #booking-form div[style*="grid-template-columns: 1fr 1fr"],
  #relocation-options div[style*="grid-template-columns:1fr 1fr"],
  #relocation-options div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* Scanner container & Dropzone padding on mobile */
  .dropzone {
    padding: 24px 14px !important;
    border-radius: 14px !important;
  }

  .dropzone-icon {
    font-size: 2.4rem !important;
    margin-bottom: 8px !important;
  }

  .camera-preview {
    max-height: 220px !important;
  }

  /* Result Card mobile adjustments */
  .ai-action-buttons {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .ai-btn-accept, .ai-btn-decline {
    width: 100% !important;
    flex: none !important;
    min-height: 48px !important;
  }

  .ai-result-body {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .ai-result-thumb {
    width: 120px !important;
    height: 120px !important;
  }

  .ai-result-header {
    justify-content: center !important;
  }

  /* Navbar on mobile */
  .navbar {
    height: 60px !important;
    padding: 0 !important;
  }

  .nav-container {
    height: 60px !important;
    padding: 0 16px !important;
  }

  .brand-logo img {
    height: 38px !important;
  }

  .mobile-toggle {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #0f172a !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1002 !important;
  }

  /* Mobile Drawer full width attached dropdown (NOT floating) */
  .mobile-drawer {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    position: absolute !important;
    border-radius: 0 0 16px 16px !important;
    padding: 16px 18px 24px 18px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4) !important;
    max-height: calc(100vh - 60px) !important;
    max-height: calc(100dvh - 60px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .mobile-drawer a {
    padding: 13px 12px !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  /* Hero Section */
  .hero {
    padding: 32px 14px 24px 14px !important;
  }

  .hero h1 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }

  .hero p.lead {
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
  }

  .hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-ctas a.btn {
    width: 100% !important;
    padding: 13px !important;
  }

  /* Route selector wrap */
  #route-indicator-badge {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* Container paddings */
  .container {
    padding: 24px 12px !important;
  }

  /* Footer padding */
  .footer {
    padding: 36px 16px 20px 16px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }
}

/* ==================== ULTRA-COMPACT MOBILE (< 480px) ==================== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem !important;
  }

  .scanner-card {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .manifest-box {
    padding: 14px !important;
    border-radius: 10px !important;
  }

  .modal-content, .dash-modal-card, .admin-dialog {
    padding: 18px 12px !important;
    border-radius: 12px !important;
    width: 95vw !important;
    max-width: 95vw !important;
  }

  .ai-loader-container {
    max-width: 310px !important;
  }

  .ai-scanner-viewfinder {
    width: 170px !important;
    height: 170px !important;
  }

  .ai-loader-title {
    font-size: 1.2rem !important;
  }

  .dash-topbar-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .btn-action-pill {
    text-align: center !important;
    padding: 8px 12px !important;
  }

  .delivery-accordion-header > div {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* LIVE CAMERA VIEWFINDER OVERLAY */
.camera-viewfinder-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #000000;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.camera-viewfinder-header {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  z-index: 10;
  color: #ffffff;
}

.camera-viewfinder-body {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #000000;
}

.camera-viewfinder-body video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-target-frame {
  position: absolute;
  width: min(85vw, 400px);
  height: min(60vh, 460px);
  border: 2.5px dashed rgba(255, 87, 34, 0.9);
  border-radius: 16px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  box-sizing: border-box;
}

.camera-target-hint {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  background: rgba(15, 23, 42, 0.75);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.camera-viewfinder-footer {
  width: 100%;
  padding: 20px 24px 34px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.camera-shutter-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: #ff5722;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(255, 87, 34, 0.7);
  transition: transform 0.1s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.camera-shutter-btn:active {
  transform: scale(0.92);
  background: #e64a19;
}

.camera-shutter-inner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.camera-flash-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
  z-index: 20;
}

.camera-flash-active {
  opacity: 0.9 !important;
}



