/* ═══════════════════════════════════════════════════════
   AccessiGo — styles.css (High Contrast & Accessibility Optimized)
   Barangay Sta. Rita Accessibility Navigation App
   Light & Accessible Color Palette for PWDs
   ═══════════════════════════════════════════════════════ */

:root {
  /* Light & Accessible Base — High Contrast, WCAG Friendly */
  --bg-deep: #F8F9FC;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F1F4F9;
  --bg-hover: #E9ECF2;
  
  /* Text & Borders — Strong Contrast for Readability */
  --text-primary: #1A1E2B;
  --text-secondary: #3D4459;
  --text-tertiary: #6B7280;
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  
  /* Modern Accent — Clean Blue with Good Contrast */
  --accent-primary: #2563EB;
  --accent-dim: rgba(37, 99, 235, 0.12);
  --accent-hover: #3B82F6;
  --accent-strong: #1D4ED8;
  
  /* Success / Gold Accent for Admin */
  --gold: #D97706;
  --gold-dim: rgba(217, 119, 6, 0.12);
  --gold-hover: #F59E0B;
  
  /* Semantic Colors — High Contrast Versions */
  --success: #059669;
  --success-dim: rgba(5, 150, 105, 0.12);
  --warning: #D97706;
  --warning-dim: rgba(217, 119, 6, 0.12);
  --danger: #DC2626;
  --danger-dim: rgba(220, 38, 38, 0.12);
  --info: #0891B2;
  --info-dim: rgba(8, 145, 178, 0.12);
  
  /* Map & Visual Elements — Softer for Light Background */
  --road-major: #9CA3AF;
  --road-sec: #B0B8C5;
  --road-minor: #CBD5E1;
  --water: rgba(37, 99, 235, 0.08);
  --park: rgba(5, 150, 105, 0.08);
  --building: #E5E7EB;
  --building-imp: #D1D5DB;
  
  /* Spacing & Radius */
  --r: 8px;
  --rl: 16px;
  
  /* Shadows — Lighter & Softer */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-glow: 0 0 12px rgba(37, 99, 235, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

/* Remove noise texture for cleaner visual experience */
body::after { display: none; }

/* ══ HEADER ══ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 28px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-mark {
  width: 34px; height: 34px; background: var(--accent-primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.logo-mark svg { width: 18px; height: 18px; color: #fff; }
.logo-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; background: linear-gradient(135deg, #1A1E2B 0%, #3D4459 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-name span { color: var(--accent-primary); background: none; -webkit-background-clip: unset; background-clip: unset; }

nav { display: flex; gap: 4px; background: var(--bg-surface); padding: 4px; border-radius: 40px; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); }
.nav-btn {
  background: none; border: none; color: var(--text-tertiary);
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500;
  padding: 6px 18px; border-radius: 32px; cursor: pointer;
  transition: all 0.2s ease; letter-spacing: 0.02em;
  display: inline-flex; align-items: center;
}
.nav-btn:hover, .nav-btn.active { background: var(--bg-hover); color: var(--text-primary); }
.nav-btn-admin { color: var(--gold) !important; }
.nav-btn-admin:hover, .nav-btn-admin.active { background: var(--gold-dim) !important; color: var(--gold) !important; }

.header-right { display: flex; align-items: center; gap: 12px; }
.ico-btn {
  width: 36px; height: 36px; border: 1px solid var(--border-subtle); background: var(--bg-surface);
  color: var(--text-secondary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.ico-btn:hover { background: var(--bg-hover); border-color: var(--border-medium); color: var(--text-primary); }
.ico-btn svg { width: 16px; height: 16px; }

.user-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: 100px; padding: 5px 14px 5px 5px;
  cursor: pointer; transition: all 0.2s;
}
.user-chip:hover { border-color: var(--border-medium); background: var(--bg-hover); }

.avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-hover);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 0.75rem; color: var(--text-primary); flex-shrink: 0;
  transition: background 0.2s;
}
.avatar.avatar-admin { background: var(--gold); color: #fff; }

.user-name { font-size: 0.85rem; color: var(--text-secondary); white-space: nowrap; }

.btn-p {
  background: var(--accent-primary); color: #fff; border: none;
  padding: 8px 20px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn-p:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-o {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-medium); padding: 8px 20px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s;
}
.btn-o:hover { border-color: var(--accent-primary); background: var(--accent-dim); color: var(--accent-primary); }

/* ══ MAIN LAYOUT ══ */
main { padding-top: 64px; height: 100vh; display: flex; flex-direction: column; }
.view { display: none; height: calc(100vh - 64px); }
.view.active { display: flex; }

/* ══ HOME VIEW ══ */
#home-view { flex-direction: row; }
.home-left {
  flex: 1; padding: 60px 64px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--border-subtle); overflow: hidden; position: relative;
  background: var(--bg-surface);
}
.home-left::before {
  content: ''; position: absolute; bottom: -120px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  border-radius: 100px; padding: 6px 14px;
  font-size: 0.75rem; color: var(--text-tertiary);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 28px; width: fit-content;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-primary); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px; background: linear-gradient(135deg, #1A1E2B 0%, #3D4459 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 em { font-style: normal; color: var(--accent-primary); background: none; -webkit-background-clip: unset; background-clip: unset; }
.hero-p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; max-width: 420px; margin-bottom: 32px; }

.cta-row { display: flex; gap: 12px; margin-bottom: 40px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px; border: none;
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.01em;
}
.btn-hero svg { width: 18px; height: 18px; }
.btn-hero-w { background: var(--accent-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-hero-w:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-hero-g { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-medium); }
.btn-hero-g:hover { background: var(--bg-hover); transform: translateY(-2px); border-color: var(--accent-primary); }

.stats-row { display: flex; gap: 36px; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--accent-primary); }
.stat-l { font-size: 0.75rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

.home-right {
  width: 55%; position: relative; overflow: hidden;
  background: var(--bg-elevated); cursor: pointer;
  border-radius: 0 0 0 0;
}

/* ══ MAP VIEW ══ */
#map-view { flex-direction: row; }
.map-wrap {
  flex: 1; position: relative; overflow: hidden;
  background: var(--bg-elevated); cursor: grab;
  border-radius: 0;
}
.map-wrap:active { cursor: grabbing; }
.map-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(100,116,139,0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(100,116,139,0.15) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.6;
}
.map-svg-wrap { position: absolute; inset: 0; }

#route-layer { position: absolute; inset: 0; pointer-events: none; }
.route-line {
  position: absolute;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 2px;
  box-shadow: var(--shadow-glow);
  transform-origin: 0 0;
  pointer-events: none;
}
.route-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--accent-primary);
  pointer-events: none;
}
.route-target {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  background: rgba(37,99,235,0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Map SVG classes — Improved contrast for light mode */
.m-water { fill: var(--water); stroke: #BFDBFE; stroke-width: 0.5; }
.m-park  { fill: var(--park); stroke: #A7F3D0; stroke-width: 1; }
.m-road-major { stroke: var(--road-major); stroke-width: 8; stroke-linecap: round; }
.m-road-sec   { stroke: var(--road-sec); stroke-width: 5; stroke-linecap: round; }
.m-road-minor { stroke: var(--road-minor); stroke-width: 3; stroke-linecap: round; }
.m-bldg       { fill: var(--building); stroke: #D1D5DB; stroke-width: 0.5; }
.m-bldg-imp   { fill: var(--building-imp); stroke: #9CA3AF; stroke-width: 0.5; }
.m-road-label { font-family: 'DM Sans', sans-serif; fill: var(--text-tertiary); font-size: 8px; font-weight: 500; }
.m-place-label{ font-family: 'Syne', sans-serif; fill: var(--text-secondary); font-size: 7px; font-weight: 600; }
.m-place-sub  { font-family: 'DM Sans', sans-serif; fill: var(--text-tertiary); font-size: 6px; }

/* Map sidebar */
.map-sidebar {
  width: 320px; display: flex; flex-direction: column;
  border-left: 1px solid var(--border-subtle); overflow: hidden; position: relative;
  background: var(--bg-surface);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border-bottom: 1px solid var(--border-subtle); }
.chip {
  padding: 6px 14px; border-radius: 100px; font-size: 0.75rem;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  color: var(--text-tertiary); cursor: pointer; transition: all 0.2s;
}
.chip:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: var(--accent-dim); }
.chip.on { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }

.loc-search-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}
.loc-search-wrap svg { width: 16px; height: 16px; color: var(--text-tertiary); flex-shrink: 0; }
.loc-search-wrap input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
}
.loc-search-wrap input::placeholder { color: var(--text-tertiary); }

.card-list { flex: 1; overflow-y: auto; padding: 12px; }
.card-list::-webkit-scrollbar { width: 6px; }
.card-list::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }

.loc-card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 12px;
  padding: 14px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s;
}
.loc-card:hover { border-color: var(--border-medium); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.lc-name { font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); }
.lc-badge { font-size: 0.65rem; padding: 3px 10px; border-radius: 100px; white-space: nowrap; flex-shrink: 0; font-weight: 600; }
.lb-ramp     { background: var(--accent-dim); color: var(--accent-primary); }
.lb-audio    { background: var(--info-dim); color: var(--info); }
.lb-elevator { background: rgba(139, 92, 246, 0.12); color: #7C3AED; }
.lb-danger   { background: var(--danger-dim); color: var(--danger); }
.lb-park     { background: var(--success-dim); color: var(--success); }
.lb-service  { background: var(--info-dim); color: var(--info); }

.lc-sub { font-size: 0.78rem; color: var(--text-tertiary); line-height: 1.5; margin-bottom: 10px; }
.lc-foot { display: flex; justify-content: space-between; align-items: center; }
.lc-rating { font-size: 0.75rem; color: var(--gold); letter-spacing: 2px; }
.lc-acts { display: flex; gap: 8px; }
.lc-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px; background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); font-family: 'DM Sans', sans-serif; font-size: 0.7rem;
  border-radius: 8px; cursor: pointer; transition: all 0.15s;
}
.lc-btn:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border-medium); }
.lc-btn svg { width: 13px; height: 13px; }
.lc-btn.nb { background: var(--bg-elevated); color: var(--text-tertiary); }
.lc-btn.nb:hover { background: var(--accent-dim); color: var(--accent-primary); }

/* Audio bar */
.audio-bar {
  padding: 12px 16px; border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 12px; background: var(--bg-surface);
}
.a-wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.a-wave span {
  display: block; width: 3px; border-radius: 2px; background: var(--text-tertiary);
  height: 6px; transition: height 0.3s;
}
.a-wave.playing span { animation: wave 1.2s ease-in-out infinite; background: var(--accent-primary); }
.a-wave span:nth-child(1) { animation-delay: 0s; }
.a-wave span:nth-child(2) { animation-delay: 0.15s; }
.a-wave span:nth-child(3) { animation-delay: 0.3s; }
.a-wave span:nth-child(4) { animation-delay: 0.45s; }
.a-wave span:nth-child(5) { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.a-info { flex: 1; min-width: 0; }
.a-title { font-size: 0.8rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-sub   { font-size: 0.68rem; color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-btn {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-elevated);
  border: 1px solid var(--border-subtle); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: all 0.15s;
}
.a-btn:hover { background: var(--bg-hover); color: var(--accent-primary); border-color: var(--accent-primary); }
.a-btn svg { width: 15px; height: 15px; }

/* Route box */
.route-box {
  position: absolute; bottom: 80px; left: 16px; right: 16px;
  background: var(--bg-surface); border: 1px solid var(--border-medium);
  border-radius: 16px; padding: 18px; display: none;
  z-index: 20; animation: slideup 0.22s ease;
  box-shadow: var(--shadow-lg);
}
.route-box.vis { display: block; }
.rb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rb-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.rb-close { background: none; border: none; color: var(--text-tertiary); cursor: pointer; font-size: 1.2rem; padding: 0; transition: color 0.15s; }
.rb-close:hover { color: var(--danger); }
.prog-track { height: 5px; background: var(--border-subtle); border-radius: 2px; margin-bottom: 14px; overflow: hidden; }
.prog-fill { height: 100%; background: var(--accent-primary); border-radius: 2px; transition: width 0.1s linear; width: 0%; }
.step-list { list-style: none; }
.step { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.8rem; color: var(--text-tertiary); }
.sdot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-medium); flex-shrink: 0; }
.sdot.on { background: var(--accent-primary); box-shadow: var(--shadow-glow); }

/* Map controls */
.map-ctrl {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  display: flex; flex-direction: column;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: 12px; overflow: hidden; backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.mc-btn {
  width: 42px; height: 42px; background: none; border: none;
  color: var(--text-secondary); cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: all 0.15s;
}
.mc-btn:hover { background: var(--bg-hover); color: var(--accent-primary); }
.mc-btn svg { width: 18px; height: 18px; }
.mc-sep { height: 1px; background: var(--border-subtle); margin: 0; }

/* Map legend */
.map-legend {
  position: absolute; bottom: 16px; left: 16px; z-index: 10;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 14px 18px; backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.leg-t { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin-bottom: 8px; }
.leg-i { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 6px; }
.leg-d { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* Markers */
.mpin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; z-index: 5; transition: transform 0.2s; }
.mpin:hover { transform: translate(-50%, -100%) scale(1.1); }
.mpin-inner {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.mpin-inner svg { transform: rotate(45deg); width: 14px; height: 14px; }
.pin-ramp .mpin-inner     { background: var(--accent-primary); }
.pin-audio .mpin-inner    { background: var(--info); }
.pin-elevator .mpin-inner { background: #7C3AED; }
.pin-danger .mpin-inner   { background: var(--danger); }
.pin-park .mpin-inner     { background: var(--success); }
.pin-service .mpin-inner  { background: var(--info); }
.pin-info .mpin-inner     { background: var(--text-tertiary); }
.mpin-tip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--bg-surface); border: 1px solid var(--border-medium); color: var(--text-primary);
  font-size: 0.75rem; padding: 5px 12px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s; backdrop-filter: blur(8px);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.mpin:hover .mpin-tip { opacity: 1; }

/* User dot */
.user-loc { position: absolute; transform: translate(-50%, -50%); z-index: 8; pointer-events: none; }
.user-dot { width: 16px; height: 16px; background: var(--accent-primary); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 3px rgba(37,99,235,0.3); }
.user-ring { position: absolute; inset: -10px; border: 1px solid rgba(37,99,235,0.4); border-radius: 50%; animation: ring 2s infinite; }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* Location update animation */
.user-loc.location-updated .user-dot {
  animation: locationPulse 0.8s ease-out;
}
@keyframes locationPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 3px rgba(37,99,235,0.3); }
  50% { transform: scale(1.3); box-shadow: 0 0 0 8px rgba(37,99,235,0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(37,99,235,0.3); }
}

/* Highlighted location (for nearest ramp) */
.mpin.highlighted {
  animation: highlightPulse 2s ease-out;
}
@keyframes highlightPulse {
  0% { filter: drop-shadow(0 0 0 rgba(37,99,235,0.6)); }
  50% { filter: drop-shadow(0 0 14px var(--accent-primary)); }
  100% { filter: drop-shadow(0 0 0 rgba(37,99,235,0.6)); }
}

/* Map badge */
.map-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 12px 20px;
  backdrop-filter: blur(12px); z-index: 10;
  box-shadow: var(--shadow-sm);
}
.mb-title { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.mb-sub   { font-size: 0.75rem; color: var(--text-tertiary); }

/* ══ REPORT VIEW ══ */
#report-view { flex-direction: column; overflow-y: auto; padding: 48px 56px; background: var(--bg-deep); }
#about-view  { flex-direction: column; overflow-y: auto; padding: 48px 56px; background: var(--bg-deep); }

.phead { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border-subtle); }
.phead h2 { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; background: linear-gradient(135deg, #1A1E2B 0%, #3D4459 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phead p  { color: var(--text-secondary); font-size: 0.95rem; }

.rg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; }
.rg-full { grid-column: 1 / -1; }
.rcard { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.rlabel { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin-bottom: 14px; font-weight: 600; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tybtn {
  padding: 12px 8px; border-radius: 12px; border: 1px solid var(--border-subtle);
  background: var(--bg-elevated); color: var(--text-tertiary); font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; cursor: pointer; transition: all 0.2s;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.tybtn svg { width: 22px; height: 22px; }
.tybtn:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: var(--accent-dim); }
.tybtn.sel { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }

.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 6px; font-weight: 500; }
.fg input, .fg select, .fg textarea {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  color: var(--text-primary); padding: 12px 16px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: all 0.2s; resize: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-tertiary); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-dim); }
.fg select option { background: var(--bg-surface); }

.sub-btn {
  width: 100%; padding: 14px; background: var(--accent-primary); color: #fff;
  border: none; border-radius: 12px; font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; letter-spacing: 0.02em;
}
.sub-btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ══ ABOUT VIEW ══ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
.acard { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.acard-full { grid-column: 1 / -1; }
.aico { width: 48px; height: 48px; background: var(--accent-dim); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.aico svg { width: 24px; height: 24px; color: var(--accent-primary); }
.acard h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.acard p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.big-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.bs-stat { padding: 0 20px; }
.bs-stat + .bs-stat { border-left: 1px solid var(--border-subtle); }
.bs-n { font-family: 'Syne', sans-serif; font-size: 2.6rem; font-weight: 700; margin-bottom: 4px; color: var(--accent-primary); }
.bs-l { font-size: 0.75rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.07em; }

/* ══ AUTH MODALS ══ */
.backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 500; backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.backdrop.open { display: flex; }
.modal { background: var(--bg-surface); border: 1px solid var(--border-medium); border-radius: 20px; padding: 36px; width: 460px; max-width: 92vw; animation: slideup 0.28s ease; position: relative; box-shadow: var(--shadow-lg); }
@keyframes slideup { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.modal-logo .logo-mark { width: 36px; height: 36px; }
.modal-logo .logo-mark svg { width: 20px; height: 20px; }
.modal-logo span { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; background: linear-gradient(135deg, #1A1E2B 0%, #3D4459 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modal h3  { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.modal .sub { color: var(--text-tertiary); font-size: 0.9rem; margin-bottom: 28px; }
.modal .fg { margin-bottom: 16px; }

.auth-submit {
  width: 100%; padding: 14px; background: var(--accent-primary); color: #fff;
  border: none; border-radius: 12px; font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-submit:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.auth-switch { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-tertiary); }
.auth-switch a { color: var(--accent-primary); cursor: pointer; font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-tertiary); font-size: 0.8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border-subtle); }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.btn-cancel  { background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--border-subtle); padding: 10px 20px; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; cursor: pointer; transition: all 0.15s; }
.btn-cancel:hover  { background: var(--bg-hover); border-color: var(--border-medium); }
.btn-confirm { background: var(--accent-primary); color: #fff; border: none; padding: 10px 20px; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.15s; }
.btn-confirm:hover { background: var(--accent-hover); transform: translateY(-1px); }
.err-msg { font-size: 0.8rem; color: var(--danger); margin-top: 8px; display: none; }
.err-msg.show { display: block; }

/* Close X button */
.modal-close-x {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  color: var(--text-tertiary); cursor: pointer; padding: 6px; border-radius: 8px; transition: all 0.15s;
}
.modal-close-x:hover { color: var(--danger); background: var(--bg-elevated); }
.modal-close-x svg { width: 20px; height: 20px; display: block; }

/* User dropdown */
.user-drop {
  position: absolute; top: 60px; right: 28px;
  background: var(--bg-surface); border: 1px solid var(--border-medium);
  border-radius: 16px; padding: 8px; min-width: 220px;
  z-index: 300; animation: slideup 0.2s ease; display: none;
  box-shadow: var(--shadow-lg);
}
.user-drop.open { display: block; }
.drop-user-info { padding: 12px 12px 14px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 8px; }
.dui-name  { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; }
.dui-email { font-size: 0.78rem; color: var(--text-tertiary); margin-top: 2px; }
.dui-role  {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; color: var(--gold); margin-top: 6px;
  background: var(--gold-dim); border: 1px solid rgba(217,119,6,0.2);
  padding: 3px 10px; border-radius: 100px; width: fit-content;
}
.drop-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; transition: all 0.15s; }
.drop-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.drop-item svg { width: 15px; height: 15px; }
.drop-item.danger { color: var(--danger); }
.drop-item.danger:hover { background: var(--danger-dim); color: var(--danger); }

/* ══ ADMIN LOGIN MODAL ══ */
.modal-admin { border-color: rgba(217,119,6,0.3); }
.adm-modal-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.adm-modal-shield {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--gold-dim); border: 1px solid rgba(217,119,6,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.adm-modal-shield svg { width: 26px; height: 26px; color: var(--gold); }
.adm-cred-hint {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  border-radius: 10px; padding: 12px 16px;
  font-size: 0.8rem; color: var(--text-tertiary); margin-bottom: 20px; line-height: 1.5;
}
.adm-cred-hint svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); }
.adm-cred-hint strong { color: var(--gold); }
.adm-submit-btn { background: var(--gold) !important; color: #fff !important; }
.adm-submit-btn:hover { background: var(--gold-hover) !important; transform: translateY(-1px) !important; }

/* ══ ADMIN DASHBOARD ══ */
#admin-view { flex-direction: row; overflow: hidden; }
.adm-layout { display: flex; width: 100%; height: 100%; overflow: hidden; }

/* Sidebar */
.adm-sidebar {
  width: 260px; flex-shrink: 0; background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; padding: 28px 20px;
}
.adm-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-bottom: 36px; }
.adm-shield {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid rgba(217,119,6,0.25);
  display: flex; align-items: center; justify-content: center;
}
.adm-shield svg { width: 20px; height: 20px; color: var(--gold); }
.adm-brand-title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; }
.adm-brand-sub   { font-size: 0.72rem; color: var(--text-tertiary); margin-top: 2px; }

.adm-nav { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.adm-nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 10px; font-size: 0.85rem; color: var(--text-secondary);
  cursor: pointer; transition: all 0.15s; position: relative;
}
.adm-nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.adm-nav-item.active { background: var(--accent-dim); color: var(--accent-primary); }
.adm-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.adm-nav-count {
  margin-left: auto; background: var(--bg-hover); color: var(--text-tertiary);
  font-size: 0.7rem; padding: 2px 8px; border-radius: 100px; min-width: 24px; text-align: center;
}
.adm-nav-count-warn { background: var(--gold-dim); color: var(--gold); }

.adm-signout {
  margin-top: 24px; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; font-size: 0.85rem; color: var(--text-tertiary);
  cursor: pointer; transition: all 0.15s; background: none; border: none; width: 100%;
}
.adm-signout:hover { color: var(--danger); background: var(--danger-dim); }
.adm-signout svg { width: 18px; height: 18px; }

/* Main panel */
.adm-main {
  flex: 1; overflow-y: auto; padding: 36px 40px; background: var(--bg-deep);
}
.adm-main::-webkit-scrollbar { width: 8px; }
.adm-main::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 4px; }

.adm-tab { display: none; }
.adm-tab.active { display: block; }

.adm-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border-subtle); }
.adm-header h2 { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; background: linear-gradient(135deg, #1A1E2B 0%, #3D4459 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.adm-header-sub { font-size: 0.9rem; color: var(--text-tertiary); }

/* Stat cards */
.adm-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.adm-stat-card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 16px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s; box-shadow: var(--shadow-sm);
}
.adm-stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.adm-stat-ico {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
}
.adm-stat-ico svg { width: 22px; height: 22px; color: var(--accent-primary); }
.adm-stat-val { font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--text-primary); }
.adm-stat-lbl { font-size: 0.78rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; }
.adm-warn { color: var(--gold); }

/* Type bars */
.adm-section-title { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin-bottom: 16px; }
.adm-type-bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.adm-bar-row { display: flex; align-items: center; gap: 12px; }
.adm-bar-label { font-size: 0.82rem; color: var(--text-secondary); width: 80px; flex-shrink: 0; }
.adm-bar-track { flex: 1; height: 8px; background: var(--bg-elevated); border-radius: 4px; overflow: hidden; }
.adm-bar-fill  { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.adm-bar-count { font-size: 0.8rem; color: var(--text-tertiary); width: 35px; text-align: right; }

/* Quick actions */
.adm-actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.adm-action-btn {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: 10px; color: var(--text-secondary); font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.adm-action-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: var(--accent-dim); }
.adm-action-btn svg { width: 16px; height: 16px; }

/* Toolbar */
.adm-toolbar { display: flex; gap: 12px; margin-bottom: 24px; }
.adm-search {
  flex: 1; background: var(--bg-surface); border: 1px solid var(--border-subtle);
  color: var(--text-primary); padding: 12px 16px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none;
  transition: all 0.2s;
}
.adm-search:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-dim); }
.adm-search::placeholder { color: var(--text-tertiary); }
.adm-filter-sel {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  color: var(--text-primary); padding: 12px 16px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none; cursor: pointer;
}
.adm-filter-sel option { background: var(--bg-surface); }

/* Table */
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.adm-table thead th {
  text-align: left; padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-tertiary);
}
.adm-table tbody tr { border-bottom: 1px solid var(--border-subtle); transition: background 0.12s; }
.adm-table tbody tr:hover { background: var(--bg-elevated); }
.adm-table td { padding: 14px 16px; color: var(--text-secondary); vertical-align: middle; }
.adm-td-name   { color: var(--text-primary); font-weight: 500; font-size: 0.9rem; max-width: 200px; }
.adm-td-street { color: var(--text-tertiary); font-size: 0.8rem; max-width: 160px; }

.adm-type-pill {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600; text-transform: capitalize;
}
.adm-type-ramp     { background: var(--accent-dim); color: var(--accent-primary); }
.adm-type-audio    { background: var(--info-dim); color: var(--info); }
.adm-type-elevator { background: rgba(139, 92, 246, 0.12); color: #7C3AED; }
.adm-type-service  { background: var(--info-dim); color: var(--info); }
.adm-type-park     { background: var(--success-dim); color: var(--success); }
.adm-type-danger   { background: var(--danger-dim); color: var(--danger); }

.adm-status-pill {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600; text-transform: capitalize;
}
.adm-status-active  { background: var(--success-dim); color: var(--success); }
.adm-status-pending { background: var(--warning-dim); color: var(--warning); }
.adm-status-archived{ background: var(--bg-elevated); color: var(--text-tertiary); }

.adm-row-acts { display: flex; gap: 8px; }
.adm-act-btn {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px;
  color: var(--text-tertiary); cursor: pointer; transition: all 0.15s;
}
.adm-act-btn:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border-medium); }
.adm-act-btn svg { width: 15px; height: 15px; }
.adm-act-del:hover { background: var(--danger-dim); border-color: var(--danger); color: var(--danger); }

/* Pending cards */
.adm-pending-card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 20px 24px; margin-bottom: 14px;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.adm-pending-card:hover { border-color: var(--border-medium); box-shadow: var(--shadow-md); }
.adm-pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.adm-pc-name { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.adm-pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--text-tertiary); }
.adm-pc-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 12px; }
.adm-pc-audio {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.78rem; color: var(--text-tertiary); font-style: italic;
  background: var(--bg-elevated); padding: 10px 14px; border-radius: 10px;
}
.adm-pc-acts { display: flex; gap: 10px; flex-shrink: 0; }
.adm-approve-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: var(--success-dim); border: 1px solid rgba(5,150,105,0.3);
  color: var(--success); border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; cursor: pointer; transition: all 0.15s;
}
.adm-approve-btn:hover { background: var(--success); color: #fff; border-color: var(--success); }
.adm-approve-btn svg { width: 14px; height: 14px; }
.adm-reject-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; cursor: pointer; transition: all 0.15s;
}
.adm-reject-btn:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-dim); }
.adm-reject-btn svg { width: 14px; height: 14px; }

/* Empty state */
.adm-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 24px; text-align: center; color: var(--text-tertiary); font-size: 0.95rem;
}

/* ══ TOAST ══ */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-surface); color: var(--text-primary);
  border: 1px solid var(--border-medium);
  padding: 14px 24px; border-radius: 12px;
  font-size: 0.9rem; font-weight: 500; z-index: 9999;
  transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg  { width: 18px; height: 18px; color: var(--accent-primary); }

/* ══ UTILITIES ══ */
.fade-in { animation: fin 0.3s ease; }
@keyframes fin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
:focus-visible { outline: 3px solid var(--accent-primary); outline-offset: 2px; border-radius: 4px; }

/* Additional modern touches */
button, .chip, .loc-card, .adm-stat-card, .adm-action-btn {
  cursor: pointer;
}

input, select, textarea {
  transition: all 0.2s ease;
}

/* Smooth scrolling for admin panel */
.adm-main {
  scroll-behavior: smooth;
}

/* Ensure all interactive elements have sufficient touch target size */
button, 
.nav-btn, 
.ico-btn, 
.user-chip, 
.chip, 
.loc-card, 
.lc-btn, 
.a-btn, 
.mc-btn, 
.adm-nav-item, 
.adm-action-btn, 
.adm-act-btn {
  min-height: 36px;
}

/* Enhanced focus visibility for accessibility */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
select:focus-visible, 
textarea:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}