/* ==========================================================
 * WA BLAST PRO V2 - ULTRA MODERN & MOBILE-FIRST DESIGN SYSTEM
 * Pasanganpjok.com Versi 1.0 (2026 Edition)
 * ========================================================== */

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

:root {
  /* Primary Vibrant Blue Palette */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;
  
  /* Accent Modern Gradients */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-rose: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  --grad-dark: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
  --grad-banner: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0284c7 100%);

  /* Neutrals & Surfaces */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-sidebar: #0f172a;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-dark: rgba(15, 23, 42, 0.75);

  /* Text Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-focus: #93c5fd;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.12), 0 8px 12px -6px rgba(15, 23, 42, 0.06);
  --shadow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.28);
  --shadow-popup: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;
}

/* Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Polished Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================
 * LAYOUT ARCHITECTURE
 * ========================================================== */
.app-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

/* Sidebar Navigation */
.app-sidebar {
  width: 280px;
  background: var(--grad-dark);
  color: #ffffff;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

.sidebar-header {
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.6);
  color: #93c5fd;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Sidebar Close Button (Strictly Hidden on Desktop, Sleek on Mobile) */
.sidebar-close-btn {
  display: none !important;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.sidebar-close-btn:hover {
  background: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.sidebar-menu {
  padding: 1rem 0.75rem;
  flex-grow: 1;
  overflow-y: auto;
}

.menu-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 0.75rem 0.75rem 0.4rem;
  margin-top: 0.5rem;
}

.nav-item {
  margin-bottom: 4px;
}

.nav-link-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-link-custom i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.nav-link-custom:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(3px);
}

.nav-link-custom:hover i {
  color: #38bdf8;
}

.nav-link-custom.active {
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.nav-link-custom.active i {
  color: #ffffff;
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
}

/* Main Content Area */
.app-main {
  flex-grow: 1;
  margin-left: 280px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--bg-main);
}

/* Top App Header */
.app-header {
  height: 68px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: var(--shadow-xs);
}

.content-body {
  padding: 1.5rem 2rem 5rem;
  flex-grow: 1;
}

/* Header Banner */
.header-blue-banner {
  background: var(--grad-banner);
  color: white;
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}

.header-blue-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Backdrop */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1040;
  transition: opacity 0.3s ease;
}

/* ==========================================================
 * MODERN CARDS, STATS & WIDGETS
 * ========================================================== */
.card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.card-modern:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-header-modern {
  padding: 1.2rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.card-title-modern {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stat Cards */
.stat-card-blue {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xs);
  height: 100%;
}

.stat-card-blue:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--primary);
}

.stat-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================
 * MODERN BUTTONS & CONTROLS
 * ========================================================== */
.btn {
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  min-height: 34px;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  min-height: 48px;
}

.btn-primary-blue {
  background: var(--grad-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-primary-blue:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-cyan {
  background: var(--grad-cyan);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  color: white;
  transform: translateY(-1px);
}

.btn-emerald {
  background: var(--grad-emerald);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  transform: translateY(-1px);
}

.btn-tag {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: auto;
}

.btn-tag:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Touch-Friendly Form Inputs */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  padding: 0.6rem 0.95rem;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15);
  background-color: #ffffff;
}

.input-group-text {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background-color: #f8fafc;
  color: var(--text-muted);
}

/* Password Toggle Btn */
.password-toggle-btn {
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-left: none;
  color: #64748b;
  padding: 0 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.password-toggle-btn:hover {
  color: var(--primary);
  background-color: #eff6ff;
}

/* Badges */
.badge {
  font-weight: 600;
  padding: 0.4em 0.85em;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
}
.badge-green {
  background: #d1fae5;
  color: #065f46;
}
.badge-amber {
  background: #fef3c7;
  color: #92400e;
}
.badge-red {
  background: #ffe4e6;
  color: #9f1239;
}

/* ==========================================================
 * 🌟 OVERHAUL TOTAL: POP-UP, MODAL & SWEETALERT2
 * ========================================================== */

/* Bootstrap Modal Glassmorphism Overhaul */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-dialog {
  margin: 1.75rem auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.fade .modal-dialog {
  transform: scale(0.92) translateY(20px);
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-content {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-popup);
  overflow: hidden;
  background: #ffffff;
}

.modal-header {
  background: var(--grad-primary);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header .modal-title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
  padding: 0.65rem;
}

.modal-header .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.15);
}

.modal-body {
  padding: 1.75rem;
  color: var(--text-body);
}

.modal-footer {
  padding: 1.2rem 1.75rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* SweetAlert2 Ultra Modern Theme Overhaul */
.swal2-container {
  z-index: 2000 !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  background: rgba(15, 23, 42, 0.6) !important;
}

.swal2-popup {
  border-radius: var(--radius-lg) !important;
  padding: 2rem 1.75rem !important;
  box-shadow: var(--shadow-popup) !important;
  border: 1px solid var(--border-color) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.swal2-popup.swal2-show {
  animation: swalScaleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes swalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.swal2-title {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  letter-spacing: -0.4px !important;
  padding-top: 0.5rem !important;
}

.swal2-html-container {
  font-size: 0.95rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
}

.swal2-actions {
  gap: 12px !important;
  margin-top: 1.5rem !important;
}

.swal2-confirm {
  background: var(--grad-primary) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
  border-radius: var(--radius-full) !important;
  padding: 0.65rem 1.75rem !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
}

.swal2-confirm:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5) !important;
}

.swal2-cancel {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-radius: var(--radius-full) !important;
  padding: 0.65rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  border: 1px solid #cbd5e1 !important;
}

.swal2-cancel:hover {
  background: #e2e8f0 !important;
  color: #1e293b !important;
}

.swal2-icon {
  transform: scale(1.1) !important;
  margin: 1.25rem auto 0.5rem !important;
  border-width: 3px !important;
}

/* ==========================================================
 * RESPONSIVE DATA TABLES
 * ========================================================== */
.table-responsive {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.table-custom {
  margin-bottom: 0;
  width: 100%;
  border-collapse: collapse;
}

.table-custom th {
  background-color: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.1rem;
  border-bottom: 1.5px solid var(--border-color);
  white-space: nowrap;
}

.table-custom td {
  padding: 1rem 1.1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
}

.table-custom tbody tr {
  transition: background-color 0.15s ease;
}

.table-custom tbody tr:hover {
  background-color: #f8fafc;
}

/* ==========================================================
 * WHATSAPP SIMULATOR MOBILE ENHANCEMENTS
 * ========================================================== */
.wa-simulator {
  width: 100%;
  max-width: 380px;
  background: #efeae2;
  border-radius: 28px;
  border: 10px solid #1e293b;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
  position: relative;
}

.wa-sim-header {
  background: #075e54;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-sim-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.wa-sim-body {
  padding: 16px;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-bubble-incoming {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 0 14px 14px 14px;
  max-width: 86%;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.wa-bubble-outgoing {
  background: #dcf8c6;
  padding: 10px 14px;
  border-radius: 14px 0 14px 14px;
  max-width: 86%;
  align-self: flex-end;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.wa-bubble-time {
  font-size: 0.68rem;
  color: #64748b;
  text-align: right;
  margin-top: 4px;
}

/* ==========================================================
 * 📱 MOBILE BOTTOM NAVIGATION BAR (FIXED BOTTOM DOCK)
 * ========================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1030;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: #64748b;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 3px;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-nav-item i {
  font-size: 1.25rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

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

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

.mobile-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
}

/* Center Highlighted Action (Quick Blast on Mobile) */
.mobile-nav-item.mobile-nav-highlight {
  position: relative;
}

.mobile-nav-item.mobile-nav-highlight .highlight-circle {
  width: 46px;
  height: 46px;
  background: var(--grad-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-top: -18px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
  border: 3px solid #ffffff;
  transition: transform 0.2s ease;
}

.mobile-nav-item.mobile-nav-highlight:hover .highlight-circle {
  transform: scale(1.08);
}

/* ==========================================================
 * 📱 MEDIA QUERIES & MOBILE OPTIMIZATION
 * ========================================================== */
@media (max-width: 1024px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.show {
    transform: translateX(0);
  }
  .sidebar-close-btn {
    display: inline-flex !important;
  }
  .app-main {
    margin-left: 0;
  }
  .sidebar-backdrop.show {
    display: block;
  }
  .app-header {
    padding: 0 1.25rem;
  }
  .content-body {
    padding: 1.25rem 1.25rem 5.5rem;
  }
  .mobile-bottom-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-blue-banner {
    padding: 1.25rem 1.25rem;
    border-radius: var(--radius-md);
  }
  .header-blue-banner h3 {
    font-size: 1.3rem !important;
  }
  .stat-card-blue {
    padding: 1rem 1.15rem;
  }
  .card-header-modern {
    padding: 1rem 1.15rem;
  }
  .btn-mobile-full {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Modern Mobile Bottom Sheet Modals on Smart Phones */
  .modal-dialog {
    margin: 0.75rem;
    max-width: 100%;
  }
  
  .modal-content {
    border-radius: var(--radius-md);
  }
  
  .modal-header {
    padding: 1rem 1.25rem;
  }
  
  .modal-body {
    padding: 1.25rem;
  }
  
  .modal-footer {
    padding: 1rem 1.25rem;
    flex-direction: column-reverse;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .content-body {
    padding: 0.85rem 0.85rem 5.5rem;
  }
  .card-modern {
    border-radius: var(--radius-sm);
  }
  .form-control, .form-select {
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }
  .swal2-popup {
    padding: 1.5rem 1.25rem !important;
    width: 92% !important;
  }
}
