/* ============================================
   DONOR APP — Premium Healthcare Design System
   Namespace: --dr- (Donor Red)
   Primary: #DC2626 (Red-600)
   No conflict with existing admin theme (--theme-*)
   Compiled from: public/assets/scss/themes/_donor-app.scss
   ============================================ */

/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
  --dr-primary: #DC2626;
  --dr-primary-dark: #B91C1C;
  --dr-primary-darker: #991B1B;
  --dr-primary-light: #FEF2F2;
  --dr-primary-soft: #FECACA;
  --dr-pink-50: #FFF1F2;
  --dr-pink-100: #FFE4E6;
  --dr-gray-50: #F9FAFB;
  --dr-gray-100: #F3F4F6;
  --dr-gray-200: #E5E7EB;
  --dr-gray-300: #D1D5DB;
  --dr-gray-400: #9CA3AF;
  --dr-gray-500: #9CA3AF;
  --dr-gray-600: #6B7280;
  --dr-gray-700: #374151;
  --dr-gray-800: #1F2937;
  --dr-gray-900: #111827;
  --dr-white: #FFFFFF;
  --dr-success-bg: #DCFCE7;
  --dr-success-text: #166534;
  --dr-warning-bg: #FEF3C7;
  --dr-warning-text: #92400E;
  --dr-info-bg: #DBEAFE;
  --dr-info-text: #1E40AF;
  --dr-shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --dr-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --dr-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --dr-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --dr-shadow-red: 0 4px 16px rgba(220,38,38,0.25);
  --dr-shadow-red-lg: 0 8px 30px rgba(220,38,38,0.35);
  --dr-radius-sm: 8px;
  --dr-radius-md: 12px;
  --dr-radius-lg: 16px;
  --dr-radius-xl: 20px;
  --dr-radius-2xl: 24px;
  --dr-radius-full: 50px;
  --dr-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --dr-top-nav-h: 56px;
  --dr-bottom-nav-h: 64px;
  --dr-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--dr-gray-50);
}
body.has-top-nav { padding-top: var(--dr-top-nav-h); }
body.has-bottom-nav { padding-bottom: calc(var(--dr-bottom-nav-h) + var(--dr-safe-bottom) + 8px); }

/* ============================================
   3. TOP NAVBAR
   ============================================ */
.app-navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.06);
  height: var(--dr-top-nav-h);
  z-index: 1030;
  transition: box-shadow 0.3s ease;
}
.app-navbar.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.app-navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding-left: 1rem; padding-right: 1rem;
}
.navbar-brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; min-height: 44px;
}
.brand-icon-wrap {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 2px 8px rgba(220,38,38,0.25); flex-shrink: 0;
}
.brand-label {
  font-weight: 700; font-size: 0.95rem; color: var(--dr-gray-900);
  letter-spacing: -0.01em; white-space: nowrap;
}
.navbar-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-action-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  color: var(--dr-gray-800); text-decoration: none;
  transition: all var(--dr-transition); font-size: 1.2rem;
}
.nav-action-btn:hover, .nav-action-btn:active { background: var(--dr-primary-light); color: var(--dr-primary); }
.nav-login-btn { background: var(--dr-primary-light); color: var(--dr-primary); font-weight: 600; }
.nav-avatar-sm {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--dr-primary), #FCA5A5);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem;
}
.nav-user-dropdown-toggle {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  background: var(--dr-gray-50); border: 1px solid var(--dr-gray-200);
  border-radius: 50px; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.88rem;
  font-weight: 600; color: var(--dr-gray-800);
  transition: all 0.2s ease; min-height: 44px; white-space: nowrap;
}
.nav-user-dropdown-toggle:hover {
  background: var(--dr-primary-light); border-color: var(--dr-primary-soft);
}
.nav-user-dropdown-toggle i.bi-chevron-down {
  font-size: 0.7rem; color: var(--dr-gray-500); transition: transform 0.2s ease;
}
.nav-user-dropdown-toggle[aria-expanded="true"] i.bi-chevron-down { transform: rotate(180deg); }
.nav-user-name-desktop {
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dropdown-menu {
  font-size: 0.875rem; border: 1px solid var(--dr-gray-200);
  border-radius: var(--dr-radius-lg); box-shadow: var(--dr-shadow-lg);
  padding: 0.5rem; margin-top: 0.5rem;
}
.dropdown-item {
  padding: 0.65rem 1rem; border-radius: var(--dr-radius-md);
  transition: all 0.15s ease; font-weight: 500;
}
.dropdown-item:hover { background: var(--dr-primary-light); color: var(--dr-primary); }
.dropdown-item i { width: 20px; text-align: center; }
.dropdown-divider { margin: 0.4rem 0; opacity: 0.08; }
.dropdown-item.text-danger:hover { background: #FEF2F2; color: #DC2626 !important; }
@media (max-width: 380px) {
  .brand-icon-wrap { width: 30px; height: 30px; font-size: 0.9rem; border-radius: 8px; }
  .brand-label { font-size: 0.8rem; }
}

/* ============================================
   4. BOTTOM NAVIGATION (mobile)
   ============================================ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(var(--dr-bottom-nav-h) + var(--dr-safe-bottom));
  padding-bottom: var(--dr-safe-bottom);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--dr-gray-200);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  z-index: 1030; box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; height: 100%; padding: 6px 4px;
  text-decoration: none; color: var(--dr-gray-500);
  font-size: 0.68rem; font-weight: 500; transition: all var(--dr-transition); position: relative;
}
.bottom-nav-item i { font-size: 1.3rem; transition: all var(--dr-transition); }
.bottom-nav-item span { line-height: 1; white-space: nowrap; }
.bottom-nav-item.active { color: var(--dr-primary); }
.bottom-nav-item.active::before {
  content: ''; position: absolute; top: 4px; left: 50%;
  transform: translateX(-50%); width: 20px; height: 3px;
  border-radius: 2px; background: var(--dr-primary);
}
.bottom-nav-item:active { transform: scale(0.9); }
.bottom-nav-cta { position: relative; margin-top: -16px; color: var(--dr-gray-500); }
.bottom-nav-cta span:last-child { margin-top: -2px; }
.bottom-nav-cta-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(220,38,38,0.35); transition: all 0.3s ease;
}
.bottom-nav-cta-icon i { font-size: 1.3rem; color: #fff !important; }
.bottom-nav-cta.active .bottom-nav-cta-icon {
  box-shadow: 0 6px 20px rgba(220,38,38,0.5); transform: scale(1.08);
}
.bottom-nav-cta.active::before { display: none; }
.bottom-nav-cta:active .bottom-nav-cta-icon { transform: scale(0.9); }
@media (min-width: 992px) { .bottom-nav { display: none !important; } }

/* ============================================
   5. SECTION HEADERS (shared)
   ============================================ */
.section-header-mobile { text-align: center; margin-bottom: 2rem; }
.section-chip {
  display: inline-block; background: var(--dr-primary-light); color: var(--dr-primary);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.35rem 1.1rem; border-radius: 50px;
}
.section-heading {
  font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; color: var(--dr-gray-900);
  margin: 0.6rem 0 0.4rem; letter-spacing: -0.02em;
}
.section-desc {
  color: var(--dr-gray-600); font-size: 0.9rem; max-width: 460px;
  margin: 0 auto; line-height: 1.6;
}

/* ============================================
   6. LANDING PAGE HERO
   ============================================ */
.hero-mobile {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; padding: 70px 0 90px;
}
.hero-mobile-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 45%, #0f3460 100%);
}
.hero-mobile-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(220,38,38,0.12), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(239,68,68,0.07), transparent 50%);
}
.hero-mobile-content { position: relative; z-index: 1; text-align: center; }
.hero-live-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
  font-size: 0.8rem; font-weight: 600; padding: 0.45rem 1.2rem;
  border-radius: 50px; margin-bottom: 1.25rem;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--dr-primary);
  animation: dr-dot-pulse 2s infinite;
}
@keyframes dr-dot-pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220,38,38,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(220,38,38,0); }
}
.hero-mobile-title {
  font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-quote-box {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--dr-radius-lg);
  padding: 1.25rem 1.25rem 0.75rem; margin-bottom: 1rem; position: relative;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-quote-icon { font-size: 1.8rem; color: rgba(220,38,38,0.5); display: block; margin-bottom: 0.25rem; }
.hero-quote-text { color: rgba(255,255,255,0.9); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.4rem; }
.hero-quote-src { color: rgba(255,255,255,0.55); font-size: 0.8rem; font-weight: 500; }
.hero-tagline { color: #FCA5A5; font-size: 1rem; margin-top: 0.75rem; }
.hero-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 2.5rem; font-size: 1.05rem; font-weight: 700;
  border-radius: 50px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
  transition: all var(--dr-transition); margin-top: 0.75rem; min-width: 220px;
}
.hero-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(220,38,38,0.5); color: #fff; }
.hero-cta-btn:active { transform: scale(0.97); }
.hero-full-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.25);
  color: #FCD34D; font-weight: 600; padding: 0.85rem 1.5rem;
  border-radius: 50px; font-size: 1rem;
}
.pulse-animation { animation: dr-pulse-cta 2.5s infinite; }
@keyframes dr-pulse-cta {
  0% { box-shadow: 0 4px 20px rgba(220,38,38,0.4), 0 0 0 0 rgba(220,38,38,0.5); }
  70% { box-shadow: 0 4px 20px rgba(220,38,38,0.4), 0 0 0 16px rgba(220,38,38,0); }
  100% { box-shadow: 0 4px 20px rgba(220,38,38,0.4), 0 0 0 0 rgba(220,38,38,0); }
}
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2;
}
.scroll-hint-text {
  font-size: 0.7rem; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.scroll-chevron {
  color: rgba(255,255,255,0.4); font-size: 1.2rem;
  animation: dr-bounce-down 1.5s infinite;
}
@keyframes dr-bounce-down {
  0%,100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(6px); opacity: 0.8; }
}
@media (max-width: 480px) {
  .hero-mobile { padding: 60px 0 80px; }
  .hero-cta-btn { width: 100%; min-width: auto; }
  .hero-quote-box { padding: 1rem 1rem 0.6rem; }
}

/* ============================================
   7. FEATURE CARDS (landing)
   ============================================ */
.features-mobile { padding: 3rem 0; background: var(--dr-white); }
.feature-cards { display: flex; flex-direction: column; gap: 1rem; }
.feature-card-mobile {
  display: flex; gap: 1rem; background: #fff; border-radius: var(--dr-radius-lg);
  padding: 1.25rem; border: 1px solid var(--dr-gray-200);
  transition: all var(--dr-transition); align-items: flex-start;
  box-shadow: var(--dr-shadow-sm);
}
.feature-card-mobile:active { transform: scale(0.98); border-color: var(--dr-primary-soft); }
.fc-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.fc-icon-red { background: linear-gradient(135deg, #FEF2F2, #FECACA); color: #DC2626; }
.fc-icon-pink { background: linear-gradient(135deg, #FFF1F2, #FFE4E6); color: #E11D48; }
.fc-icon-rose { background: linear-gradient(135deg, #FFF1F2, #FECACA); color: #DC2626; }
.fc-body h5 { font-size: 1rem; font-weight: 700; color: var(--dr-gray-900); margin-bottom: 0.25rem; }
.fc-body p { font-size: 0.85rem; color: var(--dr-gray-600); line-height: 1.55; margin: 0; }
@media (min-width: 768px) {
  .feature-cards { flex-direction: row; }
  .feature-card-mobile { flex-direction: column; text-align: center; align-items: center; flex: 1; padding: 1.75rem 1.5rem; }
  .fc-icon { width: 64px; height: 64px; font-size: 1.8rem; }
}

/* ============================================
   8. STATS CARDS (landing)
   ============================================ */
.stats-mobile {
  background: linear-gradient(160deg, var(--dr-primary), var(--dr-primary-dark) 50%, var(--dr-primary-darker) 100%);
  position: relative; overflow: hidden; padding: 2.5rem 0;
}
.stats-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; position: relative; z-index: 1; }
.stat-card-mobile {
  text-align: center; padding: 1.25rem 0.5rem; background: rgba(255,255,255,0.1);
  border-radius: var(--dr-radius-lg); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
}
.stat-icon-circle {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem;
}
.stat-value {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: #fff;
  line-height: 1.1; margin-bottom: 0.15rem;
}
.stat-value span { color: #FCA5A5; font-size: 0.6em; margin-left: 2px; }
.stat-label { color: rgba(255,255,255,0.8); font-size: 0.8rem; font-weight: 500; }
@media (min-width: 768px) {
  .stat-card-mobile { padding: 2rem 1rem; }
  .stat-icon-circle { width: 56px; height: 56px; font-size: 1.5rem; }
}

/* ============================================
   9. SCHEDULE CARD (landing)
   ============================================ */
.schedule-mobile { padding: 3rem 0 4rem; background: var(--dr-gray-50); }
.schedule-card-mobile {
  background: #fff; border-radius: var(--dr-radius-xl); overflow: hidden;
  box-shadow: var(--dr-shadow-sm); border: 1px solid var(--dr-gray-200);
  max-width: 640px; margin: 0 auto;
}
.schedule-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--dr-primary), #FCA5A5, var(--dr-primary));
}
.schedule-body { padding: 2rem 1.25rem; text-align: center; }
.schedule-icon-big {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--dr-primary-light), var(--dr-primary-soft));
  color: var(--dr-primary); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1rem;
}
.schedule-event-date {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 800; color: var(--dr-gray-900);
  margin-bottom: 1rem; letter-spacing: -0.01em;
}
.schedule-info-rows { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.schedule-info-row {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--dr-gray-600); font-size: 0.9rem;
}
.schedule-info-row i { color: var(--dr-primary); }
.schedule-msg { color: var(--dr-gray-600); font-size: 0.85rem; margin-bottom: 1.25rem; line-height: 1.6; }
.btn-daftar-sticky {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2.5rem; font-size: 1rem; font-weight: 700;
  border-radius: 50px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  box-shadow: 0 4px 14px rgba(220,38,38,0.3); transition: all var(--dr-transition);
}
.btn-daftar-sticky:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220,38,38,0.4); color: #fff; }
.btn-daftar-sticky:active { transform: scale(0.97); }
@media (min-width: 768px) { .schedule-body { padding: 2.5rem 2.5rem; } }

/* ============================================
   10. EMPTY STATES (shared)
   ============================================ */
.empty-state-mobile { text-align: center; padding: 2rem 1rem; }
.empty-icon-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--dr-primary-light); color: var(--dr-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1rem;
}
.empty-title { font-size: 1.05rem; font-weight: 700; color: var(--dr-gray-800); margin-bottom: 0.35rem; }
.empty-desc { color: var(--dr-gray-600); font-size: 0.85rem; }

/* ============================================
   11. MOBILE-FIRST FORM FIELDS (login, signup, register)
   ============================================ */
.mf-field { margin-bottom: 1.1rem; }
.mf-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--dr-gray-800); margin-bottom: 0.3rem; letter-spacing: -0.01em;
}
.mf-hint { display: block; font-size: 0.75rem; color: var(--dr-gray-600); margin-bottom: 0.4rem; }
.mf-input-wrap { position: relative; display: flex; align-items: center; }
.mf-input-icon {
  position: absolute; left: 14px; color: var(--dr-gray-500);
  font-size: 1.1rem; pointer-events: none; z-index: 1;
  transition: color var(--dr-transition);
}
.mf-input {
  width: 100%; min-height: 50px;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  font-size: 0.925rem; font-family: 'Inter', sans-serif; color: var(--dr-gray-900);
  background: var(--dr-gray-50); border: 1.5px solid var(--dr-gray-200);
  border-radius: var(--dr-radius-md); outline: none; transition: all var(--dr-transition);
}
.mf-input::placeholder { color: var(--dr-gray-500); }
.mf-input:focus {
  background: #fff; border-color: var(--dr-primary);
  box-shadow: 0 0 0 4px rgba(220,38,38,0.07);
}
.mf-input[readonly] { background: var(--dr-gray-100); cursor: not-allowed; color: var(--dr-gray-700); }
.mf-input-pr { padding-right: 3rem; }
.mf-select-wrap { position: relative; }
.mf-select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.mf-select-arrow { position: absolute; right: 14px; color: var(--dr-gray-500); font-size: 0.85rem; pointer-events: none; }
.mf-toggle-pw {
  position: absolute; right: 8px; background: none; border: none;
  color: var(--dr-gray-500); cursor: pointer; padding: 10px; border-radius: 8px;
  z-index: 2; font-size: 1.15rem; line-height: 1; min-height: 44px; min-width: 44px;
  transition: all var(--dr-transition);
}
.mf-toggle-pw:hover { color: var(--dr-primary); background: var(--dr-primary-light); }
.mf-row-between {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.5rem;
}
.mf-checkbox {
  display: flex; align-items: flex-start; gap: 0.6rem;
  cursor: pointer; min-height: 44px; padding: 0.25rem 0;
}
.mf-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.mf-checkbox-mark {
  width: 22px; height: 22px; border: 2px solid var(--dr-gray-300); border-radius: 6px;
  flex-shrink: 0; transition: all var(--dr-transition); background: #fff; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.mf-checkbox-mark::after {
  content: ''; width: 6px; height: 10px; border: solid #fff;
  border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}
.mf-checkbox input:checked ~ .mf-checkbox-mark {
  background: var(--dr-primary); border-color: var(--dr-primary);
}
.mf-checkbox input:checked ~ .mf-checkbox-mark::after { transform: rotate(45deg) scale(1); }
.mf-checkbox-text {
  font-size: 0.85rem; color: var(--dr-gray-700); line-height: 1.5;
}
.mf-checkbox-text a { color: var(--dr-primary); font-weight: 600; }
.mf-link { font-size: 0.85rem; font-weight: 600; color: var(--dr-primary); text-decoration: none; }
.mf-link:hover { text-decoration: underline; color: var(--dr-primary-dark); }
.mf-btn-primary {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.85rem 1.5rem; font-size: 1rem; font-weight: 700;
  font-family: 'Inter', sans-serif; color: #fff;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  border: none; border-radius: 50px; cursor: pointer;
  transition: all var(--dr-transition);
  box-shadow: 0 4px 14px rgba(220,38,38,0.3); width: 100%;
}
.mf-btn-primary:hover { box-shadow: 0 6px 20px rgba(220,38,38,0.4); transform: translateY(-1px); }
.mf-btn-primary:active { transform: scale(0.98); }
.mf-btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.mf-bottom-text { text-align: center; margin-top: 1.25rem; margin-bottom: 0.75rem; color: var(--dr-gray-600); font-size: 0.88rem; }
.mf-btn-help {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.5rem; font-size: 0.85rem; font-weight: 600;
  color: var(--dr-gray-700); background: var(--dr-gray-50);
  border: 1.5px solid var(--dr-gray-200); border-radius: var(--dr-radius-md);
  text-decoration: none; transition: all var(--dr-transition);
}
.mf-btn-help:hover { background: var(--dr-primary-light); border-color: var(--dr-primary-soft); color: var(--dr-primary); }
.radio-group { display: flex; gap: 0.75rem; }
.radio-card {
  flex: 1; min-height: 50px; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem; border: 1.5px solid var(--dr-gray-200);
  border-radius: var(--dr-radius-md); cursor: pointer; transition: all var(--dr-transition);
  background: var(--dr-gray-50);
}
.radio-card input { position: absolute; opacity: 0; }
.radio-card-mark {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--dr-gray-300);
  flex-shrink: 0; transition: all var(--dr-transition);
}
.radio-card input:checked ~ .radio-card-mark { border-color: var(--dr-primary); border-width: 6px; }
.radio-card input:checked ~ .radio-card-text { color: var(--dr-primary); font-weight: 600; }
.radio-card:has(input:checked) { border-color: var(--dr-primary-soft); background: var(--dr-primary-light); }
.radio-card-text { font-size: 0.9rem; font-weight: 500; color: var(--dr-gray-700); transition: all var(--dr-transition); }
@media (max-width: 480px) { .radio-group { flex-direction: column; } }

/* ============================================
   12. LOGIN PAGE
   ============================================ */
.login-mobile-wrapper {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 1rem 2rem; position: relative;
}
.login-bg-gradient {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #FEF2F2 0%, #FFF1F2 30%, #F9FAFB 70%, #FFF 100%);
}
.login-container { width: 100%; max-width: 400px; position: relative; z-index: 1; }
.login-header-section { text-align: center; margin-bottom: 1.75rem; }
.login-header-section::after {
  content: ''; display: block; width: 40px; height: 3px;
  border-radius: 2px; background: linear-gradient(90deg, var(--dr-primary), var(--dr-primary-soft));
  margin: 0.85rem auto 0;
}
.login-brand-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(220,38,38,0.3);
}
.login-heading { font-size: 1.4rem; font-weight: 800; color: var(--dr-gray-900); margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.login-sub { color: var(--dr-gray-600); font-size: 0.875rem; margin: 0 0 0.5rem; }
.login-service-badges { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.15rem; }
.login-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  color: var(--dr-primary); background: var(--dr-primary-light);
  padding: 0.2rem 0.6rem; border-radius: 50px;
  border: 1px solid var(--dr-primary-soft);
  letter-spacing: 0.01em;
}
.login-badge-sep { color: var(--dr-gray-400); font-size: 0.75rem; font-weight: 700; }
.login-form-card {
  background: #fff; border-radius: var(--dr-radius-xl);
  padding: 1.75rem; box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--dr-gray-200);
}
.login-security-note { text-align: center; font-size: 0.78rem; color: var(--dr-gray-600); margin-top: 0.75rem; }
.login-security-note i { color: #22C55E; }
@media (max-width: 480px) {
  .login-form-card { padding: 1.5rem 1.25rem; }
  .login-heading { font-size: 1.25rem; }
  .login-brand-circle { width: 48px; height: 48px; font-size: 1.3rem; }
}

/* ============================================
   13. SIGNUP PAGE
   ============================================ */
.signup-mobile-wrapper {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 1rem 2rem; position: relative;
}
.signup-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #FEF2F2 0%, #FFF1F2 30%, #F9FAFB 70%, #FFF 100%);
}
.signup-container { width: 100%; max-width: 440px; position: relative; z-index: 1; }
.signup-header-section { text-align: center; margin-bottom: 1.5rem; }
.signup-brand-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(220,38,38,0.3);
}
.signup-heading { font-size: 1.4rem; font-weight: 800; color: var(--dr-gray-900); margin-bottom: 0.2rem; letter-spacing: -0.02em; }
.signup-sub { color: var(--dr-gray-600); font-size: 0.875rem; margin: 0; }
.signup-form-card {
  background: #fff; border-radius: var(--dr-radius-xl);
  padding: 1.75rem; box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--dr-gray-200);
}
.signup-progress { margin-bottom: 1.25rem; }
.progress-steps { display: flex; align-items: center; justify-content: center; gap: 0; }
.progress-step {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 600; color: var(--dr-gray-500);
}
.step-dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--dr-gray-200);
  color: var(--dr-gray-600); display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; transition: all var(--dr-transition);
}
.progress-step.active .step-dot { background: var(--dr-primary); color: #fff; box-shadow: 0 2px 8px rgba(220,38,38,0.3); }
.progress-step.active { color: var(--dr-primary); }
.progress-line {
  width: 48px; height: 2px; background: var(--dr-gray-200);
  margin: 0 0.5rem 1.2rem; transition: background var(--dr-transition);
}
@media (max-width: 480px) {
  .signup-form-card { padding: 1.5rem 1.25rem; }
  .signup-heading { font-size: 1.25rem; }
  .signup-brand-circle { width: 48px; height: 48px; font-size: 1.3rem; }
}

/* ============================================
   14. REGISTRATION WIZARD PAGE
   ============================================ */
.register-mobile-wrapper { padding: 75px 0 120px; position: relative; min-height: 100vh; }
.register-mobile-wrapper .container { position: relative; z-index: 1; max-width: 600px; }
.register-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #FEF2F2 0%, #F9FAFB 30%, #FFF 100%);
  pointer-events: none;
}
.register-header { text-align: center; margin-bottom: 1rem; }
.register-title {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 800; color: var(--dr-gray-900);
  letter-spacing: -0.02em; margin-bottom: 0.15rem;
}
.register-subtitle { color: var(--dr-primary); font-weight: 600; font-size: 0.9rem; }
.register-event-info { text-align: center; color: var(--dr-gray-600); font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.5; }
.alert-card {
  padding: 0.85rem 1rem; border-radius: var(--dr-radius-md); font-size: 0.88rem;
  display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 1rem;
}
.alert-warn { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.nasihat-accordion { margin-bottom: 1.5rem; }
.nasihat-toggle {
  width: 100%; min-height: 48px; padding: 0.75rem 1rem; border: none;
  border-radius: var(--dr-radius-md); background: #FFF7ED; color: var(--dr-gray-800);
  font-weight: 600; font-size: 0.9rem; display: flex; align-items: center;
  cursor: pointer; text-align: left; transition: all var(--dr-transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nasihat-toggle:hover { background: #FFF1F2; }
.nasihat-chevron { transition: transform 0.3s ease; }
.nasihat-toggle[aria-expanded="true"] .nasihat-chevron { transform: rotate(180deg); }
.nasihat-body {
  padding: 1rem 1.25rem; background: #fff; border-radius: 0 0 var(--dr-radius-md) var(--dr-radius-md);
  color: var(--dr-gray-700); font-size: 0.85rem; line-height: 1.7;
  border: 1px solid var(--dr-gray-200); border-top: none;
}
.nasihat-body p { margin-bottom: 0.5rem; }
.wizard-progress { margin-bottom: 1.5rem; }
.wizard-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 0.6rem; }
.wizard-step {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.7rem; font-weight: 600; color: var(--dr-gray-500);
  transition: all var(--dr-transition);
}
.wizard-step.active { color: var(--dr-primary); }
.wizard-step.done { color: #16A34A; }
.wizard-dot {
  width: 38px; height: 38px; border-radius: 50%; background: var(--dr-gray-200);
  color: var(--dr-gray-600); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all var(--dr-transition); border: 2px solid transparent;
}
.wizard-step.active .wizard-dot { background: var(--dr-primary); color: #fff; box-shadow: 0 2px 10px rgba(220,38,38,0.3); }
.wizard-step.done .wizard-dot { background: #DCFCE7; color: #16A34A; border-color: #16A34A; }
.wizard-line {
  width: 48px; height: 2px; background: var(--dr-gray-200);
  margin: 0 0.5rem 1.1rem; transition: background var(--dr-transition);
}
.wizard-line.done { background: #16A34A; }
.wizard-progress-bar { height: 4px; background: var(--dr-gray-200); border-radius: 2px; overflow: hidden; }
.wizard-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--dr-primary), #FCA5A5);
  border-radius: 2px; transition: width 0.4s ease;
}
.wizard-panel { display: none; animation: dr-fadeSlideIn 0.35s ease; }
.wizard-panel.active { display: block; }
@keyframes dr-fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.wizard-card {
  background: #fff; border-radius: var(--dr-radius-xl); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid var(--dr-gray-200);
}
.wizard-card-header {
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  color: #fff; font-weight: 700; font-size: 1rem; display: flex; align-items: center;
}
.wizard-card-body { padding: 1.25rem; }
.info-callout {
  padding: 0.65rem 1rem; background: #EFF6FF; border-radius: var(--dr-radius-md);
  font-size: 0.83rem; color: #1E40AF; border: 1px solid #DBEAFE;
  display: flex; align-items: center;
}
.summary-box {
  background: var(--dr-gray-50); border-radius: var(--dr-radius-md);
  padding: 1rem; border: 1px solid var(--dr-gray-200);
}
.summary-title { font-size: 0.9rem; font-weight: 700; color: var(--dr-gray-800); margin-bottom: 0.6rem; }
.summary-rows { display: flex; flex-direction: column; gap: 0.4rem; }
.summary-row {
  display: flex; justify-content: space-between; font-size: 0.85rem;
  color: var(--dr-gray-600); padding: 0.4rem 0; border-bottom: 1px solid var(--dr-gray-200);
}
.summary-row:last-child { border-bottom: none; }
.summary-row strong { color: var(--dr-gray-900); }
.wizard-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1020;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.96); backdrop-filter: blur(16px);
  border-top: 1px solid var(--dr-gray-200);
  display: flex; gap: 0.75rem; align-items: center;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
}
.wizard-btn-back, .wizard-btn-next, .wizard-btn-submit {
  min-height: 50px; padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 700;
  font-family: 'Inter', sans-serif; border-radius: 50px; cursor: pointer;
  transition: all var(--dr-transition); display: flex; align-items: center;
  justify-content: center; border: none; white-space: nowrap;
}
.wizard-btn-back { background: var(--dr-gray-100); color: var(--dr-gray-700); flex-shrink: 0; }
.wizard-btn-back:hover { background: var(--dr-gray-200); }
.wizard-btn-back:active { transform: scale(0.96); }
.wizard-btn-next {
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  color: #fff; flex: 1; box-shadow: 0 4px 14px rgba(220,38,38,0.3);
}
.wizard-btn-next:hover { box-shadow: 0 6px 20px rgba(220,38,38,0.4); }
.wizard-btn-next:active { transform: scale(0.97); }
.wizard-btn-submit {
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  color: #fff; flex: 1; box-shadow: 0 4px 14px rgba(220,38,38,0.3);
}
.wizard-btn-submit:hover { box-shadow: 0 6px 20px rgba(220,38,38,0.4); }
.wizard-btn-submit:active { transform: scale(0.97); }
.wizard-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
@media (min-width: 768px) {
  .wizard-nav {
    position: sticky; bottom: auto; margin-top: 1.5rem;
    background: transparent; backdrop-filter: none; border: none;
    box-shadow: none; padding: 0;
  }
  .register-mobile-wrapper { padding-bottom: 2rem; }
}
@media (max-width: 480px) { .wizard-card-body { padding: 1rem; } }

/* ============================================
   15. PROFILE PAGE
   ============================================ */
.profile-mobile-wrapper { padding: 75px 0 100px; position: relative; min-height: 100vh; }
.profile-mobile-wrapper .container { position: relative; z-index: 1; max-width: 640px; }
.profile-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #FEF2F2 0%, #F9FAFB 40%, #FFF 100%);
  pointer-events: none;
}
.alert-success-card {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1rem;
  background: #DCFCE7; color: #166534; border-radius: var(--dr-radius-md);
  font-size: 0.88rem; margin-bottom: 1rem; border: 1px solid #BBF7D0;
}
.profile-header-card {
  display: flex; align-items: center; gap: 1rem; background: #fff;
  border-radius: var(--dr-radius-xl); padding: 1.5rem; margin-bottom: 1.25rem;
  box-shadow: var(--dr-shadow-sm); border: 1px solid var(--dr-gray-200);
}
.ph-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--dr-primary), #FCA5A5); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(220,38,38,0.25);
}
.ph-info { flex: 1; min-width: 0; }
.ph-name { font-size: 1.2rem; font-weight: 800; color: var(--dr-gray-900); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.ph-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ph-badge {
  display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem;
  font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 50px;
}
.ph-badge-verified { background: #ECFDF5; color: #059669; }
.ph-badge-blood { background: var(--dr-primary-light); color: var(--dr-primary); }
.ph-badge-city { background: #F3F4F6; color: var(--dr-gray-700); }
.ph-status-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 0.6rem; padding: 0.35rem 0.9rem;
  border-radius: 50px; font-size: 0.78rem; font-weight: 700;
  color: var(--ph-st-color); background: var(--ph-st-bg);
}
.ph-status-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ph-st-color); color: #fff; font-size: 0.7rem;
}
.profile-cards-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .profile-cards-grid { grid-template-columns: 1fr 1fr; } }
.profile-info-card {
  background: #fff; border-radius: var(--dr-radius-xl); overflow: hidden;
  box-shadow: var(--dr-shadow-sm); border: 1px solid var(--dr-gray-200);
}
.pic-header {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--dr-gray-100);
}
.pic-header h5 { font-size: 0.95rem; font-weight: 700; color: var(--dr-gray-900); margin: 0; }
.pic-header-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--dr-primary-light); color: var(--dr-primary);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.pic-body { padding: 0.75rem 1.25rem; }
.pic-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--dr-gray-50); gap: 0.75rem;
}
.pic-row:last-child { border-bottom: none; }
.pic-label { font-size: 0.8rem; color: var(--dr-gray-600); font-weight: 500; flex-shrink: 0; }
.pic-value { font-size: 0.88rem; font-weight: 600; color: var(--dr-gray-900); text-align: right; word-break: break-word; }
.blood-type-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--dr-primary-light);
  color: var(--dr-primary); font-weight: 800; font-size: 0.85rem;
}
.status-chip { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; }
.status-success { background: #DCFCE7; color: #166534; }
.status-warning { background: #FEF3C7; color: #92400E; }
.timeline-card {
  background: #fff; border-radius: var(--dr-radius-xl); overflow: hidden;
  box-shadow: var(--dr-shadow-sm); border: 1px solid var(--dr-gray-200);
}
.timeline-body { padding: 1rem 1.25rem 1.25rem; }
.timeline-item { display: flex; gap: 1rem; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: 6px; top: 18px; bottom: -12px;
  width: 2px; background: var(--dr-gray-200);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--dr-gray-200);
  flex-shrink: 0; margin-top: 4px; position: relative; z-index: 1;
}
.timeline-dot.done { background: #16A34A; box-shadow: 0 0 0 4px #DCFCE7; }
.timeline-content { padding-bottom: 1rem; }
.timeline-date { font-size: 0.85rem; font-weight: 700; color: var(--dr-gray-900); margin-bottom: 0.15rem; }
.timeline-desc { font-size: 0.8rem; color: var(--dr-gray-600); }
.empty-donor-card {
  text-align: center; padding: 2.5rem 1.5rem; background: #fff;
  border-radius: var(--dr-radius-xl); box-shadow: var(--dr-shadow-sm);
  border: 1px solid var(--dr-gray-200);
}
.empty-icon-lg {
  width: 72px; height: 72px; border-radius: 50%; background: var(--dr-primary-light);
  color: var(--dr-primary); display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1rem;
}
.btn-outline-red {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.65rem 1.8rem; font-size: 0.9rem; font-weight: 700;
  color: var(--dr-primary); background: #fff; border: 2px solid var(--dr-primary);
  border-radius: 50px; text-decoration: none; transition: all var(--dr-transition);
}
.btn-outline-red:hover { background: var(--dr-primary); color: #fff; }
.btn-outline-red:active { transform: scale(0.97); }
.btn-outline-red--muted {
  color: var(--dr-gray-600); border-color: var(--dr-gray-400);
}
.btn-outline-red--muted:hover { background: var(--dr-gray-100); color: var(--dr-gray-800); border-color: var(--dr-gray-500); }
.profile-actions .profile-action-btn {
  flex: 1 1 auto; min-width: 180px;
}
@media (max-width: 576px) {
  .profile-actions {
    flex-direction: column;
  }
  .profile-actions .profile-action-btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .profile-header-card { padding: 1.25rem; }
  .ph-avatar { width: 52px; height: 52px; font-size: 1.2rem; }
  .ph-name { font-size: 1.05rem; }
}

/* ============================================
   16. SKELETON LOADING
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%; animation: dr-shimmer 1.5s infinite; border-radius: 8px;
}
@keyframes dr-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   17. SITE FOOTER
   ============================================ */
.site-footer {
  background: #111827; padding: 1.5rem 0;
  border-top: 3px solid var(--dr-primary);
}
.footer-content {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--dr-primary), var(--dr-primary-dark));
  color: #fff; display: inline-flex; align-items: center;
  justify-content: center; font-size: 0.9rem;
}
.footer-text { color: #fff; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; }
.footer-copy { color: #9CA3AF; margin: 0; font-size: 0.875rem; font-weight: 400; }
@media (max-width: 576px) {
  .footer-content { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ============================================
   18. DOWNLOAD PAGE — Mobile-First PIN + Filter
   ============================================ */
.download-mobile-wrapper {
  position: relative;
  min-height: calc(100vh - var(--dr-top-nav-h));
  padding: 2rem 1rem calc(var(--dr-bottom-nav-h) + 2rem);
  overflow: hidden;
}
.download-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.9rem;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}
.download-dev-badge i { font-size: 0.9rem; }
.download-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(220,38,38,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--dr-gray-50) 0%, #FFFFFF 100%);
  z-index: 0;
}
.download-container {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
}
.download-header-section { text-align: center; margin-bottom: 1.5rem; }
.download-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dr-primary) 0%, var(--dr-primary-dark) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(220,38,38,0.30);
}
.download-icon-circle--danger {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: 0 8px 24px rgba(217,119,6,0.30);
}
.download-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dr-gray-900);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.download-sub {
  color: var(--dr-gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 auto 1rem;
  max-width: 380px;
}
.download-sub strong { color: var(--dr-gray-900); }
.download-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 1rem;
  background: rgba(220,38,38,0.08);
  color: var(--dr-primary-dark);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.download-countdown i { font-size: 0.95rem; }
.download-countdown strong { font-variant-numeric: tabular-nums; font-weight: 800; }

/* Form Card */
.download-form-card {
  background: #fff;
  border-radius: var(--dr-radius-2xl);
  box-shadow: var(--dr-shadow-lg);
  border: 1px solid var(--dr-gray-200);
  padding: 1.5rem;
  margin-top: 0.5rem;
}
.download-form-card--info { padding: 1.25rem; }

/* Alerts */
.download-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--dr-radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.download-alert i { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.download-alert-danger {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.download-alert-danger i { color: #DC2626; }

/* PIN input (large, centered) */
.pin-input {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.6rem !important;
  text-align: center;
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  padding: 1rem 1rem 1rem 2.75rem !important;
}

/* Filter Grid */
.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
@media (min-width: 480px) {
  .filter-grid { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
}
.filter-option {
  display: block;
  cursor: pointer;
  position: relative;
}
.filter-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.filter-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.9rem 0.6rem;
  background: var(--dr-gray-50);
  border: 2px solid var(--dr-gray-200);
  border-radius: var(--dr-radius-lg);
  transition: all 0.2s ease;
  min-height: 110px;
  justify-content: center;
}
.filter-option:hover .filter-option-card {
  border-color: var(--dr-primary-soft);
  background: var(--dr-primary-light);
}
.filter-option input:checked ~ .filter-option-card {
  border-color: var(--dr-primary);
  background: var(--dr-primary-light);
  box-shadow: 0 4px 14px rgba(220,38,38,0.20);
  transform: translateY(-1px);
}
.filter-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.filter-icon-all      { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.filter-icon-approved { background: linear-gradient(135deg, #10B981, #047857); }
.filter-icon-notyet   { background: linear-gradient(135deg, #F59E0B, #D97706); }
.filter-option-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dr-gray-900);
  line-height: 1.2;
}
.filter-option-desc {
  font-size: 0.7rem;
  color: var(--dr-gray-600);
  margin-top: 0.15rem;
  line-height: 1.2;
}

/* Submit button */
.download-submit-btn {
  width: 100%;
  margin-top: 1.25rem;
  min-height: 52px;
  font-size: 0.95rem;
}
.download-security-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--dr-gray-600);
  margin: 1rem 0 0;
  line-height: 1.5;
}

/* Info rows (expired page) */
.download-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--dr-gray-100);
  font-size: 0.85rem;
  color: var(--dr-gray-700);
  line-height: 1.5;
}
.download-info-row:last-of-type { border-bottom: none; }
.download-info-row code {
  background: var(--dr-gray-100);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--dr-primary-dark);
  font-weight: 600;
}
.download-info-row i { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ============================================
   SIDEBAR SUBMENU — active-state icon color
   Overrides default admin theme so that the icon
   inherits the active-state color (instead of staying
   gray/red as set by .text-secondary / .text-danger).
   ============================================ */
.admin-sidebar .sidebar-submenu li a.submenu-link.active {
  color: var(--dr-primary) !important;
}
.admin-sidebar .sidebar-submenu li a.submenu-link.active i,
.admin-sidebar .sidebar-submenu li a.submenu-link.active svg {
  color: var(--dr-primary) !important;
}
/* Hover state — subtle hint */
.admin-sidebar .sidebar-submenu li a.submenu-link:hover i,
.admin-sidebar .sidebar-submenu li a.submenu-link:hover svg {
  color: var(--dr-primary) !important;
  transition: color 0.15s ease;
}

