/* ==========================================================
   PPDB ONLINE - STYLESHEET DESIGN SYSTEM
   Modern, Clean, Glassmorphic & High Precision Layout
   ========================================================== */

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  --secondary: #06b6d4;
  --accent: #10b981;
  
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --card-bg: rgba(255, 255, 255, 0.96);
  --card-dark: #1e293b;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-focus: #6366f1;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --info: #3b82f6;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.35);

  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background: #f8fafc;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background subtle ambient mesh */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background: radial-gradient(circle at 50% -10%, rgba(99, 102, 241, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 0.85rem 1.5rem;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f172a;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.admin-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

/* Hero Section */
.hero-section {
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 1.8s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.3);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.highlight-text strong {
  display: block;
  font-size: 0.95rem;
  color: #1e293b;
}

.highlight-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Flow Section */
.flow-section {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.35rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step-card {
  position: relative;
  background: #ffffff;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.step-number {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.4);
}

.step-icon {
  font-size: 2.25rem;
  margin-bottom: 0.85rem;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form Container */
.main-container {
  max-width: 900px;
  margin: 1rem auto 4rem;
  padding: 0 1.5rem;
  width: 100%;
}

.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
  padding: 2.5rem 2.5rem;
  color: #ffffff;
  position: relative;
}

.form-header-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.form-instruction {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 0.5rem;
}

.required-mark {
  color: #f87171;
  font-weight: 800;
}

/* Form Body */
.ppdb-form {
  padding: 2.5rem;
}

.form-group-section {
  border: none;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f1f5f9;
}

.form-group-section:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
}

.section-legend {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.legend-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #e0e7ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.span-2 {
  grid-column: span 2;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e293b;
  background-color: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.15);
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
}

.phone-prefix {
  padding: 0.75rem 0.85rem;
  background: #f1f5f9;
  border: 1.5px solid var(--border-color);
  border-right: none;
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
  font-weight: 700;
  color: #475569;
  font-size: 0.95rem;
}

.phone-input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-hint {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.error-msg {
  font-size: 0.775rem;
  color: var(--danger);
  font-weight: 600;
  margin-top: 0.35rem;
  display: none;
}

.error-msg.visible {
  display: block;
}

.notif-tip {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: var(--radius-sm);
  color: #0e7490;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/* File Upload Box */
.file-upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

.file-upload-box:hover {
  border-color: var(--primary);
  background: #eef2ff;
}

.upload-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.25rem;
}

.upload-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-preview {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

/* Checkbox & Consent */
.consent-group {
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #94a3b8;
  border-radius: 4px;
  background-color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s;
  position: relative;
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.5;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 1.15rem;
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.5);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Modal Styles */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-lg {
  max-width: 780px;
}

.modal-icon-success {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
}

.modal-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.receipt-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.9rem;
}

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

.receipt-label {
  color: var(--text-muted);
}

.receipt-value {
  font-weight: 600;
  color: #1e293b;
}

.reg-number {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 800;
}

/* Status Badges */
.badge-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-status.pending {
  background: #fef3c7;
  color: #b45309;
}

.badge-status.scheduled {
  background: #ede9fe;
  color: #6d28d9;
}

.badge-status.passed {
  background: #d1fae5;
  color: #065f46;
}

.badge-status.rejected {
  background: #fee2e2;
  color: #991b1b;
}

/* Live Notif Simulation */
.live-notif-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.live-notif-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #38bdf8;
  margin-bottom: 0.85rem;
}

.notif-bubble {
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  font-size: 0.825rem;
}

.notif-bubble:last-child {
  margin-bottom: 0;
}

.wa-bubble {
  background: #064e3b;
  border-left: 3px solid #10b981;
}

.admin-bubble {
  background: #1e1b4b;
  border-left: 3px solid #6366f1;
}

.bubble-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.bubble-header small {
  color: #94a3b8;
  font-weight: 400;
}

.modal-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: #e2e8f0;
  color: #334155;
}

.btn-secondary:hover {
  background: #cbd5e1;
}

/* Footer */
.footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer p {
  font-size: 0.875rem;
  color: #475569;
}

.footer-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ==========================================================
   ADMIN PANEL SPECIFIC STYLES
   ========================================================== */
.admin-body {
  background: #f1f5f9;
}

.admin-navbar {
  background: #0f172a;
  color: #ffffff;
  border-bottom: 1px solid #1e293b;
}

.admin-icon-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.admin-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #34d399;
  font-weight: 600;
}

.admin-container {
  max-width: 1280px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.stat-icon-wrapper.blue { background: #dbeafe; }
.stat-icon-wrapper.orange { background: #ffedd5; }
.stat-icon-wrapper.purple { background: #f3e8ff; }
.stat-icon-wrapper.green { background: #dcfce7; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.stat-title {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
}

/* Table Controls */
.table-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.table-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  gap: 0.5rem;
  flex: 1;
  min-width: 280px;
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-select {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  font-weight: 600;
}

.btn-refresh, .btn-dummy {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-refresh {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: #334155;
}

.btn-dummy {
  background: #4f46e5;
  color: #fff;
}

/* Table Card */
.table-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.data-table th {
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap !important;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  white-space: nowrap !important;
  line-height: 1.35;
}

.data-table tr:hover td {
  background-color: #f8fafc;
}

.data-table.single-line-table th,
.data-table.single-line-table td {
  white-space: nowrap !important;
}

/* Single line cell helpers */
.cell-single-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.badge-reg-single {
  font-family: 'Outfit', monospace, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-nisn-mini {
  font-size: 0.72rem;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}

.contact-phone-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-phone-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Status Select Inline (Admin Quick Change) */
.status-select-inline {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  border: 1.5px solid transparent;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-block;
  appearance: auto;
}

.status-select-inline:hover {
  filter: brightness(0.96);
}

.status-select-inline.status-mendaftar {
  background-color: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

.status-select-inline.status-menunggu {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #fcd34d;
}

.status-select-inline.status-dijadwalkan {
  background-color: #e0e7ff;
  color: #3730a3;
  border-color: #a5b4fc;
}

.status-select-inline.status-lulus {
  background-color: #d1fae5;
  color: #065f46;
  border-color: #6ee7b7;
}

.status-select-inline.status-tidak_lulus {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

.btn-group-single-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.btn-action-mini {
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-action-mini.btn-action-edit {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.btn-action-mini.btn-action-edit:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-action-mini.btn-action-schedule {
  background: #4f46e5;
  color: #ffffff;
}

.btn-action-mini.btn-action-schedule:hover {
  background: #4338ca;
}

.btn-action-mini.btn-action-delete {
  background: #fee2e2;
  color: #b91c1c;
}

.btn-action-mini.btn-action-delete:hover {
  background: #fca5a5;
}

.btn-action-mini.btn-action-graduate {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
}

.btn-action-mini.btn-action-graduate:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.btn-action-mini.btn-action-bukti {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  text-decoration: none;
}

.btn-action-mini.btn-action-bukti:hover {
  background: #dcfce7;
}

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

/* Applicant Summary Box in Modal */
.applicant-summary-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.modal-header-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.btn-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.btn-close:hover {
  color: #0f172a;
}

.badge-pill-sm {
  font-size: 0.75rem;
  background: #ede9fe;
  color: #6d28d9;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.email-highlight {
  color: #2563eb;
  font-weight: 600;
}

.preview-broadcast-box {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-size: 0.85rem;
}

.preview-broadcast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.badge-status-auto {
  background: #0284c7;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--accent);
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .applicant-summary-box { grid-template-columns: 1fr; }
  .ppdb-form { padding: 1.5rem; }
  .form-header { padding: 2rem 1.5rem; }
  .admin-wa-grid { grid-template-columns: 1fr !important; }
  .admin-wa-header { flex-direction: column; align-items: flex-start !important; gap: 1rem; }
}

/* ==========================================================
   WHATSAPP GROUP JOIN CARD (IN SUCCESS MODAL)
   ========================================================== */
.wa-group-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 12px 30px -8px rgba(5, 150, 105, 0.35);
  position: relative;
  overflow: hidden;
}

.wa-group-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.wa-group-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #a7f3d0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.wa-group-header-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.wa-group-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.wa-group-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.wa-group-desc {
  font-size: 0.875rem;
  color: #d1fae5;
  margin-top: 0.35rem;
  line-height: 1.5;
}

.wa-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.wa-feature-pill {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0fdf4;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.btn-join-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.btn-join-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.pulse-wa-btn {
  animation: waBtnGlow 2.5s infinite;
}

@keyframes waBtnGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================
   ADMIN WHATSAPP & BOT CONTROL CENTER STYLES
   ========================================================== */
.admin-wa-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.admin-wa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.admin-wa-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-wa-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #dcfce7;
  color: #059669;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-wa-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.admin-wa-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.admin-wa-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-wa-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #475569;
}

.badge-wa-status.connected {
  background: #dcfce7;
  color: #065f46;
}

.badge-wa-status.qr-ready {
  background: #fef3c7;
  color: #92400e;
}

.btn-wa-action {
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn-wa-action:hover {
  background: #1e293b;
}

.admin-wa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.admin-wa-subcard {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
}

.subcard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.925rem;
  color: #1e293b;
}

.subcard-text {
  font-size: 0.825rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.admin-number-row, .group-link-row, .faq-btn-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.admin-number-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  flex-grow: 1;
}

.btn-test-wa, .btn-open-group, .btn-view-faq, .btn-open-sheet {
  font-family: inherit;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-test-wa {
  background: #0284c7;
  color: #ffffff;
}
.btn-test-wa:hover { background: #0369a1; }

.group-link-input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #475569;
  flex-grow: 1;
  outline: none;
}

.btn-open-group {
  background: #059669;
  color: #ffffff;
}
.btn-open-group:hover { background: #047857; }

.btn-view-faq {
  background: #4f46e5;
  color: #ffffff;
  flex: 1;
}
.btn-view-faq:hover { background: #4338ca; }

.btn-open-sheet {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  flex: 1;
  text-align: center;
}
.btn-open-sheet:hover { background: #e2e8f0; }

.subcard-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* ==========================================================
   4. MULTI-STEP WIZARD (BAGIAN 1, BAGIAN 2, BAGIAN 3)
   ========================================================== */
.stepper-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.25s ease;
  user-select: none;
}

.stepper-item:hover .step-circle {
  transform: scale(1.06);
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd5e1;
  transition: all 0.3s ease;
}

.stepper-item.active .step-circle {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
}

.stepper-item.completed .step-circle {
  background: #10b981;
  color: #ffffff;
  border-color: #059669;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.step-name {
  font-size: 0.925rem;
  font-weight: 700;
  color: #334155;
  transition: color 0.2s ease;
}

.stepper-item.active .step-name {
  color: var(--primary);
}

.stepper-line {
  flex-grow: 1;
  height: 3px;
  background: #e2e8f0;
  margin: 0 1rem;
  transition: background 0.3s ease;
}

.stepper-line.completed {
  background: #10b981;
}

/* Step Pages Visibility */
.step-page {
  display: none;
  animation: fadeInStep 0.35s ease forwards;
}

.step-page.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-section-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.section-number-pill {
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.section-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

/* Wizard Navigation Actions */
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  gap: 1rem;
}

.wizard-actions.right-align {
  justify-content: flex-end;
}

.btn-wizard-next, .btn-wizard-prev {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-wizard-next {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-wizard-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
}

.btn-wizard-prev {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.btn-wizard-prev:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================
   5. BUKTI PEMBAYARAN PENDAFTARAN (MATCHING USER SCREENSHOT)
   ========================================================== */
.payment-upload-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.payment-upload-card:hover {
  border-color: #cbd5e1;
}

.payment-card-title-row {
  margin-bottom: 1.25rem;
}

.payment-card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
}

.payment-bank-details {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bank-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #1e293b;
}

.bank-label {
  color: #64748b;
  font-size: 0.9rem;
}

.bank-acc-num {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  background: #ffffff;
  padding: 0.2rem 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.bank-name-badge {
  background: #0d9488;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.bank-acc-name {
  font-weight: 700;
  color: #0f172a;
}

.bank-wa-link {
  font-weight: 800;
  color: #059669;
  text-decoration: none;
  background: #d1fae5;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.bank-wa-link:hover {
  background: #a7f3d0;
  text-decoration: underline;
}

.payment-file-box {
  background: #ffffff;
  border: 2px dashed #94a3b8;
  border-radius: var(--radius-sm);
  padding: 1.75rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.payment-file-box:hover, .payment-file-box.dragover {
  border-color: var(--primary);
  background: #f8fafc;
}

.upload-primary-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  display: block;
}

.upload-secondary-text {
  font-size: 0.775rem;
  color: #64748b;
  display: block;
  margin-top: 0.15rem;
}

.btn-browse-file {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-browse-file:hover {
  background: #ffffff;
  border-color: #6366f1;
  color: var(--primary);
}

.file-input-hidden {
  display: none;
}

.file-preview-selected {
  font-size: 0.85rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
  display: none;
}

.file-preview-selected.has-file {
  display: inline-block;
}

/* ==========================================================
   6. ADMIN NAVIGATION TABS & FORM BUILDER
   ========================================================== */
.admin-nav-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.25rem;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.35rem;
  background: transparent;
  color: #64748b;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: -0.35rem;
}

.admin-tab-btn:hover {
  color: var(--primary);
}

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 800;
}

.badge-tab-count {
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.admin-tab-pane {
  display: none;
  animation: fadeInPane 0.25s ease;
}

.admin-tab-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Form Builder Intro Card */
.builder-intro-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.builder-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.builder-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  max-width: 650px;
}

.btn-add-field {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  transition: all 0.2s ease;
}

.btn-add-field:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

/* Form Builder Filter Bar */
.form-builder-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-filter {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.pill-filter:hover {
  background: #f1f5f9;
}

.pill-filter.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Builder Table Badges & Toggle Switches */
.badge-section-1 {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
}

.badge-section-2 {
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
}

.badge-section-3 {
  background: #fdf2f8;
  color: #be185d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
}

.badge-field-type {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.badge-custom-pill {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.badge-core-pill {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Toggle Switch Component */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input:checked + .toggle-slider {
  background-color: #10b981;
}

input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

/* Actions in Table */
.btn-action-edit {
  background: #e0e7ff;
  color: #4338ca;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action-edit:hover {
  background: #c7d2fe;
}

.btn-action-bukti {
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid #a7f3d0;
  transition: all 0.2s;
}

.btn-action-bukti:hover {
  background: #d1fae5;
}

.btn-delete-field {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-delete-field:hover {
  background: #fecaca;
}

/* Modal Sub Tabs (Edit Modal) */
.modal-tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.25rem;
}

.modal-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.modal-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.modal-tab-content {
  display: none;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.modal-tab-content.active {
  display: block;
}

/* ==========================================================
   7. FITUR CEK PROSES PENDAFTARAN (STATUS TRACKER)
   ========================================================== */
.tracking-section {
  max-width: 1000px;
  margin: -1rem auto 2.5rem;
  padding: 0 1.25rem;
}

.tracking-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.tracking-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.tracking-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.tracking-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.tracking-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.tracking-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

/* Track Search Input Box */
.track-search-box {
  display: flex;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.track-input-wrapper {
  position: relative;
  flex-grow: 1;
}

.track-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: #94a3b8;
}

.track-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.25s ease;
}

.track-input:focus {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.btn-track-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-track-submit:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* Process Tracker 4-Phase Stepper */
.process-tracker-wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.process-tracker-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

.tracker-status-pill {
  background: #e2e8f0;
  color: #334155;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}

.process-steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 1.5rem;
}

.process-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  z-index: 2;
  flex: 1;
}

.process-node-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.process-step-node.completed .process-node-circle {
  background: #10b981;
  border-color: #059669;
  color: #ffffff;
}

.process-step-node.active .process-node-circle {
  background: var(--primary-gradient);
  border-color: #6366f1;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.45);
  transform: scale(1.08);
}

.process-node-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 140px;
}

.node-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #334155;
}

.process-step-node.active .node-title {
  color: var(--primary);
}

.process-step-node.completed .node-title {
  color: #059669;
}

.node-desc {
  font-size: 0.725rem;
  color: #94a3b8;
  line-height: 1.3;
  margin-top: 0.15rem;
}

.process-connector {
  flex-grow: 1;
  height: 4px;
  background: #e2e8f0;
  margin: -24px 0.5rem 0;
  z-index: 1;
  transition: background 0.3s ease;
}

.process-connector.completed {
  background: #10b981;
}

/* Track Result Details Box */
.track-result-details {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 1.5rem;
  animation: fadeInPane 0.3s ease;
}

.result-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.result-reg {
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  background: #eff6ff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.result-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.35rem 0 0.15rem;
}

.result-school {
  font-size: 0.85rem;
  color: #64748b;
}

.result-schedule-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  margin-top: 1rem;
}

.sched-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.85rem;
}

.sched-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sched-item {
  display: flex;
  flex-direction: column;
}

.sched-lbl {
  font-size: 0.75rem;
  color: #64748b;
}

.sched-note {
  font-size: 0.8rem;
  color: #475569;
  background: #ffffff;
  padding: 0.6rem;
  border-radius: 4px;
  border: 1px dashed #cbd5e1;
}

.quick-track-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #1e40af;
  margin: 1.25rem 0;
}

/* Nav Highlight Link */
.nav-highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #2563eb !important;
  font-weight: 700 !important;
}

/* Mobile Nav Actions */
.mobile-nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.btn-mobile-track {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
}

.btn-mobile-admin {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
}

.mobile-step-indicator {
  display: none;
  text-align: center;
  margin-bottom: 1.5rem;
}

.mobile-step-pill {
  display: inline-block;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

/* ==========================================================
   8. MOBILE RESPONSIVE EXCELLENCE
   ========================================================== */
@media (max-width: 900px) {
  .process-steps-row {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .process-connector {
    display: none;
  }
  .process-step-node {
    flex: 1 1 40%;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 0.65rem 1rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-nav-actions {
    display: flex;
  }
  .logo-title {
    font-size: 1.05rem;
  }
  .logo-subtitle {
    font-size: 0.65rem;
  }

  /* Hero */
  .hero-section {
    padding: 2.5rem 1rem 1.5rem;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 0.9rem;
  }
  .hero-highlights {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Tracking section */
  .tracking-section {
    padding: 0 0.85rem;
    margin-top: 0;
  }
  .tracking-card {
    padding: 1.35rem 1rem;
  }
  .tracking-title {
    font-size: 1.35rem;
  }
  .track-search-box {
    flex-direction: column;
    gap: 0.65rem;
  }
  .btn-track-submit {
    justify-content: center;
    width: 100%;
  }

  /* Process Stepper in mobile */
  .process-steps-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .process-node-info {
    max-width: none;
  }
  .sched-grid {
    grid-template-columns: 1fr;
  }
  .result-header-row {
    flex-direction: column;
  }

  /* Stepper Form */
  .stepper-wrapper {
    display: none; /* Hide multi-step bar on small screens, replaced by mobile-step-indicator */
  }
  .mobile-step-indicator {
    display: block;
  }
  .form-card {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }
  .form-title {
    font-size: 1.3rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .input-group.span-2 {
    grid-column: span 1;
  }
  .form-control, .track-input {
    font-size: 16px; /* Prevents auto-zoom in iOS */
    padding: 0.75rem 0.85rem;
  }
  .wizard-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  .btn-wizard-next, .btn-wizard-prev, .btn-submit {
    width: 100%;
    justify-content: center;
  }

  /* Payment Card in Mobile */
  .payment-upload-card {
    padding: 1.25rem 0.85rem;
  }
  .bank-acc-num {
    font-size: 1rem;
  }

  /* Admin Dashboard Mobile */
  .admin-navbar .nav-container {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .admin-top-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .admin-container {
    padding: 1rem 0.85rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .table-control-bar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .filter-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .filter-select, .btn-refresh, .btn-dummy {
    flex: 1 1 45%;
  }
  .modal-card {
    padding: 1.25rem 1rem;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .process-steps-row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .process-step-node {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
  }
  .process-node-info {
    align-items: flex-start;
  }
}

/* ==========================================================
   FLOATING WHATSAPP HOTLINE WIDGET (POJOK KANAN BAWAH)
   ========================================================== */
.floating-wa-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 16px 8px 10px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
}

.floating-wa-icon-box {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.floating-wa-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.floating-wa-text strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}

.floating-wa-text small {
  font-size: 0.72rem;
  color: #d1fae5;
  font-weight: 500;
}

.floating-wa-badge {
  background: #ecfdf5;
  color: #047857;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

.floating-wa-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 32px;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  animation: waPulseEffect 2s infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes waPulseEffect {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
  70% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
}

@media (max-width: 640px) {
  .floating-wa-container {
    bottom: 18px;
    right: 18px;
  }
  .floating-wa-btn {
    padding: 6px;
    border-radius: 50%;
  }
  .floating-wa-text,
  .floating-wa-badge {
    display: none;
  }
  .floating-wa-icon-box {
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================
   MA IHYA AS-SUNNAH SCHOOL PORTAL STYLES (EDUMA ACADEMIC THEME)
   STRICT REQUIREMENTS:
   1. ALL TYPOGRAPHY IN "TIMES NEW ROMAN", TIMES, SERIF
   2. NO EMOTICONS / EMOJIS (REPLACED WITH CLEAN SVG ICONS)
   3. NO UNNECESSARY GRADIENTS (CLEAN SOLID ACADEMIC SCHOOL COLORS)
   ========================================================== */

/* Global Times New Roman font override for landing page */
.ma-body,
.ma-body *,
.ma-body h1,
.ma-body h2,
.ma-body h3,
.ma-body h4,
.ma-body h5,
.ma-body h6,
.ma-body p,
.ma-body span,
.ma-body a,
.ma-body button,
.ma-body input,
.ma-body select,
.ma-body textarea,
.ma-body div,
.ma-body li,
.ma-body ul,
.ma-body strong,
.ma-body small {
  font-family: "Times New Roman", Times, Baskerville, Georgia, serif !important;
}

.ma-body {
  background-color: #f8fafc;
  color: #1e293b;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* 1. TOP BAR (CONTACT & SOCIAL HEADER) */
.ma-top-bar {
  background-color: #064e3b;
  color: #e2e8f0;
  font-size: 0.85rem;
  border-bottom: 1px solid #043c2d;
  padding: 0.45rem 0;
}

.ma-top-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ma-top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ma-top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
}

.ma-top-item:hover {
  color: #fbbf24;
}

.ma-top-item svg {
  flex-shrink: 0;
}

.ma-top-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ma-top-social-label {
  font-size: 0.8rem;
  color: #a7f3d0;
  font-weight: 600;
}

.ma-top-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #043c2d;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.ma-top-social a:hover {
  background: #d97706;
}

/* 2. MAIN NAVBAR (MATCHING GAMBAR 1 - STRICT SINGLE LINE MENU) */
.ma-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ma-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.ma-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.ma-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #064e3b;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(6, 78, 59, 0.2);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.ma-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.ma-brand-text {
  display: flex;
  flex-direction: column;
}

.ma-brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.ma-brand-text span {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}

.ma-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap !important;
  flex-shrink: 0;
}

.ma-nav-link {
  color: #1e293b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.4rem 0.25rem;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap !important;
  display: inline-block;
}

.ma-nav-link:hover,
.ma-nav-link.active {
  color: #064e3b;
}

.ma-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #064e3b;
}

/* PPDB Pill CTA Button in Navbar (Matching Gambar 1) */
.btn-ppdb-cta {
  background-color: #d97706 !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: none;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-ppdb-cta:hover {
  background-color: #b45309 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(180, 83, 9, 0.4);
}

.btn-ppdb-icon-box {
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  color: #d97706;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* 3. HERO SECTION (EDUMA EDUCATION THEME STYLE) */
.ma-hero {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 4rem 1.5rem 5rem;
  position: relative;
}

.ma-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.ma-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ma-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.18;
  color: #0f172a;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.ma-hero-title span {
  color: #064e3b;
}

.ma-hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 2rem;
  text-align: justify;
}

.ma-hero-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: #064e3b;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 1.85rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid #064e3b;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

.btn-hero-primary:hover {
  background-color: #043c2d;
  border-color: #043c2d;
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background-color: #ffffff;
  color: #064e3b !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid #cbd5e1;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background-color: #f1f5f9;
  border-color: #064e3b;
}

/* Hero Education Showcase Card (Right Column) */
.hero-card-showcase {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.showcase-header {
  border-bottom: 2px solid #064e3b;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0;
}

.showcase-header span {
  font-size: 0.78rem;
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-weight: 700;
}

.showcase-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.showcase-badge-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.1rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.showcase-badge-item:hover {
  border-color: #064e3b;
}

.showcase-badge-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #064e3b;
  margin-bottom: 0.25rem;
  display: block;
}

.showcase-badge-label {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
  line-height: 1.3;
  display: block;
}

.showcase-footer-box {
  background-color: #f0fdf4;
  border-left: 4px solid #064e3b;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.88rem;
  color: #166534;
  line-height: 1.5;
}

/* 4. METRICS STATS BAR (EDUMA DARK GREEN/NAVY BANNER) */
.ma-stats-bar-full {
  background-color: #064e3b;
  color: #ffffff;
  padding: 2.75rem 1.5rem;
  border-top: 1px solid #043c2d;
  border-bottom: 1px solid #043c2d;
}

.ma-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ma-stat-col {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 1rem;
}

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

.ma-stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.ma-stat-lbl {
  font-size: 0.95rem;
  color: #d1fae5;
  font-weight: 600;
}

/* 5. GENERAL SECTION STYLING */
.ma-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.ma-section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.ma-section-tag {
  color: #064e3b;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: inline-block;
  border-bottom: 2px solid #064e3b;
  padding-bottom: 0.2rem;
}

.ma-section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

.ma-section-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* 6. FEATURED PROGRAMS (COURSES GRID LIKE EDUMA) */
.ma-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ma-program-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ma-program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.ma-program-card-header {
  padding: 1.75rem 1.75rem 1.25rem;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.ma-program-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #064e3b;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.ma-program-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.ma-program-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ma-program-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.ma-program-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.ma-program-list li {
  font-size: 0.88rem;
  color: #334155;
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-bottom: 1px dashed #f1f5f9;
}

.ma-program-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #064e3b;
}

.btn-program-action {
  background-color: #064e3b;
  color: #ffffff !important;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.btn-program-action:hover {
  background-color: #043c2d;
}

/* 7. WHY CHOOSE US & PILLARS (TWO COLUMNS) */
.why-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.why-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-pillar-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.why-pillar-icon-box {
  width: 44px;
  height: 44px;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #064e3b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-pillar-text h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.why-pillar-text p {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.vision-mission-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vision-card {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #064e3b;
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.vision-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0 0 0.75rem;
}

.vision-card p {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

.mission-card {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #d97706;
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.mission-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #b45309;
  margin: 0 0 0.75rem;
}

.mission-card ol {
  padding-left: 1.25rem;
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.8;
}

/* 8. TEACHERS / ASATIDZAH GRID (MEET OUR TEACHERS) */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.teacher-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.teacher-card:hover {
  border-color: #064e3b;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.teacher-avatar-box {
  width: 92px;
  height: 92px;
  background-color: #f1f5f9;
  border: 3px solid #064e3b;
  border-radius: 50%;
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.15);
  flex-shrink: 0;
}

.teacher-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.teacher-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.teacher-role {
  font-size: 0.82rem;
  color: #064e3b;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: block;
}

.teacher-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* 9. FACILITIES GALLERY CARDS */
.ma-facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ma-facility-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.ma-facility-card:hover {
  border-color: #064e3b;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(6, 78, 59, 0.1);
}

.ma-facility-img-box {
  width: 100%;
  height: 170px;
  background-color: #064e3b;
  overflow: hidden;
  position: relative;
}

.ma-facility-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.ma-facility-card:hover .ma-facility-img-box img {
  transform: scale(1.06);
}

.ma-facility-content {
  padding: 1.25rem 1.35rem;
  flex-grow: 1;
}

.ma-facility-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.45rem;
}

.ma-facility-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* 10. PPDB AGENDA & FAQ SECTION */
.events-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agenda-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.agenda-badge-date {
  width: 56px;
  height: 56px;
  background-color: #064e3b;
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.agenda-badge-step {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #a7f3d0;
}

.agenda-badge-num {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.agenda-text h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.agenda-text p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.faq-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0 0 0.45rem;
}

.faq-card p {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* 11. PPDB BANNER BOX (EDUMA CTA STYLE) */
.ma-ppdb-banner {
  background-color: #064e3b;
  border-radius: 12px;
  padding: 3.5rem 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  border: 1px solid #043c2d;
  box-shadow: 0 10px 25px rgba(6, 78, 59, 0.2);
  margin-bottom: 4rem;
}

.ma-ppdb-banner-text {
  max-width: 720px;
}

.banner-badge-clean {
  background-color: #d97706;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.ma-ppdb-banner-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  line-height: 1.2;
}

.ma-ppdb-banner-text p {
  color: #d1fae5;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.ma-ppdb-banner-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-banner-ppdb {
  background-color: #d97706;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 1.85rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  border: none;
}

.btn-banner-ppdb:hover {
  background-color: #b45309;
}

.btn-banner-secondary {
  background-color: transparent;
  color: #ffffff !important;
  border: 1.5px solid #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-banner-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* 12. QUICK CONTACT STRIP (ABOVE FOOTER) */
.quick-contact-strip {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 2.25rem 1.5rem;
}

.quick-contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.quick-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #f0fdf4;
  color: #064e3b;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-contact-text h5 {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.quick-contact-text p,
.quick-contact-text a {
  font-size: 0.9rem;
  color: #475569;
  text-decoration: none;
  margin: 0;
}

.quick-contact-text a:hover {
  color: #064e3b;
}

/* 13. ACADEMIC FOOTER */
.ma-footer {
  background-color: #0a1c14;
  color: #94a3b8;
  padding: 4.5rem 1.5rem 2rem;
}

.ma-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #163829;
}

.ma-footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  border-bottom: 2px solid #064e3b;
  padding-bottom: 0.4rem;
  display: inline-block;
}

.ma-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ma-footer-links li {
  margin-bottom: 0.65rem;
}

.ma-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.ma-footer-links a:hover {
  color: #fbbf24;
}

.ma-footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 14. FLOATING WHATSAPP BUTTON (SOLID GREEN, NO EMOJI) */
.floating-wa-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #25d366;
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.65rem 1.15rem 0.65rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-wa-btn:hover {
  background-color: #1eb956;
  transform: translateY(-2px);
}

.floating-wa-icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-wa-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.floating-wa-text strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.floating-wa-text small {
  font-size: 0.72rem;
  opacity: 0.9;
}

.floating-wa-badge {
  font-size: 0.7rem;
  background-color: #128c7e;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
}

/* 15. RESPONSIVE BREAKPOINTS */
@media (max-width: 1280px) {
  .ma-nav-container { padding: 0.65rem 1rem; gap: 0.85rem; }
  .ma-nav-menu { gap: 0.95rem; }
  .ma-nav-link { font-size: 0.88rem; }
  .btn-ppdb-cta { padding: 0.55rem 1rem; font-size: 0.82rem; }
  .ma-brand-text h1 { font-size: 1.15rem; }
  .ma-brand-text span { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 992px) {
  .ma-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ma-program-grid { grid-template-columns: 1fr; }
  .why-grid-layout { grid-template-columns: 1fr; }
  .events-faq-grid { grid-template-columns: 1fr; }
  .ma-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .ma-stat-col:nth-child(2) { border-right: none; }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .ma-facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-contact-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .ma-ppdb-banner { flex-direction: column; text-align: center; }
  .ma-ppdb-banner-actions { width: 100%; }
  .ma-footer-grid { grid-template-columns: 1fr 1fr; }
  .ma-nav-menu { display: none; }
}

@media (max-width: 640px) {
  .ma-hero-title { font-size: 2.2rem; }
  .ma-stats-inner { grid-template-columns: 1fr; }
  .ma-stat-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 1rem; }
  .teachers-grid { grid-template-columns: 1fr; }
  .ma-facilities-grid { grid-template-columns: 1fr; }
  .ma-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .floating-wa-text, .floating-wa-badge { display: none; }
/* Tag Pills for SKL Template Editor */
.btn-tag-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.75rem;
  font-family: monospace;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-tag-pill:hover {
  background: #e2e8f0;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}
