/* 
  STIE ANINDYAGUNA PMB Website Stylesheet
  Theme: Maroon Red & Elegant Gold (Academic Premium)
  Designed for ALIS PROJECT NO.1
*/

/* --- 1. DESIGN SYSTEM VARIABLES --- */
:root {
  /* Fonts */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette - Light Theme */
  --primary: #800000;         /* Deep Maroon */
  --primary-hover: #600000;   /* Darker Maroon */
  --primary-light: #FDE8E8;   /* Soft Maroon Background Tint */
  --primary-rgb: 128, 0, 0;

  --accent: #AA7C11;          /* Elegant Gold */
  --accent-light: #FDF6E2;    /* Soft Gold Background Tint */
  --accent-hover: #90680A;
  --accent-yellow: #D4AF37;   /* Metallic Gold */
  
  --bg-main: #FAFAF9;         /* Very Light Stone/Warm White */
  --bg-card: #FFFFFF;
  --bg-header: rgba(255, 255, 255, 0.85);
  
  --text-main: #1C1917;       /* Dark Stone */
  --text-muted: #57534E;
  --text-on-primary: #FFFFFF;
  
  --border-color: #E7E5E4;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(128, 0, 0, 0.05), 0 4px 6px -2px rgba(128, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(128, 0, 0, 0.08), 0 10px 10px -5px rgba(128, 0, 0, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
}

/* Dark Theme Variables override */
body.dark-theme {
  --bg-main: #0C0A09;         /* Dark Stone / Almost Black */
  --bg-card: #1C1917;         /* Dark Stone Card */
  --bg-header: rgba(28, 25, 23, 0.85);
  
  --text-main: #F5F5F4;
  --text-muted: #A8A29E;
  --primary-light: #3F0000;   /* Very Dark Maroon Tint */
  --accent-light: #2C240A;    /* Very Dark Gold Tint */
  
  --border-color: #2E2A27;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  
  --glass-bg: rgba(28, 25, 23, 0.7);
  --glass-border: rgba(255, 255, 255, 0.07);
}

/* --- 2. RESET & BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

/* Custom Scrollbar */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background gradient blur overlays */
.bg-gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 10% 20%, rgba(128, 0, 0, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(170, 124, 17, 0.06) 0%, transparent 45%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* --- 3. REUSABLE UTILITIES & BUTTONS --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.ripple {
  position: relative;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-on-primary);
  box-shadow: 0 4px 10px rgba(128, 0, 0, 0.2);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(128, 0, 0, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-on-primary);
  transform: translateY(-2px);
}

.btn-danger {
  background-color: #DC2626;
  color: white;
}
.btn-danger:hover {
  background-color: #B91C1C;
  transform: translateY(-2px);
}

.btn-success {
  background-color: #059669;
  color: white;
}
.btn-success:hover {
  background-color: #047857;
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(170, 124, 17, 0.15);
}

.hide {
  display: none !important;
}

/* Section Transitions */
.app-section {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 60px 0 80px 0;
}

.app-section.active-section {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-yellow);
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 16px;
}

/* Form inputs styling */
.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.15);
  background-color: var(--bg-card);
}

.required {
  color: #DC2626;
}

.error-msg {
  color: #DC2626;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.form-control.is-invalid {
  border-color: #DC2626;
}
.form-control.is-invalid + .error-msg {
  display: block;
}

/* --- 4. HEADER & NAVIGATION --- */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-img-footer {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 22px;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--primary);
}
body.dark-theme .logo-title {
  color: #FFFFFF;
}

.logo-subtitle {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 12px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.btn-nav-register {
  background-color: var(--primary);
  color: var(--text-on-primary) !important;
}

.btn-nav-register:hover {
  background-color: var(--primary-hover);
  color: var(--text-on-primary) !important;
  transform: translateY(-1px);
}

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

.theme-toggle-btn, .mobile-menu-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.theme-toggle-btn:hover, .mobile-menu-btn:hover {
  background-color: var(--border-color);
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  z-index: 1000;
  background-color: var(--bg-card);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

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

.close-drawer-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.mobile-link.active, .mobile-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- 5. HOME SECTION SPECIFICS --- */
.hero-banner {
  padding: 40px 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-text-content h1 {
  font-size: 48px;
  margin-top: 16px;
  color: var(--primary);
  line-height: 1.15;
}
body.dark-theme .hero-text-content h1 {
  color: #FFFFFF;
}

.hero-text-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 20px 0 32px 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.hero-visual-card .card-inner {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(170, 124, 17, 0.15);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-visual-card .card-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(170, 124, 17, 0.08) 0%, transparent 70%);
}

.card-header-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.hero-visual-card h3 {
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.campus-motto {
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.campus-accreditation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.acc-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.acc-label {
  font-weight: 500;
  color: var(--text-muted);
}

.acc-val {
  font-weight: 700;
  color: var(--accent);
}

/* Stats section */
.quick-stats-section {
  padding: 40px 0;
  background-color: var(--primary-light);
  border-y: 1px solid var(--border-color);
  margin: 40px 0;
  transition: var(--transition);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}
body.dark-theme .stat-info h3 {
  color: #FFFFFF;
}

.stat-info p {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Programs section */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.program-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.program-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--accent-yellow);
}

.prodi-manajemen {
  background: linear-gradient(135deg, #800000 0%, #4D0000 100%);
}

.prodi-akuntansi {
  background: linear-gradient(135deg, #600000 0%, #220000 100%);
}

.program-body {
  padding: 32px;
}

.prodi-badge {
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.program-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.program-body p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.prodi-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.prodi-features span {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prodi-features i {
  color: var(--accent);
}

.prodi-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Steps section */
.admission-steps-section {
  background-color: var(--bg-card);
  border-y: 1px solid var(--border-color);
  padding: 60px 0;
  margin: 60px 0;
}

.steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-flow-card {
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  border: 4px solid var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.step-flow-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step-flow-card p {
  color: var(--text-muted);
  font-size: 13px;
}

/* FAQ section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 15px;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 0px solid transparent;
}

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

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary height to slide down */
  padding-bottom: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

/* --- 6. INFO JALUR & BIAYA SECTION SPECIFICS --- */
.admission-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.path-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.path-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.path-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.path-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.path-badge.accent {
  background-color: var(--primary);
  color: white;
}

.path-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.path-card p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
  min-height: 60px;
}

.path-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}
body.dark-theme .path-price {
  color: #FFFFFF;
}

.path-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.path-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.path-benefits li {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.path-benefits i {
  color: var(--accent);
}

/* Installment Calculator */
.calculator-container {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  margin-top: 40px;
}

.calc-header {
  margin-bottom: 32px;
}

.calc-header h3 {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}
body.dark-theme .calc-header h3 {
  color: #FFFFFF;
}

.calc-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.result-box {
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  border: 1.5px solid rgba(128, 0, 0, 0.15);
}

.result-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.result-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
body.dark-theme .result-value {
  color: #FFFFFF;
}

.result-detail {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- 7. WIZARD REGISTRATION FORM SPECIFICS --- */
.form-wizard-container {
  max-width: 800px;
}

.wizard-box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  margin-top: 24px;
}

.wizard-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 48px;
  background-image: linear-gradient(to right, var(--border-color) 100%, transparent 0%);
  background-position: 0 15px;
  background-size: 100% 2px;
  background-repeat: no-repeat;
}

.wizard-stepper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
}

.wizard-stepper .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: var(--transition);
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wizard-stepper .step.active .step-dot {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.15);
}

.wizard-stepper .step.active .step-label {
  color: var(--primary);
}

.wizard-stepper .step.completed .step-dot {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
}

.wizard-stepper .step.completed .step-label {
  color: var(--accent);
}

/* Wizard Form Sections */
.wizard-step-content {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.wizard-step-content.active {
  display: block;
}

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

.step-title {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  margin-bottom: 24px;
}
body.dark-theme .step-title {
  color: #FFFFFF;
}

.step-description-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-grid .col-12 {
  grid-column: span 2;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 32px;
}

/* Dropzone style */
.document-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.document-upload-grid .col-12 {
  grid-column: span 2;
}

.upload-box {
  display: flex;
  flex-direction: column;
}

.upload-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.drop-zone {
  height: 120px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-main);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-zone-prompt {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.drop-zone-prompt i {
  font-size: 24px;
  color: var(--primary);
}

.drop-zone.file-uploaded .drop-zone-prompt i {
  color: var(--accent);
}

/* Preview step box */
.preview-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  overflow: hidden;
}

.preview-header {
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
}
body.dark-theme .preview-header {
  color: #FFFFFF;
}

.preview-details {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.preview-item {
  font-size: 13px;
}

.preview-item strong {
  color: var(--text-muted);
  font-weight: 600;
}

.preview-item span {
  display: block;
  font-weight: 500;
  margin-top: 4px;
}

.form-check-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.form-check-input {
  margin-top: 4px;
}

.form-check-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.block-error {
  display: none;
}
.is-invalid ~ .block-error {
  display: block;
}

/* Printable Registration Card box style */
.register-success-box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  text-align: center;
  max-width: 700px;
  margin: 32px auto 0 auto;
}

.success-header {
  margin-bottom: 32px;
}

.success-icon {
  font-size: 64px;
  color: #059669;
  margin-bottom: 16px;
}

.print-card {
  background-color: #FFFFFF;
  color: #1C1917;
  border: 2px solid #800000;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

body.dark-theme .print-card {
  /* Keep print card light theme for easy printing */
  background-color: #FFFFFF;
  color: #1C1917;
}

.card-watermark {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 200px;
  opacity: 0.03;
  color: #800000;
  pointer-events: none;
}

.print-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid #800000;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.campus-logo-print {
  width: 48px;
  height: 48px;
  background-color: #800000;
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: var(--radius-sm);
}

.campus-title-print h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #800000;
}

.campus-title-print p {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #57534E;
}

.print-card-body {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  gap: 20px;
  align-items: flex-start;
}

.card-photo-placeholder {
  width: 100px;
  height: 120px;
  border: 1px solid #E7E5E4;
  background-color: #FAFAF9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #A8A29E;
  overflow: hidden;
}

.card-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-details-list .detail-row {
  display: flex;
  font-size: 13px;
  line-height: 1.4;
}

.card-details-list .detail-label {
  width: 120px;
  font-weight: 600;
  color: #57534E;
}

.card-details-list .detail-val {
  font-weight: 600;
  color: #1C1917;
}

.card-details-list .detail-val.highlight {
  color: #800000;
  font-family: var(--font-heading);
  font-weight: 800;
}

.card-qr-box {
  text-align: center;
}

.qr-code-placeholder {
  width: 90px;
  height: 90px;
  border: 1px solid #E7E5E4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-qr-box p {
  font-size: 9px;
  color: #57534E;
  margin-top: 6px;
  font-weight: 500;
}

.print-card-footer {
  margin-top: 24px;
  border-top: 1px solid #E7E5E4;
  padding-top: 12px;
  font-size: 9px;
  color: #57534E;
  display: flex;
  justify-content: space-between;
}

.success-actions-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* --- 8. TRACK STATUS SECTION SPECIFICS --- */
.status-search-wrapper {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
  max-width: 700px;
  margin: 0 auto 32px auto;
}

.search-input-group {
  display: flex;
  align-items: center;
  background-color: var(--bg-main);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 4px 6px 4px 16px;
  transition: var(--transition);
}

.search-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.15);
  background-color: var(--bg-card);
}

.search-input-group i {
  color: var(--text-muted);
  font-size: 16px;
}

.search-input-control {
  background: none;
  border: none;
  width: 100%;
  font-family: var(--font-body);
  color: var(--text-main);
  padding: 10px 12px;
  font-size: 15px;
}

.search-input-control:focus {
  outline: none;
}

.search-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  margin-left: 8px;
}

/* Alert box */
.status-alert-box {
  max-width: 700px;
  margin: 0 auto 32px auto;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.alert-error {
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}
body.dark-theme .alert-error {
  background-color: #450A0A;
  border-color: #991B1B;
  color: #FECACA;
}

.alert-icon {
  font-size: 20px;
}

.alert-content h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.alert-content p {
  font-size: 12px;
}

/* Status Result and Stepper */
.status-result-box {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
}

.result-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.result-sub-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.status-pill-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Custom Status Stepper */
.status-timeline-stepper {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 36px;
}

.status-timeline-stepper::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 11px;
  width: 2px;
  height: calc(100% - 28px);
  background-color: var(--border-color);
  z-index: 0;
}

.timeline-step {
  display: flex;
  position: relative;
  z-index: 1;
  padding-bottom: 24px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.step-marker {
  position: absolute;
  left: -36px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.timeline-step.completed .step-marker {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
}

.timeline-step.active .step-marker {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(128, 0, 0, 0.15);
}

.timeline-step.failed .step-marker {
  background-color: #DC2626;
  border-color: #DC2626;
  color: white;
}

.step-info h4 {
  font-size: 14px;
  font-weight: 600;
}

.step-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.timeline-step.completed .step-info h4 {
  color: var(--accent);
}

.timeline-step.active .step-info h4 {
  color: var(--primary);
}
body.dark-theme .timeline-step.active .step-info h4 {
  color: #FFFFFF;
}

/* Letters/Download options styling */
.status-acceptance-box {
  background-color: var(--accent-light);
  border: 1.5px solid rgba(170, 124, 17, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
body.dark-theme .status-acceptance-box {
  background-color: rgba(170, 124, 17, 0.1);
}

.acceptance-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.acceptance-icon {
  font-size: 36px;
  color: var(--accent);
}

.acceptance-text h3 {
  font-size: 16px;
  color: var(--accent);
}

.acceptance-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.acceptance-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-reject-box {
  background-color: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}
body.dark-theme .status-reject-box {
  background-color: #450A0A;
  border-color: #991B1B;
}

.reject-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reject-icon {
  font-size: 36px;
  color: #DC2626;
}

.reject-text h3 {
  font-size: 16px;
  color: #991B1B;
}
body.dark-theme .reject-text h3 {
  color: #FECACA;
}

.reject-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- 9. ADMIN PANEL SPECIFICS --- */
.admin-login-box {
  max-width: 450px;
  margin: 40px auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-icon {
  font-size: 44px;
  color: var(--primary);
  margin-bottom: 12px;
}

.login-err-msg {
  color: #DC2626;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.login-tips-hint {
  margin-top: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Admin Dashboard layout */
.dashboard-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
}

.stat-icon-bg {
  position: absolute;
  bottom: -15px;
  right: -10px;
  font-size: 64px;
  color: var(--border-color);
  opacity: 0.15;
  pointer-events: none;
}

/* Background Soft Card tints */
.bg-maroon-soft { border-left: 4px solid var(--primary); }
.bg-gold-soft { border-left: 4px solid var(--accent); }
.bg-emerald-soft { border-left: 4px solid #059669; }
.bg-cyan-soft { border-left: 4px solid #06B6D4; }

/* Custom charts styling */
.analytics-charts-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 32px;
}

.chart-box h4 {
  font-size: 15px;
  margin-bottom: 20px;
}

.custom-chart-bar-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-label {
  font-size: 12px;
  font-weight: 600;
  width: 100px;
}

.bar-track {
  flex-grow: 1;
  height: 12px;
  background-color: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.8s ease;
}

.bar-fill.fill-accent {
  background-color: var(--accent);
}

.bar-value {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  width: 24px;
  text-align: right;
}

/* Table management */
.applicants-table-container {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
}

.table-actions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-controls-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-controls-group input {
  width: 220px;
}

.filter-controls-group select {
  width: 150px;
}

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

.applicants-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.applicants-table th, .applicants-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.applicants-table th {
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-main);
}

.applicants-table tbody tr:hover {
  background-color: var(--primary-light);
}

/* --- 10. CHATBOT AND FLOATING BUTTON SPECIFICS --- */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.chatbot-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--accent-yellow);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
  position: relative;
  transition: var(--transition);
}

.chatbot-toggle-btn:hover {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.45);
}

.pulse-indicator {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background-color: var(--accent-yellow);
  border: 2px solid var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.chatbot-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  height: 480px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.chatbot-header {
  background-color: var(--primary);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.chatbot-info h4 {
  font-size: 13px;
  color: white;
}

.chatbot-info p {
  font-size: 10px;
  color: var(--accent-yellow);
  font-weight: 500;
}

.online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: #10B981;
  margin-right: 4px;
}

.chatbot-close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: white;
  opacity: 0.7;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-close-btn:hover {
  opacity: 1;
}

.chatbot-body {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-main);
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.4;
}

.bot-msg {
  background-color: var(--bg-card);
  color: var(--text-main);
  align-self: flex-start;
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 2px;
}

.user-msg {
  background-color: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.quick-replies {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-reply-btn {
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(170, 124, 17, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.quick-reply-btn:hover {
  background-color: var(--accent);
  color: white;
}

.chatbot-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
  background-color: var(--bg-card);
}

.chatbot-footer input {
  flex-grow: 1;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

.chatbot-footer input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-send-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

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

/* --- 11. MODAL DIALOG BACKDROP & DETAILS --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: var(--transition);
}

.modal-content {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp 0.3s ease-out forwards;
}

.modal-header {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}
body.dark-theme .modal-header {
  color: #FFFFFF;
}

.modal-header h3 {
  font-size: 18px;
}

.modal-close-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: 22px;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-details-grid .col-12 {
  grid-column: span 2;
}

.modal-detail-item {
  font-size: 13px;
}

.modal-detail-item strong {
  display: block;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.modal-detail-item span {
  font-weight: 500;
}

.modal-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.modal-doc-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  background-color: var(--bg-main);
}

.modal-doc-card i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.modal-doc-card span {
  font-size: 10px;
  font-weight: 600;
  display: block;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-changer-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-changer-group label {
  font-size: 12px;
  font-weight: 600;
}

.inline-select {
  width: auto;
  padding: 8px 12px;
  font-size: 13px;
}

/* Status pills colors for tables & dashboard */
.badge-status {
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
}

.badge-status.berhasil {
  background-color: #E0F2FE;
  color: #0369A1;
}
.badge-status.verifikasi {
  background-color: #FEF3C7;
  color: #B45309;
}
.badge-status.lulus {
  background-color: #D1FAE5;
  color: #047857;
}
.badge-status.gagal {
  background-color: #FEE2E2;
  color: #B91C1C;
}
.badge-status.daftarulang {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* --- 12. FOOTER SECTION --- */
.main-footer {
  background-color: #1C1917;
  color: #A8A29E;
  border-top: 4px solid var(--primary);
  padding: 60px 0 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: var(--radius-sm);
}

.footer-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: white;
}

.footer-col-about p {
  font-size: 13px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: #2E2A27;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col-links h4, .footer-col-contact h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 24px;
}

.footer-col-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-links a {
  font-size: 13px;
  color: #A8A29E;
}

.footer-col-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-col-contact p {
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-col-contact i {
  color: var(--accent-yellow);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid #2E2A27;
  padding: 24px 0;
  font-size: 11px;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- 13. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-visual-card {
    max-width: 500px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admission-paths-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 32px auto;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .steps-flow {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
  .steps-flow::before {
    display: none;
  }
  .step-flow-card {
    margin-bottom: 32px;
  }
  .calc-body-grid {
    grid-template-columns: 1fr;
  }
  .preview-details {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .col-12 {
    grid-column: span 1;
  }
  .document-upload-grid {
    grid-template-columns: 1fr;
  }
  .document-upload-grid .col-12 {
    grid-column: span 1;
  }
  .print-card-body {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .card-details-list .detail-row {
    justify-content: center;
  }
  .card-photo-placeholder {
    order: -1;
  }
  .card-qr-box {
    margin-top: 16px;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .analytics-charts-wrapper {
    grid-template-columns: 1fr;
  }
  .table-actions-header {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-controls-group {
    flex-direction: column;
  }
  .filter-controls-group input, .filter-controls-group select {
    width: 100%;
  }
  .modal-details-grid {
    grid-template-columns: 1fr;
  }
  .modal-details-grid .col-12 {
    grid-column: span 1;
  }
  .modal-docs-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text-content h1 {
    font-size: 32px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .wizard-stepper .step-label {
    display: none; /* Hide labels on very small screens to fit dots */
  }
  .wizard-stepper {
    background-position: 0 16px;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .chatbot-window {
    width: calc(100vw - 40px);
    right: -10px;
  }
}

/* Print CSS */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-reg-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* ==========================================================================
   PMB REDESIGN STYLES (TOP BAR, SLIDER, ACCORDION)
   ========================================================================== */

/* 1. Top Announcement Bar */
.top-bar {
  background-color: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 0;
}
.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar a:hover {
  color: var(--accent-yellow);
}
.top-bar i {
  color: var(--accent-yellow);
}

/* Update main header positioning since top bar is added */
.main-header {
  position: relative;
  top: 0;
}

/* 2. Hero Image Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background-color: #000;
}
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide-content-container {
  z-index: 3;
  width: 100%;
}
.slide-text-content {
  max-width: 700px;
  color: #ffffff;
}
.slide-text-content h1 {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: inherit;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease forwards;
}
.slide-text-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: inherit;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}
.slide-text-content .hero-ctas {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
  display: flex;
  gap: 16px;
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}
.slider-arrow:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow.prev {
  left: 24px;
}
.slider-arrow.next {
  right: 24px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-dots .dot:hover, .slider-dots .dot.active {
  background-color: var(--accent-yellow);
  transform: scale(1.2);
}

/* 3. Welcome & Advantages Section */
.welcome-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}
.welcome-quote-wrapper {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}
.welcome-quote {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  font-style: italic;
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.welcome-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}
.welcome-card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 3px solid var(--primary);
}
.welcome-card-body {
  padding: 30px;
}
.welcome-card-body h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.welcome-card-body p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* 4. Advantages Accordion */
.welcome-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  overflow: hidden;
  transition: var(--transition-fast);
}
.accordion-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: var(--transition-fast);
}
.accordion-trigger:hover {
  background-color: var(--bg-hover);
}
.accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  transition: var(--transition-fast);
}
.accordion-item.active .accordion-title {
  color: var(--primary);
}
.accordion-title i {
  color: var(--primary);
  font-size: 18px;
}
.accordion-icon {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.accordion-content-inner {
  padding: 0 24px 24px 54px;
}
.accordion-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

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

/* Responsive adjustments */
@media (max-width: 991px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-slider {
    height: 460px;
  }
  .slide-text-content h1 {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .top-bar {
    display: none; /* Hide top bar on mobile */
  }
  .hero-slider {
    height: 400px;
  }
  .slide-text-content h1 {
    font-size: 28px;
  }
  .slide-text-content p {
    font-size: 15px;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .slider-arrow.prev {
    left: 12px;
  }
  .slider-arrow.next {
    right: 12px;
  }
  .welcome-quote {
    font-size: 22px;
  }
}
