/* ==========================================================================
   PORTAL PASIEN MOBILE-FIRST PWA STYLESHEET
   Naraya Medical Center - Ultra-Professional UI System (v2.0)
   ========================================================================== */

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

:root {
  --primary: #4338CA;
  --primary-dark: #312E81;
  --primary-light: #EEF2FF;
  --primary-glow: rgba(67, 56, 202, 0.35);
  --primary-gradient: linear-gradient(135deg, #3730A3 0%, #4F46E5 50%, #6366F1 100%);
  --card-gradient: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
  
  --secondary: #0284C7;
  --secondary-light: #E0F2FE;
  --secondary-gradient: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
  
  --success: #059669;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --success-gradient: linear-gradient(135deg, #059669 0%, #10B981 100%);
  
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --warning-border: #FDE68A;
  --warning-gradient: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;
  
  --dark: #0F172A;
  --slate: #475569;
  --muted: #94A3B8;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-light: rgba(226, 232, 240, 0.7);
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-elevated: 0 18px 36px -8px rgba(67, 56, 202, 0.18), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-passport: 0 20px 40px -10px rgba(30, 27, 75, 0.35);
  --shadow-btn: 0 8px 20px -4px rgba(67, 56, 202, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #E2E8F0;
  color: var(--dark);
  line-height: 1.5;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* App Container Wrapper (Max 480px for standard mobile ergonomics) */
.mobile-app-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: #F8FAFC;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(15, 23, 42, 0.12);
  overflow-x: hidden;
}

.mobile-content {
  flex: 1;
  padding-bottom: 95px; /* space for bottom nav */
}

/* Header & Top Branding */
.app-header-pro {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 26px 20px 36px;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.app-header-pro::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.app-header-pro::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-full);
}

.brand-badge img {
  height: 24px;
  background: white;
  padding: 3px 6px;
  border-radius: var(--radius-full);
}

.brand-badge span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: white;
}

.header-ctrl-btn {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.header-ctrl-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.3);
}

/* User Greeting & Header Profile */
.user-hero-box {
  position: relative;
  z-index: 5;
}

.user-hero-greeting {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-hero-greeting .online-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
}

.user-hero-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-top: 2px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-icon {
  font-size: 16px;
  color: #38BDF8;
}

.user-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   HEALTH PASSPORT / MEDICAL CARD (PRO DESIGN)
   ========================================================================== */
.passport-card-wrap {
  margin: -24px 16px 18px;
  position: relative;
  z-index: 10;
}

.passport-card {
  background: var(--card-gradient);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: white;
  box-shadow: var(--shadow-passport);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.passport-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.passport-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.passport-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #A5B4FC;
}

.passport-chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.passport-chip::after {
  content: '';
  width: 22px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.passport-body {
  margin-bottom: 16px;
}

.passport-status-row {
  margin-bottom: 12px;
}

.passport-status-label {
  font-size: 11px;
  color: #C7D2FE;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.status-badge-pro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-fit-pro {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: white;
  border: 1px solid #34D399;
}

.status-restriction-pro {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: white;
  border: 1px solid #FBBF24;
}

.status-unfit-pro {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  color: white;
  border: 1px solid #F87171;
}

.status-pending-pro {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.passport-grid-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.passport-meta-item .meta-label {
  font-size: 10px;
  color: #94A3B8;
  text-transform: uppercase;
}

.passport-meta-item .meta-val {
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-top: 1px;
}

.passport-footer-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.btn-passport-primary {
  flex: 1;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-passport-primary:active {
  transform: scale(0.97);
  background: #EEF2FF;
}

.btn-passport-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-passport-secondary:active {
  background: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   VITAL STATS & PHYSICAL CLINICAL CARD (CLEAN & PROFESSIONAL)
   ========================================================================== */
.vitals-medical-box {
  background: var(--white);
  border-radius: var(--radius-md);
  margin: 0 16px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.vitals-medical-head {
  padding: 10px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vitals-medical-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vitals-medical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.vitals-col {
  padding: 12px 10px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vitals-col:last-child {
  border-right: none;
}

.vitals-col-label {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.vitals-col-val {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 4px;
  word-break: break-word;
}

.vitals-col-unit {
  font-size: 10px;
  font-weight: 500;
  color: #64748B;
}

.vitals-col-status {
  font-size: 11px;
  font-weight: 600;
  color: #16A34A;
}

.vitals-col-status.status-warning {
  color: #D97706;
}

.vitals-col-status.status-danger {
  color: #DC2626;
}

.vitals-col-status.status-neutral {
  color: #64748B;
}

.status-badge-success {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.status-badge-warning {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.status-badge-danger {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.status-badge-teal {
  background: #CCFBF1;
  color: #0F766E;
  border: 1px solid #99F6E4;
}

.status-badge-indigo {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}

.status-badge-neutral {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
}

.icon-red    { background: #FEE2E2; color: #DC2626; }
.icon-blue   { background: #E0F2FE; color: #0284C7; }
.icon-teal   { background: #CCFBF1; color: #0D9488; }
.icon-purple { background: #EDE9FE; color: #7C3AED; }

/* Latest MCU Featured Card on History Page */
.latest-mcu-featured {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: white;
  margin: 0 16px 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.latest-mcu-featured::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.latest-mcu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.latest-mcu-badge {
  background: rgba(59, 130, 246, 0.25);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.4);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.latest-mcu-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.btn-mcu-featured-detail {
  flex: 1;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-mcu-featured-print {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   SERVICES GRID (PRO ACTIONS)
   ========================================================================== */
.section-header-pro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  margin: 18px 0 12px;
}

.section-header-pro h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header-pro h3::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.section-header-pro a {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

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

.service-card-pro {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-decoration: none;
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.service-card-pro:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-subtle);
  background: #F8FAFC;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card-pro h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.service-card-pro p {
  font-size: 11px;
  color: var(--slate);
  line-height: 1.35;
}

.service-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.badge-new { background: #EEF2FF; color: var(--primary); }
.badge-ready { background: #ECFDF5; color: #059669; }

/* ==========================================================================
   HEALTH TIPS & WELLNESS BANNER
   ========================================================================== */
.wellness-banner {
  background: linear-gradient(135deg, #ECFDF5 0%, #E0F2FE 100%);
  border-radius: var(--radius-md);
  margin: 0 16px 20px;
  padding: 16px;
  border: 1px solid #A7F3D0;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-subtle);
}

.wellness-icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #059669;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.15);
}

.wellness-text h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 2px;
}

.wellness-text p {
  font-size: 11px;
  color: #047857;
  line-height: 1.35;
}

/* ==========================================================================
   WHATSAPP CS FLOATING CARD
   ========================================================================== */
.helpdesk-box {
  background: var(--white);
  border-radius: var(--radius-md);
  margin: 0 16px 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.helpdesk-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.helpdesk-icon {
  width: 38px;
  height: 38px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.helpdesk-btn {
  background: #25D366;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   BOTTOM FLOATING NAVIGATION BAR (PRO)
   ========================================================================== */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  justify-content: space-around;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.06);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  gap: 4px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  padding: 4px 0;
  border-radius: var(--radius-sm);
}

.nav-item i {
  font-size: 18px;
  transition: all 0.2s ease;
}

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

.nav-item.active i {
  transform: translateY(-2px);
}

.nav-item.active span {
  font-weight: 700;
}

/* ==========================================================================
   LOGIN VIEW (PROFESSIONAL MEDICAL FINTECH STYLE)
   ========================================================================== */
.login-hero-pro {
  background: var(--primary-gradient);
  padding: 46px 24px 50px;
  text-align: center;
  color: white;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.login-hero-pro::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.login-logo-badge {
  background: white;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
}

.login-logo-badge img {
  height: 36px;
}

.login-title-pro {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.login-subtitle-pro {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 4px;
}

.login-box-pro {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin: -30px 18px 24px;
  padding: 26px 22px;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.input-label-pro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.input-label-pro span {
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
}

.input-box-pro {
  position: relative;
  margin-bottom: 18px;
}

.input-box-pro i.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate);
  font-size: 15px;
  pointer-events: none;
}

.form-control-pro {
  width: 100%;
  padding: 13px 14px 13px 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  background: #F8FAFC;
  color: var(--dark);
  transition: all 0.2s ease;
}

.form-control-pro:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.btn-primary-pro {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: 100%;
  box-shadow: var(--shadow-btn);
  transition: all 0.2s ease;
}

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

/* Security Trust Footer on Login */
.security-badge-pro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: #F1F5F9;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  margin-top: 18px;
}

/* Detail & Other Component Shared Styles */
.tab-pills {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  margin: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-pills::-webkit-scrollbar {
  display: none;
}

.tab-pill-btn {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-pill-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(67, 56, 202, 0.25);
}

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

.data-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
}

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

.lab-table th {
  text-align: left;
  padding: 8px 6px;
  font-size: 11px;
  color: var(--slate);
  border-bottom: 1px solid var(--border);
}

.lab-table td {
  padding: 10px 6px;
  border-bottom: 1px solid #F1F5F9;
}

.lab-val-badge {
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 12px;
}

.lab-normal { background: #ECFDF5; color: #065F46; }
.lab-abnormal { background: #FEF2F2; color: #991B1B; font-weight: 800; }

.patient-info-item {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.patient-info-label {
  color: var(--slate);
}

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

.alert-toast {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}

.alert-error {
  background: var(--danger-bg);
  color: #991B1B;
  border: 1px solid var(--danger-border);
}

.alert-success {
  background: var(--success-bg);
  color: #065F46;
  border: 1px solid var(--success-border);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: 100%;
  box-shadow: var(--shadow-btn);
  transition: all 0.2s ease;
}

.history-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.2s ease;
}

.history-card:active {
  transform: scale(0.98);
  background: #F8FAFC;
}

.history-list {
  padding: 0 16px;
}

.mcu-pkg-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
