/* ==========================================================================
   SIP HD - SISTEM INFORMASI PASIEN HEMODIALISA
   Modern Medical Design System & Responsive Stylesheet
   ========================================================================== */

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

:root {
  /* Color Palette matching the infographic */
  --primary: #0E9F8E;
  --primary-dark: #0A7B6E;
  --primary-light: #E6F7F5;
  --primary-lighter: #F2FBFA;
  --primary-glow: rgba(14, 159, 142, 0.25);
  
  --secondary: #008B8B;
  --accent-coral: #FF6F61;
  --accent-coral-light: #FFF0EE;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FEF3C7;
  --accent-blue: #3B82F6;
  --accent-blue-light: #EFF6FF;
  --accent-purple: #8B5CF6;
  --accent-purple-light: #F5F3FF;
  --accent-green: #10B981;
  --accent-green-light: #ECFDF5;
  --accent-danger: #EF4444;
  --accent-danger-light: #FEE2E2;

  --bg-app: #F4F8F7;
  --surface: #FFFFFF;
  --surface-secondary: #F8FAFC;
  --border: #E5E9EB;
  --border-focus: #0E9F8E;

  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 14px rgba(14, 159, 142, 0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(14, 159, 142, 0.12), 0 4px 10px -2px rgba(0,0,0,0.03);
  --shadow-float: 0 20px 35px -8px rgba(14, 159, 142, 0.18), 0 8px 16px -4px rgba(0,0,0,0.06);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: #0F172A;
  color: var(--text-main);
  line-height: 1.5;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 20% 20%, rgba(14, 159, 142, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 1) 0%, #090D16 100%);
}

/* Floating Top Control Toolbar */
.top-toolbar {
  position: fixed;
  top: 14px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #FFFFFF;
}

.brand-badge .badge-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
}

.tool-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.mode-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-btn:hover {
  color: #FFFFFF;
}

.mode-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.db-pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.db-pill.connected {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.db-pill.disconnected {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.db-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.db-pill.connected .db-dot {
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.db-pill.disconnected .db-dot {
  background: #F59E0B;
  box-shadow: 0 0 6px #F59E0B;
}

/* App Viewport Container */
.app-viewport {
  position: relative;
  z-index: 10;
  margin: 68px auto 40px;
  transition: all var(--transition-normal);
}

/* Phone Frame Mode (Matches Infographic Presentation) */
.app-viewport.mode-mobile {
  width: 412px;
  max-width: 95vw;
  height: 870px;
  max-height: calc(100vh - 90px);
  background: #000000;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 
              0 0 0 1px rgba(255, 255, 255, 0.12),
              inset 0 0 0 3px #2D3748;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-app);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Phone Notch / Dynamic Island */
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.island-camera {
  width: 10px;
  height: 10px;
  background: #1A202C;
  border-radius: 50%;
  border: 1px solid #2D3748;
}

.island-sensor {
  width: 6px;
  height: 6px;
  background: #0D1117;
  border-radius: 50%;
}

/* Status Bar */
.phone-status-bar {
  height: 38px;
  padding: 10px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  z-index: 90;
  background: transparent;
}

.status-time {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.2px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

/* Wide / Desktop Mode */
.app-viewport.mode-desktop {
  width: 1100px;
  max-width: 95vw;
  height: 880px;
  max-height: calc(100vh - 90px);
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4);
  padding: 0;
  overflow: hidden;
}

.app-viewport.mode-desktop .phone-island {
  display: none;
}

.app-viewport.mode-desktop .phone-status-bar {
  display: none;
}

.app-viewport.mode-desktop .phone-screen {
  border-radius: 24px;
}

/* Screen Wrapper & Transitions */
.screen-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-app);
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 74px; /* clearance for bottom nav */
  opacity: 0;
  visibility: hidden;
  transform: translateX(25px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  -webkit-overflow-scrolling: touch;
}

.screen::-webkit-scrollbar {
  width: 4px;
}

.screen::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.screen.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.screen.fade-out {
  opacity: 0;
  transform: translateX(-25px);
}

/* -------------------------------------------------------------
   SPLASH SCREEN
   ------------------------------------------------------------- */
#screen-splash {
  padding-bottom: 0;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 80;
  text-align: center;
}

.splash-content {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.splash-logo-box {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #0E9F8E 0%, #0A7B6E 100%);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px var(--primary-glow);
  margin-bottom: 24px;
  position: relative;
  animation: pulse-logo 2.5s infinite ease-in-out;
}

@keyframes pulse-logo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.splash-logo-svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.splash-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0E9F8E;
  margin-bottom: 4px;
}

.splash-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.splash-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.5;
}

.splash-wave-footer {
  width: 100%;
  background: linear-gradient(180deg, #0E9F8E 0%, #0A7B6E 100%);
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding: 34px 24px 38px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -8px 24px rgba(14, 159, 142, 0.2);
}

.splash-slogan {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.btn-splash-start {
  background: #FFFFFF;
  color: #0E9F8E;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 36px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: var(--transition-fast);
}

.btn-splash-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

/* -------------------------------------------------------------
   LOGIN SCREEN
   ------------------------------------------------------------- */
#screen-login {
  padding: 24px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-header {
  margin-bottom: 28px;
}

.login-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

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

.form-input {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-toggle-pwd {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
}

.form-forgot {
  text-align: right;
  margin-bottom: 24px;
}

.link-forgot {
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0E9F8E 0%, #0A7B6E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px var(--primary-glow);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(14, 159, 142, 0.35);
}

.btn-primary:active {
  transform: translateY(1px);
}

.divider-text {
  position: relative;
  text-align: center;
  margin: 22px 0;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #E2E8F0;
}

.divider-text span {
  position: relative;
  background: #FFFFFF;
  padding: 0 12px;
  font-size: 12px;
  color: var(--text-light);
}

.btn-whatsapp {
  width: 100%;
  padding: 13px 20px;
  background: #FFFFFF;
  color: #16A34A;
  border: 1.5px solid #22C55E;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #F0FDF4;
}

.login-footer-text {
  text-align: center;
  margin-top: 26px;
  font-size: 12px;
  color: var(--text-muted);
}

.link-register {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

/* -------------------------------------------------------------
   COMMON SCREEN HEADER
   ------------------------------------------------------------- */
.screen-header {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon-back {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-icon-back:hover {
  background: #E2E8F0;
}

.screen-header-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

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

.btn-header-action {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.btn-header-action:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.badge-counter {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-coral);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

/* -------------------------------------------------------------
   DASHBOARD / BERANDA
   ------------------------------------------------------------- */
.dashboard-topbar {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-brand-logo {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.app-brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.dashboard-patient-card {
  padding: 14px 18px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.patient-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

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

.patient-welcome-greeting {
  font-size: 12px;
  color: var(--text-muted);
}

.patient-welcome-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

/* Upcoming HD Schedule Banner */
.schedule-banner-wrapper {
  padding: 14px 18px 8px;
}

.schedule-banner {
  background: linear-gradient(135deg, #0E9F8E 0%, #007B83 100%);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  color: #FFFFFF;
  box-shadow: 0 10px 22px -4px var(--primary-glow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-fast);
}

.schedule-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -2px rgba(14, 159, 142, 0.35);
}

.banner-decor-circle {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.banner-decor-circle-2 {
  position: absolute;
  bottom: -20px;
  left: 20%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.schedule-banner-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.banner-badge-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.schedule-datetime-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.schedule-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.9;
}

.banner-arrow-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 12px;
}

/* Quick Menu Grid */
.menu-grid-section {
  padding: 14px 18px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.menu-item-btn {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.menu-item-btn:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.menu-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.menu-item-btn:hover .menu-icon-box {
  transform: scale(1.08);
}

/* Color variations matching the mockup icons */
.icon-profile { background: #E0F2FE; color: #0284C7; }
.icon-lab { background: #E0F7FA; color: #00838F; }
.icon-gizi { background: #FEF3C7; color: #D97706; }
.icon-leaflet { background: #DCFCE7; color: #16A34A; }
.icon-info { background: #F3E8FF; color: #7C3AED; }
.icon-kontak { background: #FFE4E6; color: #E11D48; }

.menu-item-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
}

/* Quick Health Tips Carousel / Highlight */
.health-tip-banner {
  margin: 0 18px 18px;
  background: var(--primary-light);
  border: 1px solid rgba(14, 159, 142, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tip-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.tip-content {
  font-size: 11.5px;
  color: #065F56;
  line-height: 1.4;
}

/* -------------------------------------------------------------
   BOTTOM NAVIGATION BAR
   ------------------------------------------------------------- */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 50;
  padding: 0 8px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  flex: 1;
}

.nav-item i, .nav-item svg {
  font-size: 18px;
  transition: var(--transition-fast);
}

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

.nav-item.active i, .nav-item.active svg {
  transform: translateY(-2px);
  color: var(--primary);
}

.nav-notif-dot {
  position: absolute;
  top: 6px;
  right: 24px;
  width: 7px;
  height: 7px;
  background: var(--accent-coral);
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
}

/* -------------------------------------------------------------
   SIDEBAR / DRAWER MENU
   ------------------------------------------------------------- */
.sidebar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sidebar-drawer {
  position: absolute;
  top: 0;
  left: -290px;
  width: 280px;
  height: 100%;
  background: #FFFFFF;
  z-index: 210;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-bounce);
}

.sidebar-overlay.open .sidebar-drawer {
  transform: translateX(290px);
}

.drawer-header {
  padding: 24px 18px 18px;
  background: linear-gradient(135deg, #0E9F8E 0%, #0A7B6E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  object-fit: cover;
}

.drawer-user-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.drawer-user-rm {
  font-size: 11.5px;
  opacity: 0.85;
}

.drawer-menu-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
  list-style: none;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 2px;
}

.drawer-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: var(--text-muted);
}

.drawer-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.drawer-item:hover i {
  color: var(--primary);
}

.drawer-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

.drawer-item.active i {
  color: var(--primary);
}

.drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 10px;
}

.drawer-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* -------------------------------------------------------------
   FITUR 1: MY PROFILE SCREEN
   ------------------------------------------------------------- */
.profile-hero {
  background: #FFFFFF;
  padding: 24px 18px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.profile-large-avatar-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin: 0 auto 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px var(--primary-glow);
}

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

.profile-patient-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.profile-patient-rm {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.profile-section-card {
  margin: 14px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.card-title-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-data-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-data-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12.5px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #EDF2F7;
}

.info-data-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-data-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.info-data-label i {
  color: var(--primary);
  width: 14px;
}

.info-data-value {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* -------------------------------------------------------------
   FITUR 2: HASIL LABORATORIUM SCREEN
   ------------------------------------------------------------- */
.lab-filter-bar {
  padding: 12px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.segmented-control {
  display: flex;
  background: var(--surface-secondary);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.segment-btn {
  flex: 1;
  padding: 7px 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.period-select-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.select-period {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 12px;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

.lab-cards-list {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lab-metric-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.lab-metric-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.lab-metric-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lab-metric-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.lab-metric-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.lab-metric-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.lab-metric-unit {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.lab-metric-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  width: fit-content;
  margin-top: 4px;
}

.status-normal { background: #DCFCE7; color: #16A34A; }
.status-tinggi { background: #FEE2E2; color: #DC2626; }
.status-rendah { background: #FEF3C7; color: #D97706; }

.lab-sparkline-box {
  width: 110px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.sparkline-svg {
  width: 100%;
  height: 32px;
  overflow: visible;
}

.sparkline-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 9px;
  color: var(--text-light);
  margin-top: 2px;
}

.lab-table-container {
  padding: 14px 18px;
}

.table-responsive {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.lab-table th {
  background: var(--surface-secondary);
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.lab-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--text-main);
}

.lab-table tr:last-child td {
  border-bottom: none;
}

/* -------------------------------------------------------------
   FITUR 3: STATUS GIZI PASIEN SCREEN
   ------------------------------------------------------------- */
.gizi-status-banner {
  margin: 14px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gizi-status-badge {
  font-size: 11px;
  color: var(--text-muted);
}

.gizi-status-state {
  font-size: 24px;
  font-weight: 800;
  color: #10B981;
}

.gizi-status-update {
  font-size: 10.5px;
  color: var(--text-light);
  margin-top: 2px;
}

.gizi-smiley-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FEF3C7;
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.gizi-card {
  margin: 0 18px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.gizi-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gizi-stat-box {
  background: var(--surface-secondary);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.gizi-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.gizi-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

/* Weight Progression Chart Box */
.weight-chart-box {
  width: 100%;
  height: 160px;
  margin-top: 10px;
}

.weight-svg {
  width: 100%;
  height: 100%;
}

/* Fluid & Protein Progress */
.intake-row {
  margin-bottom: 12px;
}

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

.intake-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.intake-bar-bg {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.intake-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.intake-bar-fill.fluid {
  background: linear-gradient(90deg, #38BDF8 0%, #0284C7 100%);
  width: 65%;
}

.intake-bar-fill.protein {
  background: linear-gradient(90deg, #34D399 0%, #059669 100%);
  width: 80%;
}

/* -------------------------------------------------------------
   FITUR 4: LEAFLET PASIEN SCREEN
   ------------------------------------------------------------- */
.chips-filter-bar {
  padding: 12px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface-secondary);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.filter-chip.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.leaflet-list {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leaflet-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.leaflet-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.leaflet-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.leaflet-details {
  flex: 1;
}

.leaflet-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.leaflet-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.leaflet-arrow {
  color: var(--text-light);
  font-size: 12px;
}

/* -------------------------------------------------------------
   FITUR 5: INFORMASI SCREEN
   ------------------------------------------------------------- */
.info-list {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.info-item-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.info-dot-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-dot-icon.coral { background: #FFE4E6; color: #E11D48; }
.info-dot-icon.blue { background: #E0F2FE; color: #0284C7; }
.info-dot-icon.green { background: #DCFCE7; color: #16A34A; }
.info-dot-icon.purple { background: #F3E8FF; color: #7C3AED; }
.info-dot-icon.orange { background: #FEF3C7; color: #D97706; }

.info-body {
  flex: 1;
}

.info-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.info-item-snippet {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 3px 0;
}

.info-item-date {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 600;
}

/* -------------------------------------------------------------
   FITUR 6: KONTAK SCREEN
   ------------------------------------------------------------- */
.contact-section-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 16px 18px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card-box {
  margin: 0 18px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.contact-left-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.contact-role {
  font-size: 11.5px;
  color: var(--text-muted);
}

.contact-phone-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 2px;
}

.contact-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-dial {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-dial:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-wa-call {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-wa-call:hover {
  background: #16A34A;
  color: white;
}

.contact-emergency-card {
  margin: 0 18px 14px;
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border: 1.5px solid #FCA5A5;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-emergency-dial {
  background: #EF4444;
  color: #FFFFFF;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  cursor: pointer;
  text-decoration: none;
}

/* -------------------------------------------------------------
   NOTIFIKASI SCREEN
   ------------------------------------------------------------- */
.notif-list {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-fast);
}

.notif-item-card.unread {
  border-left: 3.5px solid var(--primary);
  background: #FAFDFD;
}

.notif-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notif-content {
  flex: 1;
}

.notif-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.notif-body {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 2px 0 4px;
  line-height: 1.35;
}

.notif-time {
  font-size: 10px;
  color: var(--text-light);
}

/* -------------------------------------------------------------
   PENGATURAN SCREEN
   ------------------------------------------------------------- */
.settings-section-card {
  margin: 14px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.settings-group-title {
  padding: 12px 16px 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.settings-row {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13px;
  cursor: pointer;
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 600;
}

.settings-row-label i {
  color: var(--text-muted);
  width: 16px;
}

.settings-row-val {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modern Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: 0.2s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(18px);
}

.btn-logout {
  width: calc(100% - 36px);
  margin: 10px 18px 24px;
  padding: 13px;
  background: #FFF5F5;
  border: 1px solid #FED7D7;
  color: #E53E3E;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-logout:hover {
  background: #FED7D7;
}

/* -------------------------------------------------------------
   JADWAL SCREEN
   ------------------------------------------------------------- */
.jadwal-hero-card {
  margin: 14px 18px;
  background: linear-gradient(135deg, #0E9F8E 0%, #007B83 100%);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: #FFFFFF;
  box-shadow: 0 10px 20px var(--primary-glow);
}

.jadwal-hero-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.jadwal-hero-date {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.jadwal-hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 11.5px;
}

.jadwal-history-list {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jadwal-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.jadwal-item-card.done {
  opacity: 0.85;
}

/* -------------------------------------------------------------
   MODAL DIALOGS & OVERLAYS
   ------------------------------------------------------------- */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: flex-end; /* bottom-sheet on mobile */
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-height: 85%;
  background: #FFFFFF;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 22px 20px 28px;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform var(--transition-bounce);
  overflow: hidden;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-pill-drag {
  width: 36px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 10px;
  margin: 0 auto 16px;
}

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

.modal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.btn-close-modal {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-scroll-body {
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}

.modal-scroll-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 12px 0 6px;
}

.modal-scroll-body h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 10px 0 4px;
}

.modal-scroll-body ul, .modal-scroll-body ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.modal-scroll-body li {
  margin-bottom: 4px;
}

.highlight-box {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  margin: 10px 0;
  font-size: 12px;
}

/* Toast Notifications */
.toast-container {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  pointer-events: none;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.toast {
  background: #1E293B;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Desktop Mode Specific Enhancements */
@media (min-width: 992px) {
  .app-viewport.mode-desktop .screen-wrapper {
    display: flex;
  }
  
  .app-viewport.mode-desktop .bottom-nav {
    display: none;
  }

  .app-viewport.mode-desktop .sidebar-overlay {
    position: static;
    width: 250px;
    height: 100%;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border-right: 1px solid var(--border);
  }

  .app-viewport.mode-desktop .sidebar-drawer {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
  }

  .app-viewport.mode-desktop .screen {
    left: 250px;
    width: calc(100% - 250px);
    padding-bottom: 24px;
  }

  .app-viewport.mode-desktop .menu-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
