/* ==========================================================================
   PMB AKOM BANTAENG - MODERN THEME (FC BAYERN CRIMSON & MIDNIGHT SLATE)
   ========================================================================== */

:root {
  --primary: #c8102e;          /* FC Bayern / AKOM Crimson */
  --primary-dark: #8b0015;     /* Deep Burgundy */
  --primary-light: #fef2f2;    /* Soft Red Tint */
  --primary-border: #fecaca;   /* Border highlight */
  
  --secondary: #0f172a;        /* Midnight Navy */
  --secondary-light: #1e293b;
  --secondary-accent: #334155;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  
  --accent-gold: #f59e0b;
  --accent-blue: #0284c7;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  
  --border: #e2e8f0;
  --border-focus: #c8102e;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 20px -5px rgba(0,0,0,0.12), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-primary: 0 8px 20px -4px rgba(200, 16, 46, 0.25);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   NAVBAR (PUBLIC LANDING)
   ========================================================================== */
.main-header {
  background: #ffffff;
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background: var(--secondary);
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info span i {
  color: var(--accent-gold);
  margin-right: 6px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

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

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-weight: 600;
  color: var(--secondary-light);
  font-size: 0.95rem;
  padding: 8px 4px;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.nav-cta {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-secondary {
  background: var(--secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background: var(--secondary-light);
  color: #ffffff;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.btn-success {
  background: var(--accent-green);
  color: #ffffff;
}

.btn-success:hover {
  background: #059669;
  color: #ffffff;
}

.btn-danger {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
  color: #ffffff;
}

.btn-warning {
  background: var(--accent-gold);
  color: #ffffff;
}

.btn-warning:hover {
  background: #d97706;
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   ANIMASI KEMUNCULAN (ENTRANCE ANIMATIONS)
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-student-img {
  animation: heroFloat 5s ease-in-out infinite;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   CONCISE & BEST PRACTICE HERO SECTION
   ========================================================================== */
.hero-simple-section {
  position: relative;
  background: radial-gradient(circle at 75% 30%, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 36px 0 0;
  overflow: hidden;
  border-bottom: 4px solid var(--primary);
}

.hero-simple-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: flex-end;
  gap: 36px;
}

.hero-content-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-gold);
  color: #fde68a;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

.hero-headline {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: #ffffff;
}

.hero-headline span.highlight {
  color: #f87171;
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.55;
  max-width: 580px;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-student-wrapper {
  margin-top: 4px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.hero-student-wrapper img {
  max-width: 100%;
  max-height: 275px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.45));
}

.hero-login-col {
  padding-bottom: 30px;
}

/* ==========================================================================
   THEMED EMBEDDED LOGIN CARD (COMPACT & BEST PRACTICE)
   ========================================================================== */
.fb-login-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  padding: 24px 22px;
  color: #1c1e21;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  border-top: 4px solid var(--primary);
}

.fb-login-header {
  margin-bottom: 16px;
  text-align: left;
}

.fb-login-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-login-title i {
  color: var(--primary);
  font-size: 1.05rem;
}

.fb-login-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.fb-form-group {
  margin-bottom: 12px;
}

.fb-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--secondary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.fb-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18);
}

.fb-btn-login {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 11px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35);
}

.fb-btn-login:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #68000f 100%);
  box-shadow: 0 6px 16px rgba(200, 16, 46, 0.5);
  transform: translateY(-1px);
}

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

.fb-forgot-link {
  display: block;
  text-align: center;
  color: var(--primary);
  font-size: 0.82rem;
  margin: 12px 0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.fb-forgot-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.fb-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

.fb-btn-register {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--secondary);
  color: #ffffff;
  border: 1px solid var(--secondary);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.fb-btn-register:hover {
  background: var(--secondary-light);
  color: #ffffff;
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.fb-user-badge {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-highlights-pills {
    justify-content: center;
  }
  .fb-login-card {
    margin-top: 30px;
    width: 100%;
  }
  .hero-headline {
    font-size: 2rem;
  }
}

/* Section styling */
.section {
  padding: 60px 0;
}

.section-bg {
  background: #ffffff;
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
}

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

/* Program Studi Cards */
.prodi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

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

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

.prodi-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.prodi-card-header {
  background: var(--secondary);
  color: #ffffff;
  padding: 24px 20px;
  border-bottom: 4px solid var(--primary);
  position: relative;
}

.prodi-degree {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 8px;
}

.prodi-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.prodi-card-body {
  padding: 24px;
  flex-grow: 1;
}

.prodi-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.prodi-feature-list {
  list-style: none;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.prodi-feature-list li {
  padding: 6px 0;
  color: var(--secondary-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.prodi-feature-list li i {
  color: var(--accent-green);
}

/* Timeline PMB */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.timeline-step {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-primary);
}

.timeline-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--secondary);
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Brosur CTA Section */
.brosur-banner-box {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--primary);
}

.brosur-banner-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.brosur-banner-box p {
  color: #94a3b8;
  font-size: 0.95rem;
}

.brosur-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Modal Preview Brosur */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--accent-red);
}

.modal-body {
  padding: 24px;
  text-align: center;
}

.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 60px 0 20px;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   AUTH PAGES (LOGIN & REGISTER)
   ========================================================================== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(circle at 10% 20%, #f1f5f9 0%, #e2e8f0 90%);
}

.auth-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.auth-header {
  background: var(--secondary);
  color: #ffffff;
  padding: 30px 24px;
  text-align: center;
  border-bottom: 4px solid var(--primary);
}

.auth-header img {
  height: 60px;
  margin-bottom: 12px;
}

.auth-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
}

.auth-header p {
  color: #94a3b8;
  font-size: 0.85rem;
}

.auth-body {
  padding: 30px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--secondary-light);
}

.form-label .required {
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.form-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.alert-info {
  background: #f0f9ff;
  color: #075985;
  border: 1px solid #bae6fd;
}

/* ==========================================================================
   APP LAYOUT (ADMIN & PESERTA DASHBOARD)
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.app-sidebar {
  width: 260px;
  background: var(--secondary);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: var(--transition);
}

.sidebar-brand {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--secondary-accent);
}

.sidebar-brand img {
  height: 40px;
}

.sidebar-brand h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.sidebar-brand span {
  font-size: 0.72rem;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.sidebar-menu {
  list-style: none;
  padding: 20px 0;
  flex-grow: 1;
}

.sidebar-menu-title {
  padding: 8px 24px;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sidebar-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-item a:hover {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.sidebar-item.active a {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
}

.sidebar-item a i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.sidebar-user {
  padding: 16px 20px;
  border-top: 1px solid var(--secondary-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-user-info h5 {
  font-size: 0.85rem;
  color: #ffffff;
}

.sidebar-user-info span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.app-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  min-width: 0;
}

.app-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
}

.app-content {
  padding: 30px;
  flex-grow: 1;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-draft { background: #f1f5f9; color: #475569; }
.badge-pending { background: #fef3c7; color: #b45309; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-primary { background: #fee2e2; color: var(--primary); }
.badge-info { background: #e0f2fe; color: #0369a1; }

/* Status Progress Timeline Bar */
.status-tracker {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 30px 0 40px;
}

.status-tracker::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: var(--border);
  z-index: 1;
}

.tracker-node {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 120px;
}

.node-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--text-muted);
  font-weight: bold;
  transition: var(--transition);
}

.tracker-node.completed .node-icon {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #ffffff;
}

.tracker-node.active .node-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.node-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tracker-node.active .node-label,
.tracker-node.completed .node-label {
  color: var(--secondary);
}

/* Tabs & Multi-step Form */
.tabs-header {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

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

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

.tab-pane {
  display: none;
}

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

/* Tables */
.table-responsive {
  overflow-x: auto;
}

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

.table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--secondary);
  border-bottom: 2px solid var(--border);
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

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

/* Printable Exam Card & Bukti Lulus */
@media print {
  body {
    background: #ffffff;
  }
  .app-sidebar, .app-header, .no-print {
    display: none !important;
  }
  .app-main {
    margin: 0;
    padding: 0;
  }
  .app-content {
    padding: 0;
  }
  .print-card {
    border: 2px solid #000000 !important;
    box-shadow: none !important;
    padding: 20px !important;
  }
}

.print-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.print-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 3px double var(--secondary);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.print-header img {
  height: 75px;
}

.print-header-text {
  text-align: center;
  flex-grow: 1;
}

.print-header-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.print-header-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.print-header-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .app-layout {
    flex-direction: column;
  }
  .app-sidebar {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .brosur-banner-box {
    flex-direction: column;
    text-align: center;
  }
}
