/* ============================================================
   VARIANT E — Bold Concept Lab / Exploratory UX
   Heebo · Deep Indigo + Cyan + Hot Pink
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:    #1e1b4b;
  --indigo-mid:#2d2a6e;
  --indigo-lt: #3730a3;
  --cyan:      #22d3ee;
  --cyan-dim:  #0891b2;
  --pink:      #ec4899;
  --green:     #4ade80;
  --orange:    #fb923c;
  --purple:    #a78bfa;
  --amber:     #fbbf24;
  --white:     #ffffff;
  --surface:   #f0f9ff;
  --surface-2: #e0f2fe;
  --text-main: #1e1b4b;
  --text-sub:  #475569;
  --text-pale: #94a3b8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(30,27,75,0.10);
  --shadow-md: 0 4px 20px rgba(30,27,75,0.15);
  --shadow-lg: 0 8px 40px rgba(30,27,75,0.20);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html, body {
  height: 100%;
  font-family: 'Heebo', sans-serif;
  background: var(--indigo);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

a { color: var(--cyan); text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   DESKTOP LAYOUT
   ============================================================ */
#desktop-wrapper {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  background: var(--indigo);
}

#phone-frame {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

#app {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

/* ---- SIDE PANEL (desktop) ---- */
#side-panel { display: none; }

@media (min-width: 768px) {
  #desktop-wrapper {
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 24px;
  }

  #phone-frame {
    width: 390px;
    min-width: 390px;
    height: 844px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
    flex-shrink: 0;
  }

  #side-panel {
    display: flex;
    flex-direction: column;
    width: 320px;
    max-height: 844px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    order: 1; /* right side in RTL context, but we use LTR flex for layout */
  }

  #phone-frame { order: 2; }
}

@media (min-width: 1200px) {
  #side-panel { width: 360px; }
}

.side-panel-header {
  background: var(--indigo);
  padding: 24px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.side-variant-badge {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--indigo);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.side-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  scrollbar-width: thin;
}

.side-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1.35;
  margin-bottom: 8px;
}

.side-desc { font-size: 13px; color: var(--text-sub); line-height: 1.6; margin-bottom: 16px; }

.side-section { margin-bottom: 20px; }

.side-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-pale);
  margin-bottom: 10px;
}

.mini-diagram { display: flex; justify-content: center; margin-bottom: 12px; }

.side-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }

.side-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-sub);
}

.dot-demo {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pulse-demo { animation: pulse-ring 2s infinite; }

.ring-demo {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  flex-shrink: 0;
}

.color-legend { display: flex; flex-direction: column; gap: 6px; }

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-sub);
}

.legend-item span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.side-tech { display: flex; flex-wrap: wrap; gap: 6px; }

.tech-tag {
  background: var(--surface-2);
  color: var(--indigo-lt);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ============================================================
   SCREENS
   ============================================================ */
.screen {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--surface);
  opacity: 0;
  transform: scale(0.97) translateY(8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  padding-bottom: 80px;
}

.screen.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* ---- SHARED HEADER ---- */
.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 12px;
  background: var(--indigo);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.screen-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  flex: 1;
}

.back-btn {
  color: var(--white);
  font-size: 18px;
  padding: 4px;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.back-btn:hover { opacity: 1; }

/* ============================================================
   LANDING
   ============================================================ */
#screen-landing { background: var(--white); padding-bottom: 40px; }

.landing-hero {
  position: relative;
  min-height: 320px;
  background: var(--indigo);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CSS-art abstract circles */
.landing-circles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34,211,238,0.2);
}

.lc1 { width: 500px; height: 500px; top: -150px; right: -100px; border-color: rgba(34,211,238,0.15); }
.lc2 { width: 340px; height: 340px; top: -60px; right: -40px; border-color: rgba(34,211,238,0.25); }
.lc3 { width: 180px; height: 180px; top: 40px; right: 60px; border-color: rgba(34,211,238,0.4); background: radial-gradient(circle, rgba(34,211,238,0.06) 0%, transparent 70%); }
.lc4 { width: 600px; height: 600px; bottom: -320px; left: -200px; border-color: rgba(236,72,153,0.1); }

.landing-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px 32px;
  text-align: center;
}

.landing-logo {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.landing-headline {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.accent-cyan {
  background: linear-gradient(90deg, var(--cyan), #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

.landing-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 16px;
  scrollbar-width: none;
}
.landing-cats::-webkit-scrollbar { display: none; }

.lcat {
  flex-shrink: 0;
  background: var(--indigo);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 40px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lcat:nth-child(1) { border-color: var(--cyan); color: var(--cyan); }
.lcat:nth-child(2) { border-color: var(--pink); color: var(--pink); }
.lcat:nth-child(3) { border-color: var(--green); color: var(--green); }
.lcat:nth-child(4) { border-color: var(--purple); color: var(--purple); }
.lcat:nth-child(5) { border-color: var(--amber); color: var(--amber); }

.lcat:hover { transform: translateY(-2px); }

.landing-how {
  padding: 24px 16px 0;
}

.section-title-bold {
  font-size: 20px;
  font-weight: 800;
  color: var(--indigo);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.how-steps { display: flex; flex-direction: column; gap: 16px; }

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-right: 4px solid var(--cyan);
}

.how-num {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Heebo', monospace;
  color: var(--indigo);
  opacity: 0.15;
  line-height: 1;
  flex-shrink: 0;
}

.how-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--indigo); margin-bottom: 4px; }
.how-text p { font-size: 13px; color: var(--text-sub); line-height: 1.5; }

.landing-cta-wrap {
  padding: 24px 16px 32px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dim) 100%);
  color: var(--indigo);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  letter-spacing: -0.3px;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,211,238,0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-xl { font-size: 17px; padding: 16px 32px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

.btn-google {
  width: 100%;
  background: var(--white);
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
}
.btn-google:hover { border-color: var(--cyan); box-shadow: var(--shadow-sm); }

.btn-phone {
  width: 100%;
  background: var(--indigo);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
}
.btn-phone:hover { background: var(--indigo-mid); }

/* ============================================================
   LOGIN
   ============================================================ */
#screen-login { padding-bottom: 0; background: var(--indigo); }

.login-bg {
  background: linear-gradient(160deg, var(--indigo) 0%, #312e81 50%, var(--indigo-mid) 100%);
  padding: 60px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.login-bg::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(34,211,238,0.2);
  top: -80px; right: -80px;
}

.login-bg::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(236,72,153,0.2);
  bottom: -60px; left: -60px;
}

.login-logo-big {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.login-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.login-card {
  background: var(--white);
  border-radius: 32px 32px 0 0;
  padding: 28px 24px 40px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.login-card-title { font-size: 22px; font-weight: 800; color: var(--indigo); margin-bottom: 6px; }
.login-card-sub { font-size: 14px; color: var(--text-sub); margin-bottom: 24px; }

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-pale);
  font-size: 13px;
}
.login-divider::before, .login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.login-terms { font-size: 12px; color: var(--text-pale); margin-top: 20px; text-align: center; line-height: 1.6; }

/* ============================================================
   ONBOARDING
   ============================================================ */
#screen-onboarding { background: var(--white); }

.ob-header { padding: 16px; background: var(--indigo); }

.ob-progress {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.ob-prog-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.ob-step-label { font-size: 12px; color: rgba(255,255,255,0.5); }

.ob-step {
  display: none;
  padding: 24px 16px;
  animation: fadeUp 0.3s ease;
}
.ob-step.active { display: block; }

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

.ob-icon-wrap {
  font-size: 40px;
  text-align: center;
  margin-bottom: 16px;
}

.ob-title { font-size: 26px; font-weight: 800; color: var(--indigo); text-align: center; margin-bottom: 8px; }
.ob-desc { font-size: 14px; color: var(--text-sub); text-align: center; margin-bottom: 24px; line-height: 1.6; }

.ob-location-visual { display: flex; justify-content: center; margin-bottom: 32px; }

.ob-neighborhood-card {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--white);
}

.ob-nbhd-name { font-size: 28px; font-weight: 900; color: var(--cyan); }
.ob-nbhd-city { font-size: 16px; opacity: 0.7; margin-bottom: 16px; }
.ob-nbhd-stats { display: flex; gap: 24px; justify-content: center; font-size: 13px; opacity: 0.8; }
.ob-nbhd-stats strong { font-size: 20px; font-weight: 800; color: var(--white); display: block; }

.ob-cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.ob-cat {
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ob-cat i { font-size: 22px; color: var(--cat-color, var(--text-pale)); }
.ob-cat span { font-size: 12px; font-weight: 600; color: var(--text-main); }

.ob-cat.selected {
  border-color: var(--cat-color, var(--cyan));
  background: color-mix(in srgb, var(--cat-color, var(--cyan)) 8%, white);
}

/* ============================================================
   HOME — RADIAL VIEW
   ============================================================ */
#screen-home { background: var(--white); }

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--indigo);
  color: var(--white);
}

.home-loc {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-notif-btn {
  position: relative;
  color: var(--white);
  font-size: 20px;
  padding: 4px;
}

.notif-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--pink);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0 8px;
  background: var(--indigo);
}

.radial-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

/* ---- SVG Radial ---- */
#radial-svg {
  overflow: visible;
  cursor: default;
}

.ring {
  fill: none;
  stroke-width: 1;
}
.ring-outer { stroke: rgba(34,211,238,0.15); fill: rgba(34,211,238,0.03); }
.ring-mid   { stroke: rgba(34,211,238,0.25); fill: rgba(34,211,238,0.04); }
.ring-inner { stroke: rgba(34,211,238,0.4);  fill: rgba(34,211,238,0.06); }

.ring-label {
  fill: rgba(34,211,238,0.45);
  font-size: 9px;
  font-family: 'Heebo', monospace;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.crosshair {
  stroke: rgba(34,211,238,0.08);
  stroke-width: 1;
  stroke-dasharray: 4 8;
}

.center-ring-outer {
  fill: rgba(34,211,238,0.15);
  stroke: var(--cyan);
  stroke-width: 1.5;
}

.center-dot {
  fill: var(--cyan);
  filter: drop-shadow(0 0 4px rgba(34,211,238,0.8));
}

.center-label {
  fill: rgba(255,255,255,0.5);
  font-size: 8px;
  font-family: 'Heebo', sans-serif;
  text-anchor: middle;
  pointer-events: none;
}

/* Item dots on radial — styles applied via JS setAttribute */
.radial-dot {
  cursor: pointer;
  transition: transform 0.2s;
}

.radial-dot:hover { transform: scale(1.4); }

.radial-dot.selected-dot {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.9));
}

/* Pulse animation for urgent items */
@keyframes pulse-ring {
  0%   { r: var(--base-r); opacity: 0.9; }
  50%  { r: calc(var(--base-r) * 1.7); opacity: 0.4; }
  100% { r: var(--base-r); opacity: 0.9; }
}

@keyframes pulse-outer {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 0; transform: scale(2.2); }
}

/* Radial preview card */
.radial-preview {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 8px 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
  position: relative;
}

.radial-preview.hidden { display: none; }

.rp-close {
  position: absolute;
  top: 6px;
  left: 10px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 12px;
}

.rp-cat-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rp-content { flex: 1; min-width: 0; }

.rp-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rp-meta { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.rp-go {
  background: var(--cyan);
  color: var(--indigo);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.rp-go:hover { transform: scale(1.1); }

/* Category filter chips */
.radial-filters {
  background: var(--indigo);
  padding: 8px 12px 14px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.radial-filters::-webkit-scrollbar { display: none; }

.rf-chip {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

.rf-chip[data-cat="all"].active {
  background: var(--cyan);
  color: var(--indigo);
  border-color: var(--cyan);
}

.rf-chip:not([data-cat="all"]).active {
  background: color-mix(in srgb, var(--chip-color) 20%, transparent);
  color: var(--chip-color, var(--white));
  border-color: var(--chip-color, var(--cyan));
}

/* Hot strip */
.hot-strip-section { padding: 16px 0 0; }

.hot-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 10px;
}

.hot-strip-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--indigo);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hot-strip-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hot-strip-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 16px;
  scrollbar-width: none;
}
.hot-strip-scroll::-webkit-scrollbar { display: none; }

.hot-strip-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  border-top: 3px solid var(--card-color, var(--cyan));
  position: relative;
  overflow: hidden;
}

.hot-strip-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.hsc-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--card-color, var(--cyan));
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.hsc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hsc-meta {
  font-size: 11px;
  color: var(--text-pale);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hsc-urgent {
  background: var(--pink);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 20px;
  margin-right: auto;
}

.fire-icon { font-style: normal; }

/* ============================================================
   HOT NOW SCREEN
   ============================================================ */
.hot-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-item-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  border: 1px solid rgba(30,27,75,0.06);
}

.hot-item-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.hot-item-rank {
  background: var(--indigo);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Heebo', monospace;
  flex-shrink: 0;
}

.hot-item-body { padding: 14px; flex: 1; min-width: 0; }

.hot-item-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hot-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 6px;
  line-height: 1.3;
}

.hot-item-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-sub);
  align-items: center;
  flex-wrap: wrap;
}

.hot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.hot-badge.urgent { background: rgba(236,72,153,0.12); color: var(--pink); }
.hot-badge.high { background: rgba(34,211,238,0.12); color: var(--cyan-dim); }
.hot-badge.normal { background: rgba(30,27,75,0.07); color: var(--text-sub); }

/* ============================================================
   MAP SCREEN
   ============================================================ */
#screen-map { padding-bottom: 80px; }

#map-container {
  height: calc(100% - 56px - 80px - 60px);
  min-height: 300px;
  position: relative;
}

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

.map-legend {
  background: var(--white);
  padding: 10px 16px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
}

.map-legend-item span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Custom map markers */
.custom-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ============================================================
   LIST SCREEN
   ============================================================ */
.list-screen { padding: 0 0 8px; }

.list-ring-group { margin-bottom: 8px; }

.list-ring-header {
  padding: 10px 16px 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  background: var(--indigo);
  display: flex;
  align-items: center;
  gap: 8px;
}

.list-ring-dist {
  font-family: 'Heebo', monospace;
  font-size: 20px;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}

.list-item {
  background: var(--white);
  padding: 14px 16px;
  border-right: 4px solid var(--item-color, var(--cyan));
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition);
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.list-item:hover { background: #f8faff; transform: translateX(-3px); }

.list-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--item-color, var(--cyan)) 15%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.list-item-body { flex: 1; min-width: 0; }

.list-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-item-meta {
  font-size: 12px;
  color: var(--text-pale);
  display: flex;
  gap: 10px;
  align-items: center;
}

.list-item-dist {
  font-family: 'Heebo', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--item-color, var(--cyan));
  flex-shrink: 0;
}

.header-sort {
  color: var(--white);
  font-size: 16px;
  padding: 4px 8px;
  opacity: 0.7;
}

/* ============================================================
   ITEM DETAIL
   ============================================================ */
.item-detail-wrap { min-height: 100%; }

.item-detail-hero {
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  padding: 16px 16px 28px;
  position: relative;
  overflow: hidden;
}

.item-detail-hero::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--item-accent-color, rgba(34,211,238,0.2)) 0%, transparent 70%);
  top: -40px; left: -40px;
}

.item-back-btn {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  padding: 8px;
  position: relative;
  z-index: 1;
  margin-right: -8px;
}

.item-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.item-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.item-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.item-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.item-author-name { font-size: 13px; color: rgba(255,255,255,0.7); }

.item-verified-icon { color: var(--cyan); font-size: 13px; }

.item-body { padding: 20px 16px; }

.item-stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.item-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-stat-num {
  font-size: 28px;
  font-weight: 900;
  font-family: 'Heebo', monospace;
  color: var(--indigo);
  line-height: 1;
}

.item-stat-label {
  font-size: 11px;
  color: var(--text-pale);
  margin-top: 2px;
}

.item-desc {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

.item-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.item-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.item-meta-row i {
  width: 20px;
  text-align: center;
  color: var(--text-pale);
}

.item-actions { display: flex; flex-direction: column; gap: 10px; }

.btn-action-primary {
  width: 100%;
  height: 52px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
}

.btn-action-secondary {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface-2);
  color: var(--indigo);
  transition: all var(--transition);
}
.btn-action-secondary:hover { background: var(--surface); }

/* Source badges */
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.source-sponsored { background: linear-gradient(90deg, #fbbf24, #f59e0b); color: var(--indigo); }
.source-whatsapp  { background: rgba(34,211,238,0.15); color: var(--cyan-dim); }
.source-facebook  { background: rgba(34,211,238,0.15); color: var(--cyan-dim); }
.source-events    { background: rgba(34,211,238,0.15); color: var(--cyan-dim); }

/* ============================================================
   CREATE
   ============================================================ */
.create-body { padding: 16px; }
.create-intro { font-size: 16px; color: var(--text-sub); margin-bottom: 20px; }

.create-cats-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.create-cat-card {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.create-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cc) 8%, white), transparent);
}

.create-cat-card:hover {
  border-color: var(--cc);
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

.create-cat-card i {
  font-size: 28px;
  color: var(--cc);
  position: relative;
  flex-shrink: 0;
}

.create-cat-card span {
  font-size: 16px;
  font-weight: 700;
  color: var(--indigo);
  position: relative;
}

.create-cat-card small {
  font-size: 12px;
  color: var(--text-pale);
  position: relative;
  margin-right: auto;
}

/* ============================================================
   CREATE FORM
   ============================================================ */
.form-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-cat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-pale);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 2px solid #e5e7eb;
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--indigo);
  background: var(--white);
  direction: rtl;
  transition: border-color var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--cyan);
}

.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 2px solid #e5e7eb;
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  color: var(--indigo);
  background: var(--white);
  direction: rtl;
  resize: vertical;
  min-height: 120px;
  transition: border-color var(--transition);
  outline: none;
}

.form-textarea:focus {
  border-color: var(--cyan);
}

/* ============================================================
   RESPONDERS
   ============================================================ */
.responders-body { padding: 16px; }

.responders-urgency-banner {
  background: linear-gradient(135deg, var(--pink), #be185d);
  color: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.responders-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.responder-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.responder-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--indigo);
  flex-shrink: 0;
}

.responder-name { font-size: 15px; font-weight: 700; color: var(--indigo); }
.responder-dist { font-size: 12px; color: var(--text-pale); margin-top: 2px; }

.responder-status {
  margin-right: auto;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.responder-status.on-way { background: rgba(34,211,238,0.12); color: var(--cyan-dim); }
.responder-status.pending { background: rgba(251,191,36,0.15); color: #92400e; }

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notif-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }

.notif-toggle-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.notif-toggle-card.active { border: 1.5px solid rgba(34,211,238,0.2); }

.ntc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ntc-info { flex: 1; }
.ntc-title { font-size: 14px; font-weight: 700; color: var(--indigo); margin-bottom: 2px; }
.ntc-desc { font-size: 12px; color: var(--text-pale); }

.ntc-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #e5e7eb;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.ntc-toggle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  top: 2px;
  right: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.ntc-toggle.on { background: var(--cyan); }
.ntc-toggle.on::after { transform: translateX(-20px); }

/* ============================================================
   MY POSTS
   ============================================================ */
.my-posts-body { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }

.my-post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  border-top: 4px solid var(--mpc, var(--cyan));
}

.my-post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.mpc-body { padding: 14px; }

.mpc-cat { font-size: 10px; font-weight: 700; color: var(--mpc, var(--cyan)); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.mpc-title { font-size: 15px; font-weight: 700; color: var(--indigo); margin-bottom: 8px; }

.mpc-stats {
  display: flex;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.mpc-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-pale);
}

.mpc-stat strong {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Heebo', monospace;
  color: var(--indigo);
}

/* ============================================================
   PROFILE
   ============================================================ */
#screen-profile { padding-bottom: 80px; }

.profile-header-bg {
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  padding: 40px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-header-bg::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(34,211,238,0.15);
  top: -100px; right: -100px;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
}

.profile-verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--indigo);
  font-weight: 800;
  border: 2px solid var(--indigo);
}

.profile-name { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.profile-location { font-size: 13px; color: rgba(255,255,255,0.55); }

.profile-stats {
  display: flex;
  background: var(--white);
  border-bottom: 1px solid #f1f5f9;
}

.pstat {
  flex: 1;
  padding: 18px 12px;
  text-align: center;
  border-right: 1px solid #f1f5f9;
}
.pstat:first-child { border-right: none; }

.pstat-num {
  font-size: 28px;
  font-weight: 900;
  font-family: 'Heebo', monospace;
  color: var(--indigo);
  line-height: 1;
}
.pstat-label { font-size: 11px; color: var(--text-pale); margin-top: 4px; }

.profile-menu { padding: 8px 0; background: var(--white); }

.pm-item {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f8faff;
  transition: background var(--transition);
}

.pm-item:hover { background: #f8faff; }
.pm-item i:first-child { width: 20px; text-align: center; color: var(--text-pale); }
.pm-item.danger { color: var(--pink); }
.pm-item.danger i { color: var(--pink); }
.pm-arrow { margin-right: auto; color: var(--text-pale); font-size: 12px; }

/* ============================================================
   SETTINGS
   ============================================================ */
.settings-body { padding: 12px 16px; }

.settings-section { margin-bottom: 20px; }

.settings-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-pale);
  margin-bottom: 8px;
  padding: 0 2px;
}

.setting-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.setting-label { font-size: 14px; font-weight: 600; color: var(--text-main); flex: 1; }
.setting-value-display { font-size: 13px; color: var(--text-pale); font-family: 'Heebo', monospace; }

.setting-range {
  width: 100%;
  margin-top: 8px;
  accent-color: var(--cyan);
}

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: var(--indigo);
  display: flex;
  align-items: center;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  font-weight: 600;
  transition: color var(--transition);
  padding: 8px 0;
}

.nav-item i { font-size: 20px; transition: transform var(--transition); }

.nav-item.active {
  color: var(--cyan);
}

.nav-item.active i { transform: scale(1.1); }

.nav-hot { color: rgba(255,255,255,0.5); }
.nav-hot.active, .nav-item:hover { color: var(--pink); }
.nav-item:not(.nav-hot):hover { color: var(--cyan); }

/* FAB */
.fab {
  position: absolute;
  bottom: 80px;
  left: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, #be185d 100%);
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(236,72,153,0.5);
  z-index: 101;
  transition: all var(--transition);
}

.fab:hover {
  transform: scale(1.1) rotate(45deg);
  box-shadow: 0 6px 28px rgba(236,72,153,0.7);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Pulse for urgent dots */
@keyframes svgPulse {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 0.2; }
}

@keyframes svgPulseScale {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.5); }
}

/* ============================================================
   LEAFLET OVERRIDES
   ============================================================ */
.leaflet-container { font-family: 'Heebo', sans-serif; }
.leaflet-popup-content { font-family: 'Heebo', sans-serif; font-size: 13px; }
.leaflet-popup-content-wrapper { border-radius: 12px !important; }

/* ============================================================
   SCROLLBAR STYLING
   ============================================================ */
.screen::-webkit-scrollbar { width: 3px; }
.screen::-webkit-scrollbar-track { background: transparent; }
.screen::-webkit-scrollbar-thumb { background: rgba(30,27,75,0.15); border-radius: 2px; }

/* ============================================================
   UTILITY
   ============================================================ */
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   CATEGORY LEGEND (radial home)
   ============================================================ */
.cat-legend-wrap {
  background: var(--indigo);
  padding: 6px 12px 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cat-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.4;
}

.cat-legend-item.active {
  opacity: 1;
  border-color: var(--legend-color, rgba(255,255,255,0.2));
  background: color-mix(in srgb, var(--legend-color, #fff) 12%, transparent);
}

.cat-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cat-legend-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}

/* ============================================================
   ENHANCED CREATE FORM (dark theme)
   ============================================================ */
#screen-create-form {
  background: var(--indigo);
}

#screen-create-form .form-body {
  background: var(--indigo);
}

.create-form-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

#screen-create-form .form-input {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.12);
  color: var(--white);
}

#screen-create-form .form-input::placeholder {
  color: rgba(255,255,255,0.3);
}

#screen-create-form .form-input:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,0.1);
}

#screen-create-form .form-textarea {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.12);
  color: var(--white);
}

#screen-create-form .form-textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

#screen-create-form .form-textarea:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,0.1);
}

.form-textarea-wrap {
  position: relative;
}

.form-char-counter {
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-family: 'Heebo', monospace;
  pointer-events: none;
}

.form-image-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 2px dashed rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}

.form-image-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34,211,238,0.06);
}

.form-image-btn i {
  font-size: 18px;
}

/* SVG urgent label */
.urgent-label {
  pointer-events: none;
}

/* Item back btn with label */
.item-back-btn {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== RADIAL ZOOM CONTROLS ========== */
.radial-zoom-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 4px;
}
.zoom-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(34,211,238,0.1);
  border: 1.5px solid rgba(34,211,238,0.3);
  color: var(--cyan);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.zoom-btn:hover {
  background: rgba(34,211,238,0.2);
  border-color: var(--cyan);
}
.zoom-btn-active {
  background: var(--cyan);
  color: #1e1b4b;
  border-color: var(--cyan);
}
.zoom-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  min-width: 100px;
  text-align: center;
}

/* ========== ACTION DONE STATE ========== */
.btn-action-done {
  opacity: 0.9;
  filter: brightness(0.9);
}

/* ========== PRICE DISPLAYS ========== */
.action-price-display {
  font-size: 22px;
  font-weight: 900;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 8px;
}
.sale-price-banner {
  font-size: 28px;
  font-weight: 900;
  color: #fbbf24;
  text-align: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(251,191,36,0.1);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

/* ========== SERVICE MESSAGE SHEET ========== */
.svc-msg-sheet {
  margin-top: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  animation: slideDown 0.2s ease;
}
.svc-msg-textarea {
  width: 100%;
  min-height: 80px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 14px;
  font-family: Heebo, sans-serif;
  padding: 10px;
  resize: none;
  direction: rtl;
}
.svc-msg-textarea::placeholder { color: rgba(255,255,255,0.35); }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SVG ring transition for zoom */
.ring-outer, .ring-mid { transition: opacity 0.4s ease; }
