/**
 * Water Jar Delivery & Payment Tracker PWA
 * Design System & Core Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Color Palette - Water Cyan, Deep Slate, Pure Accents */
  --bg-primary: #070b14;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #1e293b;
  --bg-input: rgba(15, 23, 42, 0.65);
  
  --primary: #0284c7;
  --primary-light: #38bdf8;
  --primary-dark: #0369a1;
  --primary-glow: rgba(56, 189, 248, 0.35);
  
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #8b5cf6;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-highlight: #38bdf8;
  
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(56, 189, 248, 0.28);
  --border-card: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.55), 0 0 24px var(--primary-glow);
  --shadow-glow: 0 0 30px var(--primary-glow);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  min-height: 100%;
  background: radial-gradient(circle at 50% 0%, #0c213d 0%, #070b14 70%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 90px; /* Space for bottom navigation */
}

/* App Container (Mobile Frame) */
.app-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Header Bar */
.top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.icon-btn:hover, .icon-btn:active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

/* Offline Notice Bar */
.offline-banner {
  display: none;
  background: linear-gradient(90deg, #b45309, #d97706);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.offline-banner.active {
  display: flex;
}

/* Main Content Wrapper */
.main-content {
  flex: 1;
  padding: 20px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cards & Glass Containers */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
  border-color: var(--border-glow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title svg {
  color: var(--primary-light);
}

/* Outstanding Balance Hero Card */
.outstanding-card {
  background: linear-gradient(145deg, rgba(14, 34, 61, 0.9) 0%, rgba(8, 20, 38, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 36px -8px rgba(2, 132, 199, 0.35);
  position: relative;
}

.outstanding-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  pointer-events: none;
}

.balance-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-due {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-paid {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.balance-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 8px 0 4px;
  font-family: var(--font-mono);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.balance-currency {
  font-size: 1.8rem;
  color: var(--primary-light);
  font-weight: 700;
}

.balance-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  text-align: center;
  transition: all var(--transition-fast);
}

.stat-item:hover {
  background: rgba(30, 41, 59, 0.7);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.stat-value.highlight-jars {
  color: #38bdf8;
}

.stat-value.highlight-bill {
  color: #f87171;
}

.stat-value.highlight-paid {
  color: #34d399;
}

/* Period Pills / Tabs */
.period-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.period-tab {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.period-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Action Buttons (Scan & Payment) */
.hero-actions {
  display: flex;
  gap: 14px;
}

.btn-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius-xl);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-hero:active {
  transform: scale(0.97);
}

.btn-scan-qr {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  box-shadow: 0 10px 28px -4px rgba(2, 132, 199, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.btn-scan-qr:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 12px 32px -2px rgba(2, 132, 199, 0.65);
}

.btn-payment {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 10px 28px -4px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.btn-payment:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 12px 32px -2px rgba(16, 185, 129, 0.55);
}

/* Recent Activity List */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.activity-item:hover {
  background: rgba(30, 41, 59, 0.65);
  border-color: rgba(148, 163, 184, 0.2);
}

.activity-item.cancelled {
  opacity: 0.5;
  text-decoration: line-through;
}

.activity-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.activity-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.activity-badge.delivery {
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.activity-badge.payment {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
}

.activity-info {
  display: flex;
  flex-direction: column;
}

.activity-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.activity-sub {
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

.activity-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.activity-amount {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.activity-amount.plus {
  color: #f87171; /* Delivery adds to bill */
}

.activity-amount.minus {
  color: #34d399; /* Payment subtracts from bill */
}

.activity-status-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 2px;
}

/* Quantity Selector (E-commerce Stepper) */
.quantity-stepper-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}

.stepper-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(15, 23, 42, 0.7);
  border: 2px solid var(--border-glow);
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.btn-step {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--border-card);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-bounce);
}

.btn-step:hover {
  background: linear-gradient(135deg, #334155, #1e293b);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

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

.stepper-display {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
  min-width: 90px;
  text-align: center;
  line-height: 1;
  text-shadow: 0 0 24px var(--primary-glow);
}

.stepper-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Quick Quantity Pills (+1, +2, +5) */
.quick-qty-group {
  display: flex;
  gap: 10px;
}

.quick-qty-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-qty-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.quick-qty-btn:active {
  transform: scale(0.95);
}

/* Calculation Breakdown Card */
.calc-breakdown {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.calc-row.total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.calc-row.total .amount {
  color: var(--primary-light);
  font-family: var(--font-mono);
  font-size: 1.35rem;
}

/* Forms & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 16px var(--primary-glow);
  background: rgba(15, 23, 42, 0.9);
}

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

.currency-prefix {
  position: absolute;
  left: 16px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-light);
  pointer-events: none;
}

.form-input.has-prefix {
  padding-left: 40px;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
}

/* Segmented Switcher (Method & Type) */
.segment-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 4px;
}

.segment-btn {
  padding: 12px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.segment-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Primary Form Submit Button */
.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-xl);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 24px -4px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-bounce);
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 12px 28px -2px rgba(2, 132, 199, 0.6);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-secondary {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  height: 70px;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
  z-index: 100;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link svg {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-bounce);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link.active svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.nav-link.scan-qr-float {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-top: -24px;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.6);
  border: 3px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link.scan-qr-float svg {
  width: 26px;
  height: 26px;
}

.nav-link.scan-qr-float:active {
  transform: scale(0.92);
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #0f172a;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  animation: modalPop 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 460px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  animation: toastIn 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.toast.success {
  background: rgba(6, 78, 59, 0.92);
  border: 1px solid #10b981;
}

.toast.error {
  background: rgba(136, 19, 55, 0.92);
  border: 1px solid #f43f5e;
}

.toast.info {
  background: rgba(12, 74, 110, 0.92);
  border: 1px solid #38bdf8;
}

/* Scanner View */
.scanner-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--border-glow);
  box-shadow: var(--shadow-lg);
}

#reader {
  width: 100%;
  height: 100%;
}

.scan-crosshairs {
  position: absolute;
  inset: 15%;
  pointer-events: none;
  border: 2px dashed rgba(56, 189, 248, 0.8);
  border-radius: 16px;
  box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.55);
}

.scan-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, #fff, #38bdf8, transparent);
  box-shadow: 0 0 14px #38bdf8;
  animation: scanLaser 2s ease-in-out infinite alternate;
}

@keyframes scanLaser {
  0% { top: 0%; }
  100% { top: 100%; }
}
