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

:root {
  --blue: #0EA5E9;
  --blue-dark: #0284C7;
  --blue-light: #BAE6FD;
  --teal: #0D9488;
  --teal-light: #99F6E4;
  --navy: #0F172A;
  --slate: #1E293B;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --red: #EF4444;
  --orange: #F97316;
  --green: #22C55E;
  --purple: #8B5CF6;
  --grad1: linear-gradient(135deg, #0EA5E9 0%, #0D9488 100%);
  --grad2: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  --grad3: linear-gradient(180deg, #EFF6FF 0%, #F0FDFA 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(14,165,233,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(14,165,233,0.18), 0 8px 24px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font);
  background: #0A0F1E;
  min-height: 100vh;
  overflow: hidden;
}

/* ===== APP SHOWCASE LAYOUT ===== */
.app-showcase {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  height: 100vh;
  gap: 0;
}

/* ===== LEFT NAV PANEL ===== */
.nav-panel {
  background: #0D1117;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--grad1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-logo span {
  font-size: 15px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.3px;
}

.nav-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
  padding-left: 46px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-screens {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.nav-btn i { width: 16px; height: 16px; flex-shrink: 0; }

.nav-btn:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
}

.nav-btn.active {
  background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(13,148,136,0.2));
  color: #38BDF8;
  border: 1px solid rgba(14,165,233,0.25);
}

.nav-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.nav-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(13,148,136,0.2));
  border: 1px solid rgba(14,165,233,0.3);
  color: #38BDF8;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.nav-footer p {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* ===== PHONE STAGE ===== */
.phone-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at center, #0F1F3D 0%, #0A0F1E 70%);
}

.phone-stage::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.phone-frame {
  width: 375px;
  height: 780px;
  background: #0A0A0A;
  border-radius: 52px;
  border: 2px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(14,165,233,0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 126px; height: 34px;
  background: #0A0A0A;
  border-radius: 0 0 20px 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notch-camera {
  width: 12px; height: 12px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 2px solid #222;
}

.notch-speaker {
  width: 40px; height: 5px;
  background: #1a1a1a;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 50px;
}

.phone-home-bar {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  z-index: 100;
}

.phone-shadow {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 40px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.2) 0%, transparent 70%);
  filter: blur(20px);
}

/* ===== RIGHT INFO PANEL ===== */
.info-panel {
  background: #0D1117;
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

.info-badge {
  display: inline-block;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  color: #38BDF8;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.info-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.info-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.info-features h4, .info-colors h4 {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.info-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-features ul li {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.info-features ul li::before {
  content: '✦';
  color: #0EA5E9;
  font-size: 8px;
  margin-top: 3px;
  flex-shrink: 0;
}

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

.swatch {
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.swatch span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', monospace;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.info-nav-btns {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.info-nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.info-nav-btn:hover { background: rgba(255,255,255,0.08); color: white; }

.info-nav-btn.primary {
  background: var(--grad1);
  border-color: transparent;
  color: white;
}

.info-nav-btn.primary:hover { opacity: 0.9; }
.info-nav-btn i { width: 14px; height: 14px; }

/* ===== SCREEN TRANSITIONS ===== */
.screen {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar { display: none; }

.screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* ===== STATUS BAR ===== */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 44px 20px 8px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.status-bar.dark { background: transparent; }
.status-bar.light { background: transparent; }

.status-time {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons i { width: 14px; height: 14px; }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  padding: 8px 0 20px;
  z-index: 50;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  cursor: pointer;
  transition: all 0.2s;
}

.bottom-nav-item i { width: 22px; height: 22px; color: var(--gray-light); }
.bottom-nav-item span { font-size: 10px; font-weight: 500; color: var(--gray-light); }

.bottom-nav-item.active i { color: var(--blue); }
.bottom-nav-item.active span { color: var(--blue); font-weight: 600; }

.bottom-nav-dot {
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: -2px;
}

/* ===== SCREEN 1: SPLASH ===== */
#screen-splash {
  background: var(--grad2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
}

.splash-bg-circles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.splash-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.splash-circle-1 {
  width: 300px; height: 300px;
  background: var(--blue);
  top: -80px; right: -80px;
  animation: pulse-slow 4s ease-in-out infinite;
}

.splash-circle-2 {
  width: 200px; height: 200px;
  background: var(--teal);
  bottom: 60px; left: -60px;
  animation: pulse-slow 4s ease-in-out infinite 1s;
}

.splash-circle-3 {
  width: 150px; height: 150px;
  background: var(--blue);
  bottom: 200px; right: 20px;
  opacity: 0.05;
  animation: pulse-slow 4s ease-in-out infinite 2s;
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.08; }
  50% { transform: scale(1.1); opacity: 0.12; }
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 2;
  margin-bottom: 60px;
}

.splash-logo-ring {
  width: 110px; height: 110px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(14,165,233,0.3), rgba(13,148,136,0.3));
  border: 1px solid rgba(14,165,233,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: logo-float 3s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(14,165,233,0.3), 0 0 80px rgba(14,165,233,0.1);
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.splash-logo-inner {
  width: 80px; height: 80px;
  background: var(--grad1);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo-inner svg { width: 44px; height: 44px; }

.splash-pulse-ring {
  position: absolute;
  inset: -8px;
  border-radius: 40px;
  border: 2px solid rgba(14,165,233,0.3);
  animation: ring-pulse 2s ease-out infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0; }
}

.splash-brand {
  text-align: center;
}

.splash-brand h1 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.splash-brand h1 span { color: #38BDF8; }

.splash-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

.splash-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 8px 16px;
}

.splash-tagline span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.splash-tagline-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.splash-loader {
  position: absolute;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.splash-progress-bar {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.splash-progress-fill {
  height: 100%;
  background: var(--grad1);
  border-radius: 2px;
  animation: progress-fill 2.5s ease-in-out infinite;
}

@keyframes progress-fill {
  0% { width: 0%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

.splash-loader p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== SCREEN 2: LOGIN ===== */
#screen-login {
  background: var(--white);
}

.login-hero {
  background: var(--grad2);
  padding: 50px 24px 40px;
  position: relative;
  overflow: hidden;
}

.login-hero::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 0; right: 0;
  height: 40px;
  background: white;
  border-radius: 24px 24px 0 0;
}

.login-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.login-hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(14,165,233,0.1);
}

.login-hero-circle-1 { width: 200px; height: 200px; top: -60px; right: -40px; }
.login-hero-circle-2 { width: 120px; height: 120px; bottom: 20px; left: -30px; }

.login-hero-content {
  position: relative;
  z-index: 2;
}

.login-logo-sm {
  width: 52px; height: 52px;
  background: var(--grad1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(14,165,233,0.4);
}

.login-hero h2 {
  font-size: 26px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.login-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.login-body {
  padding: 32px 24px 24px;
  background: white;
}

.login-tabs {
  display: flex;
  background: var(--bg);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}

.login-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
}

.login-tab.active {
  background: white;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.input-group {
  margin-bottom: 16px;
}

.input-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.3px;
}

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

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--gray-light);
  width: 18px; height: 18px;
}

.input-field {
  width: 100%;
  padding: 13px 14px 13px 42px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--slate);
  background: var(--bg);
  outline: none;
  transition: all 0.2s;
}

.input-field:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.input-field::placeholder { color: var(--gray-light); }

.input-suffix {
  position: absolute;
  right: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

.btn-primary {
  width: 100%;
  padding: 15px;
  background: var(--grad1);
  border: none;
  border-radius: 14px;
  color: white;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(14,165,233,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.2px;
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(14,165,233,0.45); }
.btn-primary i { width: 18px; height: 18px; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: 12px; color: var(--gray-light); font-weight: 500; }

.social-btns {
  display: flex;
  gap: 10px;
}

.social-btn {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}

.social-btn:hover { background: var(--bg); border-color: var(--blue); }

.social-btn img { width: 18px; height: 18px; }

.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray);
}

.login-footer a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* ===== SCREEN 3: OTP ===== */
#screen-otp {
  background: white;
}

.otp-hero {
  background: var(--grad1);
  padding: 50px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.otp-hero::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 0; right: 0;
  height: 40px;
  background: white;
  border-radius: 24px 24px 0 0;
}

.otp-icon-wrap {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.2);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(255,255,255,0.3);
}

.otp-icon-wrap i { width: 36px; height: 36px; color: white; }

.otp-hero h2 {
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.otp-hero p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.otp-hero p strong { color: white; }

.otp-body {
  padding: 32px 24px;
}

.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.otp-input {
  width: 52px; height: 60px;
  border: 2px solid var(--border);
  border-radius: 14px;
  text-align: center;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  color: var(--slate);
  background: var(--bg);
  outline: none;
  transition: all 0.2s;
}

.otp-input.filled {
  border-color: var(--blue);
  background: rgba(14,165,233,0.05);
  color: var(--blue);
}

.otp-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.otp-timer {
  text-align: center;
  margin-bottom: 24px;
}

.otp-timer p {
  font-size: 13px;
  color: var(--gray);
}

.otp-timer span {
  color: var(--blue);
  font-weight: 700;
}

.otp-resend {
  font-size: 13px;
  color: var(--gray);
  text-align: center;
  margin-top: 16px;
}

.otp-resend a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* ===== SCREEN 4: HOME ===== */
#screen-home {
  background: var(--bg);
}

.home-header {
  background: var(--grad2);
  padding: 44px 20px 24px;
  position: relative;
  overflow: hidden;
}

.home-header::after {
  content: '';
  position: absolute;
  bottom: -16px; left: 0; right: 0;
  height: 32px;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
}

.home-header-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-header-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(14,165,233,0.08);
}

.home-header-circle-1 { width: 180px; height: 180px; top: -50px; right: -30px; }
.home-header-circle-2 { width: 100px; height: 100px; bottom: 10px; left: 20px; }

.home-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.home-greeting {
  position: relative;
  z-index: 2;
}

.home-greeting-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-bottom: 2px;
}

.home-greeting h2 {
  font-size: 20px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
}

.home-greeting h2 span { color: #38BDF8; }

.home-avatar {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--grad1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
  overflow: hidden;
}

.home-avatar img { width: 100%; height: 100%; object-fit: cover; }

.home-notif-btn {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.home-notif-btn i { width: 20px; height: 20px; color: white; }

.notif-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--navy);
}

.home-search {
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

.home-search-input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  font-family: var(--font);
  font-size: 14px;
  color: white;
  outline: none;
  backdrop-filter: blur(10px);
}

.home-search-input::placeholder { color: rgba(255,255,255,0.4); }

.home-search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: rgba(255,255,255,0.5);
}

.home-search-filter {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  background: var(--grad1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-search-filter i { width: 16px; height: 16px; color: white; }

.home-body {
  padding: 24px 20px 0;
}

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

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.3px;
}

.section-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

/* Health Stats Banner */
.health-banner {
  background: var(--grad1);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.health-banner::before {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.health-banner-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.health-banner-icon i { width: 24px; height: 24px; color: white; }

.health-banner-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.health-banner-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.health-banner-btn {
  margin-left: auto;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Categories */
.categories-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar { display: none; }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  cursor: pointer;
  transition: all 0.2s;
}

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

.category-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.category-card:hover .category-icon { box-shadow: var(--shadow); }

.category-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  line-height: 1.3;
}

/* Doctor Cards */
.doctors-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.doctors-scroll::-webkit-scrollbar { display: none; }

.doctor-card-sm {
  min-width: 160px;
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
}

.doctor-card-sm:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.doctor-card-sm-avatar {
  width: 52px; height: 52px;
  border-radius: 16px;
  margin-bottom: 10px;
  object-fit: cover;
  background: var(--grad3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.doctor-card-sm h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doctor-card-sm p {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 8px;
}

.doctor-card-sm-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
}

.rating-badge i { width: 12px; height: 12px; fill: var(--orange); color: var(--orange); }

.avail-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
}

/* Nearby Doctors List */
.nearby-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.nearby-card {
  background: white;
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.nearby-card:hover { box-shadow: var(--shadow); }

.nearby-avatar {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--grad3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.nearby-avatar img { width: 100%; height: 100%; object-fit: cover; }

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

.nearby-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
}

.nearby-info p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}

.nearby-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nearby-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(14,165,233,0.08);
  color: var(--blue);
}

.nearby-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.nearby-fee {
  font-size: 14px;
  font-weight: 800;
  color: var(--slate);
}

.nearby-fee span {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray);
}

.nearby-dist {
  font-size: 11px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 3px;
}

.nearby-dist i { width: 11px; height: 11px; }

/* ===== SCREEN 5: DOCTOR PROFILE ===== */
#screen-doctor {
  background: var(--bg);
}

.doctor-hero {
  background: var(--grad2);
  padding: 44px 20px 80px;
  position: relative;
  overflow: hidden;
}

.doctor-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.doctor-hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(14,165,233,0.08);
}

.doctor-hero-circle-1 { width: 200px; height: 200px; top: -60px; right: -40px; }
.doctor-hero-circle-2 { width: 120px; height: 120px; bottom: 20px; left: -30px; }

.back-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.back-btn i { width: 18px; height: 18px; color: white; }

.doctor-hero-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.doctor-hero-photo {
  width: 90px; height: 90px;
  border-radius: 24px;
  background: var(--grad3);
  border: 3px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.doctor-hero-info h2 {
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.doctor-hero-spec {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.doctor-hero-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.hero-badge i { width: 12px; height: 12px; }

.doctor-card-float {
  background: white;
  border-radius: var(--radius-lg);
  margin: -40px 16px 0;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
}

.doctor-stats-row {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}

.doctor-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid var(--border);
}

.doctor-stat:last-child { border-right: none; }

.doctor-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.doctor-stat-val span { font-size: 12px; font-weight: 600; color: var(--blue); }

.doctor-stat-label {
  font-size: 10px;
  color: var(--gray);
  font-weight: 500;
}

.consult-types {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.consult-type {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.consult-type.active {
  border-color: var(--blue);
  background: rgba(14,165,233,0.05);
}

.consult-type i { width: 20px; height: 20px; color: var(--gray-light); }
.consult-type.active i { color: var(--blue); }

.consult-type span {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray);
}

.consult-type.active span { color: var(--blue); }

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

.doctor-about {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.doctor-about h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}

.doctor-about p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.slots-section {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.slots-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot-chip {
  padding: 8px 4px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}

.slot-chip.active {
  border-color: var(--blue);
  background: rgba(14,165,233,0.08);
  color: var(--blue);
}

.slot-chip.booked {
  background: var(--bg);
  color: var(--gray-light);
  cursor: not-allowed;
  text-decoration: line-through;
}

.reviews-section {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.reviews-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.review-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.review-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.review-avatar {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--grad3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.review-content h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.review-stars i { width: 12px; height: 12px; fill: var(--orange); color: var(--orange); }

.review-content p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

.book-btn-fixed {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 12px 16px 24px;
  border-top: 1px solid var(--border);
}

.book-btn-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fee-display {
  flex: 1;
}

.fee-display p {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 2px;
}

.fee-display h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
}

.fee-display h3 span {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
}

.btn-book {
  flex: 1.5;
  padding: 15px;
  background: var(--grad1);
  border: none;
  border-radius: 14px;
  color: white;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(14,165,233,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-book i { width: 16px; height: 16px; }

/* ===== SCREEN 6: BOOKING ===== */
#screen-booking {
  background: var(--bg);
}

.booking-header {
  background: white;
  padding: 44px 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
}

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

.booking-section {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.booking-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 14px;
}

/* Calendar */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.calendar-month {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate);
}

.cal-nav {
  display: flex;
  gap: 8px;
}

.cal-nav-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cal-nav-btn i { width: 14px; height: 14px; color: var(--gray); }

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
}

.cal-day-name {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-light);
  padding: 4px 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.cal-day:hover { background: rgba(14,165,233,0.08); }
.cal-day.today { font-weight: 700; color: var(--blue); }
.cal-day.selected { background: var(--blue); color: white; font-weight: 700; }
.cal-day.has-slot::after {
  content: '';
  display: block;
  width: 4px; height: 4px;
  background: var(--teal);
  border-radius: 50%;
  position: absolute;
  bottom: 2px;
}
.cal-day { position: relative; }
.cal-day.other-month { color: var(--gray-light); }
.cal-day.disabled { color: var(--border); cursor: not-allowed; }

/* Time Slots */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.time-slot {
  padding: 10px 6px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}

.time-slot.selected {
  border-color: var(--blue);
  background: rgba(14,165,233,0.08);
  color: var(--blue);
}

.time-slot.unavailable {
  background: var(--bg);
  color: var(--gray-light);
  cursor: not-allowed;
}

/* Consult Type Selector */
.consult-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.consult-type-card {
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.consult-type-card.selected {
  border-color: var(--blue);
  background: rgba(14,165,233,0.05);
}

.consult-type-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.consult-type-icon i { width: 18px; height: 18px; }

.consult-type-card h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
}

.consult-type-card p {
  font-size: 11px;
  color: var(--gray);
}

/* ===== SCREEN 7: VIDEO CALL ===== */
#screen-video {
  background: #0A0F1E;
  display: flex;
  flex-direction: column;
}

.video-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0A1628 0%, #0F2040 50%, #0A1628 100%);
  overflow: hidden;
}

.video-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(14,165,233,0.06) 0%, transparent 50%),
                    radial-gradient(circle at 70% 80%, rgba(13,148,136,0.06) 0%, transparent 50%);
}

.video-doctor-feed {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-doctor-avatar {
  width: 120px; height: 120px;
  border-radius: 36px;
  background: linear-gradient(135deg, #1E3A5F, #0D2137);
  border: 3px solid rgba(14,165,233,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  box-shadow: 0 0 60px rgba(14,165,233,0.2);
  animation: video-pulse 3s ease-in-out infinite;
}

@keyframes video-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(14,165,233,0.2); }
  50% { box-shadow: 0 0 80px rgba(14,165,233,0.35); }
}

.video-header {
  position: relative;
  z-index: 10;
  padding: 44px 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.video-call-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.video-call-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.video-call-timer {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  backdrop-filter: blur(10px);
}

.video-self-preview {
  position: absolute;
  top: 120px;
  right: 16px;
  width: 90px; height: 120px;
  background: linear-gradient(135deg, #1a2a3a, #0d1a2a);
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.15);
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.video-self-label {
  position: absolute;
  bottom: 6px;
  left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.video-status-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

.video-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #4ADE80;
  backdrop-filter: blur(10px);
}

.video-status-dot {
  width: 6px; height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

.video-controls {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding: 20px;
}

.video-controls-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.video-ctrl-btn {
  width: 54px; height: 54px;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}

.video-ctrl-btn:hover { background: rgba(255,255,255,0.18); }
.video-ctrl-btn i { width: 22px; height: 22px; color: white; }

.video-ctrl-btn.active {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.3);
}

.video-ctrl-btn.active i { color: #FCA5A5; }

.video-end-btn {
  width: 64px; height: 64px;
  border-radius: 22px;
  background: var(--red);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(239,68,68,0.4);
  transition: all 0.2s;
}

.video-end-btn:hover { transform: scale(1.05); }
.video-end-btn i { width: 26px; height: 26px; color: white; }

.video-notes-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(10px);
}

.video-notes-panel h5 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.video-notes-panel p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ===== SCREEN 8: CHAT ===== */
#screen-chat {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: white;
  padding: 44px 16px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.chat-header-avatar {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--grad3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
}

.chat-online-dot {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid white;
}

.chat-header-info { flex: 1; }

.chat-header-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 1px;
}

.chat-header-info p {
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
}

.chat-header-actions {
  display: flex;
  gap: 8px;
}

.chat-action-btn {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-action-btn i { width: 16px; height: 16px; color: var(--gray); }

.chat-messages {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.chat-date-divider {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-light);
  background: var(--border);
  border-radius: 10px;
  padding: 4px 12px;
  display: inline-block;
  align-self: center;
}

.chat-msg {
  display: flex;
  gap: 8px;
  max-width: 85%;
}

.chat-msg.sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--grad3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  align-self: flex-end;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
  background: white;
  box-shadow: var(--shadow-sm);
  border-bottom-left-radius: 4px;
}

.chat-msg.sent .chat-bubble {
  background: var(--grad1);
  color: white;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 4px;
}

.chat-bubble-time {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  text-align: right;
}

.chat-bubble-time-recv {
  font-size: 10px;
  color: var(--gray-light);
  margin-top: 4px;
}

.chat-report-card {
  background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.chat-report-icon {
  width: 36px; height: 36px;
  background: rgba(14,165,233,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-report-icon i { width: 18px; height: 18px; color: var(--blue); }

.chat-report-info h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 1px;
}

.chat-report-info p {
  font-size: 10px;
  color: var(--gray);
}

.chat-input-area {
  background: white;
  border-top: 1px solid var(--border);
  padding: 12px 16px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  bottom: 0;
}

.chat-attach-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-attach-btn i { width: 18px; height: 18px; color: var(--gray); }

.chat-input-wrap {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--slate);
  outline: none;
  resize: none;
  height: 42px;
  display: flex;
  align-items: center;
}

.chat-input-wrap::placeholder { color: var(--gray-light); }

.chat-send-btn {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--grad1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(14,165,233,0.3);
}

.chat-send-btn i { width: 18px; height: 18px; color: white; }

/* ===== SCREEN 9: RECORDS ===== */
#screen-records {
  background: var(--bg);
}

.records-header {
  background: white;
  padding: 44px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.records-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 4px;
}

.records-header p {
  font-size: 13px;
  color: var(--gray);
}

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

.upload-zone {
  background: white;
  border: 2px dashed rgba(14,165,233,0.3);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-zone:hover {
  border-color: var(--blue);
  background: rgba(14,165,233,0.02);
}

.upload-icon {
  width: 52px; height: 52px;
  background: rgba(14,165,233,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.upload-icon i { width: 26px; height: 26px; color: var(--blue); }

.upload-zone h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 4px;
}

.upload-zone p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}

.upload-types {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.upload-type-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(14,165,233,0.08);
  color: var(--blue);
}

.records-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 14px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -10px;
  width: 2px;
  background: var(--border);
}

.timeline-item:last-child::before { display: none; }

.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-dot i { width: 18px; height: 18px; }

.timeline-content {
  flex: 1;
  background: white;
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.timeline-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
}

.timeline-content p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 8px;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-date {
  font-size: 11px;
  color: var(--gray-light);
  font-weight: 500;
}

.timeline-action {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

/* ===== SCREEN 10: PAYMENT ===== */
#screen-payment {
  background: var(--bg);
}

.payment-header {
  background: white;
  padding: 44px 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
}

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

.bill-summary {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.bill-summary h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 14px;
}

.bill-doctor-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.bill-doctor-avatar {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bill-doctor-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
}

.bill-doctor-info p {
  font-size: 12px;
  color: var(--gray);
}

.bill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bill-row:last-child { margin-bottom: 0; }

.bill-label {
  font-size: 13px;
  color: var(--gray);
}

.bill-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.bill-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.bill-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bill-total-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate);
}

.bill-total-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}

.payment-methods {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.payment-methods h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 14px;
}

.payment-method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-item.selected {
  border-color: var(--blue);
  background: rgba(14,165,233,0.04);
}

.payment-method-item:last-child { margin-bottom: 0; }

.payment-method-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.payment-method-info { flex: 1; }

.payment-method-info h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 1px;
}

.payment-method-info p {
  font-size: 11px;
  color: var(--gray);
}

.payment-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-radio.checked {
  border-color: var(--blue);
  background: var(--blue);
}

.payment-radio.checked::after {
  content: '';
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
}

.coupon-section {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.coupon-input-wrap {
  display: flex;
  gap: 10px;
}

.coupon-input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--slate);
  background: var(--bg);
  outline: none;
}

.coupon-apply-btn {
  padding: 12px 16px;
  background: var(--grad1);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ===== SCREEN 11: EMERGENCY ===== */
#screen-emergency {
  background: white;
}

.emergency-header {
  background: linear-gradient(135deg, #7F1D1D, #991B1B);
  padding: 44px 20px 24px;
  position: relative;
  overflow: hidden;
}

.emergency-header::after {
  content: '';
  position: absolute;
  bottom: -16px; left: 0; right: 0;
  height: 32px;
  background: white;
  border-radius: 20px 20px 0 0;
}

.emergency-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.emergency-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.emergency-body {
  padding: 24px 16px;
}

.sos-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.sos-ring-outer {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(239,68,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sos-pulse 2s ease-in-out infinite;
  margin-bottom: 12px;
}

@keyframes sos-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,0.2); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 20px rgba(239,68,68,0); }
}

.sos-ring-inner {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(239,68,68,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sos-btn {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(239,68,68,0.5);
  transition: all 0.2s;
}

.sos-btn:hover { transform: scale(1.05); }
.sos-btn i { width: 28px; height: 28px; color: white; }
.sos-btn span { font-size: 14px; font-weight: 800; color: white; letter-spacing: 1px; }

.sos-hint {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
}

.emergency-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.emergency-service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.emergency-service-card:hover { box-shadow: var(--shadow); }

.emergency-service-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emergency-service-icon i { width: 22px; height: 22px; }

.emergency-service-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
}

.emergency-service-card p {
  font-size: 11px;
  color: var(--gray);
}

.emergency-contacts {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
}

.emergency-contacts h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.emergency-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

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

.emergency-contact-avatar {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--grad3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.emergency-contact-info { flex: 1; }

.emergency-contact-info h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 1px;
}

.emergency-contact-info p {
  font-size: 11px;
  color: var(--gray);
}

.emergency-call-btn {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.emergency-call-btn i { width: 16px; height: 16px; color: var(--green); }

/* ===== SCREEN 12: PROFILE ===== */
#screen-profile {
  background: var(--bg);
}

.profile-hero {
  background: var(--grad2);
  padding: 44px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-hero::after {
  content: '';
  position: absolute;
  bottom: -16px; left: 0; right: 0;
  height: 32px;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
}

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

.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 26px;
  background: var(--grad1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.profile-edit-btn {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 26px; height: 26px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
}

.profile-edit-btn i { width: 12px; height: 12px; color: white; }

.profile-hero h2 {
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.profile-hero p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.profile-body {
  padding: 24px 16px;
}

.profile-stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.profile-stat-card {
  flex: 1;
  background: white;
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.profile-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.profile-stat-label {
  font-size: 10px;
  color: var(--gray);
  font-weight: 500;
}

.settings-section {
  background: white;
  border-radius: var(--radius);
  padding: 4px 0;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.settings-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.settings-item:last-child { border-bottom: none; }
.settings-item:hover { background: var(--bg); }

.settings-icon {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-icon i { width: 18px; height: 18px; }

.settings-info { flex: 1; }

.settings-info h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 1px;
}

.settings-info p {
  font-size: 11px;
  color: var(--gray);
}

.settings-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-right i { width: 16px; height: 16px; color: var(--gray-light); }

.toggle-switch {
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-switch.on { background: var(--blue); }

.toggle-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch.on .toggle-knob { left: 22px; }

.settings-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(14,165,233,0.1);
  color: var(--blue);
}

/* ===== SCREEN 13: AI CHECKER ===== */
#screen-ai {
  background: var(--bg);
}

.ai-header {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  padding: 44px 20px 24px;
  position: relative;
  overflow: hidden;
}

.ai-header::after {
  content: '';
  position: absolute;
  bottom: -16px; left: 0; right: 0;
  height: 32px;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
}

.ai-header-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.ai-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ai-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.ai-icon-wrap i { width: 26px; height: 26px; color: white; }

.ai-header-text h2 {
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 2px;
}

.ai-header-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.ai-body {
  padding: 24px 16px;
}

.ai-chat-area {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  min-height: 200px;
}

.ai-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.ai-msg.user { flex-direction: row-reverse; }

.ai-avatar {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
}

.ai-avatar.bot {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
}

.ai-avatar.bot i { width: 16px; height: 16px; color: white; }
.ai-avatar.user-av { background: var(--grad1); font-size: 14px; }

.ai-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
  background: var(--bg);
  border-bottom-left-radius: 4px;
}

.ai-msg.user .ai-bubble {
  background: var(--grad1);
  color: white;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}

.ai-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.ai-typing-dot {
  width: 6px; height: 6px;
  background: var(--gray-light);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.symptom-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.symptom-chip {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.symptom-chip.selected {
  border-color: #7C3AED;
  background: rgba(124,58,237,0.06);
  color: #7C3AED;
}

.health-tips-section {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.health-tips-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 12px;
}

.health-tip-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.health-tip-card:last-child { margin-bottom: 0; }
.health-tip-card:hover { background: rgba(14,165,233,0.04); }

.health-tip-emoji {
  font-size: 28px;
  flex-shrink: 0;
}

.health-tip-content h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 2px;
}

.health-tip-content p {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.4;
}

/* ===== UTILITY ===== */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.font-bold { font-weight: 700; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.text-gray { color: var(--gray); }
.text-slate { color: var(--slate); }
.w-full { width: 100%; }
.rounded-full { border-radius: 9999px; }

/* Scrollbar for phone screen */
.phone-screen::-webkit-scrollbar { display: none; }