/**
 * HapComQuiz Combined Stylesheet
 * Generated: 2026-07-12T06:50:51.618Z
 */


/* ========================================== */
/* START FILE: 01_variables.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 1-95)
 */

/* ==========================================================================
   QuizHub (SoalHub) Design System & Stylesheet
   ========================================================================== */

/* Import Outfit and Inter fonts (Dinonaktifkan agar halaman ter-load secara instan 100% offline tanpa menunggu request timeout ke Google Fonts)
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
*/

:root {
  /* Color Tokens - Light Mode (Default) */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --card-bg: var(--bg-card);
  --bg-sidebar: #0f172a;
  
  --text-primary: #0f172a;
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-on-dark: #ffffff;
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.1);
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --primary-glow: rgba(99, 102, 241, 0.3);
  
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.1);
  --error: #f43f5e;
  --error-light: rgba(244, 63, 94, 0.1);
  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.1);
  
  --border-color: #e2e8f0;
  --border-glass: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 10px 10px -5px rgba(99, 102, 241, 0.04);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;

  /* Schedule grid theme variables */
  --cell-text-primary: #0f172a;
  --cell-text-secondary: #475569;
  --cell-class-bg: rgba(255, 255, 255, 0.45);
}

[data-theme="dark"] {
  /* Color Tokens - Dark Mode */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: #1e293b;
  --bg-sidebar: #090d16;
  
  --text-primary: #f8fafc;
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --primary: #818cf8;
  --primary-hover: #6366f1;
  --primary-light: rgba(129, 140, 248, 0.15);
  --primary-gradient: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  --primary-glow: rgba(129, 140, 248, 0.4);
  
  --success: #34d399;
  --success-light: rgba(52, 211, 153, 0.15);
  --error: #fb7185;
  --error-light: rgba(251, 113, 133, 0.15);
  --warning: #fbbf24;
  --warning-light: rgba(251, 191, 36, 0.15);
  
  --border-color: #334155;
  --border-glass: rgba(30, 41, 59, 0.7);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);

  /* Schedule grid theme variables - Dark Mode */
  --cell-text-primary: #f8fafc;
  --cell-text-secondary: #cbd5e1;
  --cell-class-bg: rgba(0, 0, 0, 0.35);
}


/* ========================================== */
/* END FILE: 01_variables.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 02_base_layout.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 96-360)
 */

/* ==========================================================================
   Base Resets
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

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

/* ==========================================================================
   Layout Structure
   ========================================================================== */
.app-container {
  display: flex;
  width: 100vw;
  min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
  width: 280px;
  background-color: var(--bg-sidebar);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
  transition: transform var(--transition-normal), width var(--transition-normal);
  overflow-y: auto;
  height: 100vh;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.sidebar::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding-left: 0.5rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.nav-item button {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.nav-item button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: transform var(--transition-fast);
}

.nav-item button:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-item button:hover svg {
  transform: translateX(2px);
}

.nav-item.active button {
  color: #fff;
  background: var(--primary-gradient);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  position: relative;
}

/* Header */
.top-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.page-title h1 {
  font-size: 1.75rem;
  color: var(--text-primary);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--border-color);
  color: var(--text-primary);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

/* Workspace Container */
.content-body {
  padding: 2rem 2rem 120px 2rem;
  flex-grow: 1;
}

/* Views Wrapper */
.view-panel {
  display: none;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-panel.active {
  display: block;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseBorder {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

@keyframes progress-fill {
  from { stroke-dashoffset: 283; }
  to { stroke-dashoffset: var(--score-offset, 0); }
}


/* ========================================== */
/* END FILE: 02_base_layout.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 03_components.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 361-562)
 */

/* ==========================================================================
   Shared UI Components
   ========================================================================== */

/* Glass Cards */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.card-premium {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px var(--primary-glow);
  opacity: 0.95;
}

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

.btn-secondary {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

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

.btn-success {
  background-color: var(--success);
  color: white;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.btn-danger {
  background-color: var(--error);
  color: white;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.2);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(244, 63, 94, 0.3);
}

.btn-accent {
  background-color: var(--warning);
  color: white !important;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
  opacity: 0.95;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-easy { background-color: var(--success-light); color: var(--success); }
.badge-medium { background-color: var(--warning-light); color: var(--warning); }
.badge-hard { background-color: var(--error-light); color: var(--error); }

.badge-category {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

select.form-control {
  cursor: pointer;
}

/* Fix: select option teks tidak terlihat di dark mode
   Browser native dropdown pakai warna OS, kita override agar konsisten */
select option {
  background-color: var(--bg-card, #ffffff);
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] select option {
  background-color: #1e293b;
  color: #f8fafc;
}

[data-theme="dark"] select option:checked,
[data-theme="dark"] select option:hover {
  background-color: #334155;
  color: #f8fafc;
}


/* ========================================== */
/* END FILE: 03_components.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 04_views_siswa.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 563-1064)
 */

/* ==========================================================================
   Dashboard View
   ========================================================================== */
.welcome-banner {
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.welcome-banner h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.welcome-banner p {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
}

.welcome-banner-bg {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(20px);
}

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

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-icon.primary { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.stat-icon.success { background: linear-gradient(135deg, #10b981, #059669); }
.stat-icon.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-icon.info { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.stat-details h3 {
  font-size: 1.75rem;
  line-height: 1.2;
}

.stat-details p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Dashboard Action Cards */
.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.action-card {
  display: flex;
  flex-direction: column;
  height: auto;
}

.action-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.action-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   Quiz View
   ========================================================================== */
.quiz-setup-container {
  max-width: 600px;
  margin: 2rem auto;
}

.setup-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* Active Quiz Layout */
.quiz-active-container {
  max-width: 800px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.quiz-progress-bar-container {
  height: 8px;
  background-color: var(--bg-secondary);
  border-radius: 4px;
  width: 100%;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--primary-gradient);
  width: 0%;
  transition: width 0.3s ease;
}

.quiz-meta-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.quiz-timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.quiz-timer.low-time {
  color: var(--error);
  animation: pulseBorder 1s infinite;
  border-radius: var(--radius-sm);
  padding: 2px 6px;
}

.quiz-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quiz-question-container {
  margin-bottom: 2rem;
}

.quiz-question-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.quiz-question-text {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Option Choices */
.choices-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.choice-option {
  display: flex;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  width: 100%;
  position: relative;
}

.choice-option:hover {
  background-color: var(--bg-secondary);
  border-color: var(--primary);
  transform: translateX(4px);
}

.choice-option.selected {
  background-color: var(--primary-light);
  border-color: var(--primary);
  font-weight: 600;
}

.choice-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.choice-option.selected .choice-letter {
  background-color: var(--primary);
  color: white;
}

.choice-text {
  flex-grow: 1;
}

/* Short Answer Input */
.short-answer-input-container {
  margin-top: 1rem;
}

.short-answer-input {
  font-size: 1.1rem;
  padding: 1rem;
}

/* Quiz Controls */
.quiz-footer-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.flag-btn {
  color: var(--warning);
}
.flag-btn.flagged {
  background-color: var(--warning);
  color: white;
  border-color: var(--warning);
}

/* ==========================================================================
   Review Panel
   ========================================================================== */
.review-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.review-dot {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.review-dot:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.review-dot.answered {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.review-dot.unanswered {
  border-color: var(--text-muted);
}

.review-dot.flagged {
  border-color: var(--warning);
  background-color: var(--warning-light);
  color: var(--warning);
  position: relative;
}

.review-dot.flagged::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  background-color: var(--warning);
  border-radius: 50%;
}

/* ==========================================================================
   Results View
   ========================================================================== */
.results-container {
  max-width: 800px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}

.score-circle {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 1.5rem;
}

.score-svg {
  transform: rotate(-90deg);
  width: 160px;
  height: 160px;
}

.score-circle-bg {
  fill: none;
  stroke: var(--bg-secondary);
  stroke-width: 12px;
}

.score-circle-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 12px;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.5s ease-out;
}

.score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-percentage {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.score-ratio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.results-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin-top: 1.5rem;
}

.summary-item {
  background-color: var(--bg-primary);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.summary-val {
  font-size: 1.25rem;
  font-weight: 700;
}

.summary-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Detail Answers List */
.details-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-item {
  border-left: 4px solid var(--text-muted);
}

.result-item.correct { border-left-color: var(--success); }
.result-item.incorrect { border-left-color: var(--error); }

.result-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.result-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.result-status-badge.correct { background-color: var(--success-light); color: var(--success); }
.result-status-badge.incorrect { background-color: var(--error-light); color: var(--error); }

.result-answer-check {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  margin-bottom: 0.75rem;
}

.result-explanation {
  background-color: var(--primary-light);
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  border-left: 2px solid var(--primary);
}

/* ==========================================================================
   MOBILE RESPONSIVE OPTIMIZATIONS (ZERO-BYPASS & COMPACT FOOTER NAV)
   ========================================================================== */
@media (max-width: 768px) {
  /* Panel Ujian Utama: buat layout lebih longgar */
  .quiz-active-container {
    gap: 0.75rem;
    margin: 0.5rem auto;
  }

  .quiz-header {
    padding: 0.75rem 1rem;
  }

  /* Footer navigasi diposisikan sebagai sticky di bagian bawah agar tidak terdorong keluar layar */
  .quiz-footer-nav {
    position: sticky;
    bottom: 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
  }

  /* Desain tombol-tombol navigasi bawah agar muat dalam satu baris */
  .quiz-footer-nav .btn {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .quiz-nav-right-group {
    gap: 0.4rem !important;
  }
}

@media (max-width: 576px) {
  /* Sembunyikan label teks pada tombol navigasi untuk menghemat ruang horizontal */
  .quiz-footer-nav .nav-btn-text {
    display: none;
  }

  /* Perkecil padding dan hilangkan tulisan panjang agar tidak memakan baris */
  .quiz-footer-nav .btn {
    padding: 0.5rem 0.6rem !important;
    min-width: 44px;
    height: 38px;
  }

  /* Buat tombol Lanjut / Selesai tetap memiliki teks ringkas tapi pas */
  #btn-quiz-next {
    padding: 0.5rem 0.8rem !important;
  }

  /* Sesuaikan ukuran kamera melayang (floating camera) pada layar HP agar tidak menutupi area klik */
  .floating-camera-container {
    bottom: 12px;
    right: 12px;
    width: 100px;
    height: 75px;
    border-width: 2px;
    box-shadow: var(--shadow-md), 0 0 10px rgba(99, 102, 241, 0.3);
  }
}



/* ========================================== */
/* END FILE: 04_views_siswa.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 05_views_admin.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 1065-1359)
 */

/* ==========================================================================
   Question Manager View
   ========================================================================== */
.manager-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  min-width: 250px;
}

.search-wrapper svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.search-wrapper input {
  padding-left: 2.25rem;
}

/* Table Style */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-card);
}

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

.questions-table th {
  background-color: var(--bg-secondary);
  padding: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

.questions-table tr:last-child td {
  border-bottom: none;
}

.question-cell-text {
  font-weight: 500;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.actions-cell {
  display: flex;
  gap: 0.5rem;
}

.btn-table-action {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-table-action:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-table-action.delete:hover {
  background-color: var(--error-light);
  color: var(--error);
  border-color: var(--error-light);
}

/* Add Question Modal / Form Drawer */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(9, 13, 22, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

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

.modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Dynamic Choices Input List */
.choice-input-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.choice-radio-marker {
  cursor: pointer;
}

/* ==========================================================================
   Upload Center View
   ========================================================================== */
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .upload-grid {
    grid-template-columns: 1fr;
  }
}

.dropzone-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-color);
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 250px;
}

.dropzone-container:hover, .dropzone-container.dragover {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.dropzone-icon {
  color: var(--primary);
  margin-bottom: 1rem;
  animation: pulseBorder 2s infinite;
  border-radius: 50%;
  padding: 12px;
}

.dropzone-container svg {
  width: 48px;
  height: 48px;
}

.dropzone-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.dropzone-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

#file-input {
  display: none;
}

/* Preview Table */
.preview-container {
  margin-top: 2rem;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* Template Card Items */
.templates-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.template-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.template-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.template-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.template-text h4 {
  font-size: 0.95rem;
}

.template-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}


/* ========================================== */
/* END FILE: 05_views_admin.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 06_responsive_custom.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 1360-1673)
 */

/* ==========================================================================
   Responsive Breakpoints & Utility Styles
   ========================================================================== */
@media (max-width: 1024px) {
  .sidebar {
    width: 80px;
    padding: 2rem 0.5rem;
    align-items: center;
  }
  
  .brand-name, .nav-text, .sidebar-footer span {
    display: none;
  }
  
  .brand {
    padding: 0;
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .nav-item button {
    justify-content: center;
    padding: 0.85rem;
  }
  
  .nav-item button svg {
    margin: 0;
  }
  
  .nav-item button:hover svg {
    transform: scale(1.1);
  }
}

@media (max-width: 640px) {
  .app-container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100vw;
    height: auto;
    flex-direction: row;
    padding: 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: space-between;
    align-items: center;
  }
  
  .brand {
    margin-bottom: 0;
  }
  
  .nav-menu {
    flex-direction: row;
    gap: 0.25rem;
    flex-grow: 0;
  }
  
  .sidebar-footer {
    display: none;
  }
  
  .main-content {
    height: calc(100vh - 73px);
  }
  
  .top-header {
    padding: 1rem;
  }
  
  .content-body {
    padding: 1rem;
  }
  
  .welcome-banner {
    padding: 1.5rem;
  }
  
  .welcome-banner h2 {
    font-size: 1.75rem;
  }
  
  .results-summary {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Manual Custom Scrollbar (Light & Dark Mode)
   ========================================================================== */
/* Custom Scrollbar - Light Mode */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

::-webkit-scrollbar-corner {
  background: var(--bg-secondary);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) var(--bg-secondary);
}

/* Dark mode scrollbar */
[data-theme="dark"]::-webkit-scrollbar-track {
  background: #0f172a;
}
[data-theme="dark"]::-webkit-scrollbar-thumb {
  background: #334155;
  border: 2px solid #0f172a;
}
[data-theme="dark"]::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
[data-theme="dark"]::-webkit-scrollbar-corner {
  background: #0f172a;
}
[data-theme="dark"] * {
  scrollbar-color: #334155 #0f172a;
}

/* ==========================================================================
   Manual Custom Checkbox & Radio Button Styles
   ========================================================================== */

/* Hide native checkbox & radio, replace with custom */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  cursor: pointer;
  vertical-align: middle;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  flex-shrink: 0;
}

input[type="checkbox"] {
  border-radius: 5px;
}

input[type="radio"] {
  border-radius: 50%;
}

/* Checked states */
input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

input[type="radio"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

/* Checkmark for checkbox */
input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 4px;
  height: 7px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* Dot for radio */
input[type="radio"]:checked::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

/* Focus ring */
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Hover */
input[type="checkbox"]:not(:checked):hover,
input[type="radio"]:not(:checked):hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* Disabled */
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Dark mode adjustments */
[data-theme="dark"] input[type="checkbox"],
[data-theme="dark"] input[type="radio"] {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] input[type="checkbox"]:not(:checked):hover,
[data-theme="dark"] input[type="radio"]:not(:checked):hover {
  border-color: var(--primary);
  background: rgba(129, 140, 248, 0.15);
}

/* ==========================================================================
   Manual Custom Input Number Spinner (hide native arrows, add custom)
   ========================================================================== */

/* Hide default browser number spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield;
}

/* ==========================================================================
   New Question Types (Checkbox & Essay) Styles
   ========================================================================== */
.choice-option.multiple-response .choice-letter {
  border-radius: var(--radius-sm);
}

.essay-textarea {
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
  font-size: 1rem;
}

.essay-comparison-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .essay-comparison-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.essay-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.essay-box h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.essay-content {
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: pre-wrap;
}

.badge-essay-grade {
  background-color: var(--warning-light);
  color: var(--warning);
  font-weight: 700;
}


/* ========================================== */
/* END FILE: 06_responsive_custom.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 07_login_chat.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 1674-2283)
 */

/* ==========================================================================
   LAN Exam Portal & Multi-user Login Styles
   ========================================================================= */
/* ==========================================================================
   WGU-style Landing Page & Modal Overlay Styles
   ========================================================================= */

.wgu-landing-container {
  width: 100%;
  min-height: 100vh;
  background-image: linear-gradient(rgba(248, 250, 252, 0.88), rgba(241, 245, 249, 0.94)), 
                    url('computer_lab_classroom.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect! */
  background-repeat: no-repeat;
  color: #1e293b; /* Dark slate text for bright backdrop */
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* WGU Style Top bar utility */
.wgu-top-bar {
  background-color: #0b2240; /* Navy */
  color: rgba(255, 255, 255, 0.9);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.wgu-top-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.wgu-top-right {
  display: flex;
  align-items: center;
}

.wgu-top-login-btn {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  transition: background 0.2s ease;
}

.wgu-top-login-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* WGU Style Main Nav bar - Floating Pill Design */
.wgu-main-nav {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 15px; /* Float from the top! */
  margin: 15px 4rem 0 4rem; /* Floating side margins */
  border-radius: 40px; /* Fully pill-shaped floating navbar! */
  border: 1px solid rgba(255, 255, 255, 0.7);
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wgu-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0b2240;
}

.wgu-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.wgu-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.wgu-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wgu-nav-links a {
  text-decoration: none;
  color: #334155; /* Slate 700 */
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.25s ease;
  position: relative;
}

.wgu-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.wgu-nav-links a:hover {
  color: var(--primary);
}

.wgu-nav-links a:hover::after {
  width: 16px;
}

.wgu-nav-btns {
  display: flex;
  gap: 0.75rem;
}

/* Custom header buttons override for a clean bright look */
.wgu-nav-btns .btn-secondary {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  transition: all 0.2s ease;
}

.wgu-nav-btns .btn-secondary:hover {
  background: rgba(99, 102, 241, 0.05); /* Light branding tint */
  transform: translateY(-2px);
}

.wgu-nav-btns .btn-primary {
  background: var(--primary-gradient);
  border: none;
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: all 0.2s ease;
}

.wgu-nav-btns .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

/* WGU Style Hero Section */
.wgu-hero {
  background: transparent;
  height: 500px;
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  z-index: 1;
}

.wgu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  opacity: 0.06; /* Extremely soft branding tint to blend seamlessly on bright backdrop */
  z-index: -1;
}

/* WGU Hero content columns */
.wgu-hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* Three Column Hero Layout */
.wgu-hero-content.three-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wgu-hero-center {
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 10;
}

.wgu-hero-center h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #0b2240;
  letter-spacing: -0.5px;
}

.wgu-hero-center p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.wgu-hero-center .wgu-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.wgu-hero-side-student {
  position: absolute;
  bottom: 0;
  height: 500px;  /* Full hero height */
  width: 320px;  /* Wider container for larger zoomed-in image */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden; /* Crops the legs slightly to look large and waist-up */
  z-index: 2;
  pointer-events: none; /* Make sure it doesn't block clicks in empty space */
}

.left-student {
  left: 0; /* Placed at absolute screen edges */
}

.right-student {
  right: 0; /* Placed at absolute screen edges */
}

.wgu-student-img-standing {
  height: 125%; /* Zoom in slightly to show green skirt/uniform detail but look very large */
  width: 125%;
  object-fit: contain;
  object-position: top center; /* Show head and torso, hide legs */
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
  pointer-events: auto; /* Re-enable pointer events for hover effect */
  transform: translateY(15px);
}

.wgu-student-img-standing:hover {
  transform: translateY(5px) scale(1.02);
}

/* Khalila Label Tag */
.khalila-tag {
  position: absolute;
  top: 15px;
  right: 25px;
  background: var(--primary-gradient);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--primary-glow);
  z-index: 10;
}

/* Bottom Category Cards container overlapping the Hero bottom */
.wgu-cards-container {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  transform: translateY(-80px);
  position: relative;
  z-index: 10;
}

/* White Category Cards */
.wgu-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 240px;
}

/* Card Siswa Color modifier */
.wgu-card.card-siswa {
  border-top: 4px solid var(--siswa-color, #3b82f6);
  background: var(--siswa-bg, linear-gradient(135deg, #f0f7ff, #e0f2fe));
}
.wgu-card.card-siswa:hover {
  border-top-color: var(--siswa-color-hover, #2563eb);
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -5px var(--siswa-shadow, rgba(59, 130, 246, 0.12)), 0 0 15px var(--siswa-glow, rgba(59, 130, 246, 0.06));
}
.wgu-card.card-siswa .wgu-arrow-circle {
  background: var(--siswa-icon-bg, rgba(59, 130, 246, 0.08));
  color: var(--siswa-color, #3b82f6);
}
.wgu-card.card-siswa .wgu-card-links a:hover {
  color: var(--siswa-color-hover, #2563eb);
}
.wgu-card.card-siswa .wgu-card-links a:hover .wgu-arrow-circle {
  background: var(--siswa-color, #3b82f6);
  color: white;
}

/* Card Guru Color modifier */
.wgu-card.card-guru {
  border-top: 4px solid var(--guru-color, #10b981);
  background: var(--guru-bg, linear-gradient(135deg, #f0fdf4, #dcfce7));
}
.wgu-card.card-guru:hover {
  border-top-color: var(--guru-color-hover, #059669);
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -5px var(--guru-shadow, rgba(16, 185, 129, 0.12)), 0 0 15px var(--guru-glow, rgba(16, 185, 129, 0.06));
}
.wgu-card.card-guru .wgu-arrow-circle {
  background: var(--guru-icon-bg, rgba(16, 185, 129, 0.08));
  color: var(--guru-color, #10b981);
}
.wgu-card.card-guru .wgu-card-links a:hover {
  color: var(--guru-color-hover, #059669);
}
.wgu-card.card-guru .wgu-card-links a:hover .wgu-arrow-circle {
  background: var(--guru-color, #10b981);
  color: white;
}

/* Card Pengawas Color modifier */
.wgu-card.card-pengawas {
  border-top: 4px solid var(--pengawas-color, #f59e0b);
  background: var(--pengawas-bg, linear-gradient(135deg, #fffbeb, #fef3c7));
}
.wgu-card.card-pengawas:hover {
  border-top-color: var(--pengawas-color-hover, #d97706);
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -5px var(--pengawas-shadow, rgba(245, 158, 11, 0.12)), 0 0 15px var(--pengawas-glow, rgba(245, 158, 11, 0.06));
}
.wgu-card.card-pengawas .wgu-arrow-circle {
  background: var(--pengawas-icon-bg, rgba(245, 158, 11, 0.08));
  color: var(--pengawas-color, #f59e0b);
}
.wgu-card.card-pengawas .wgu-card-links a:hover {
  color: var(--pengawas-color-hover, #d97706);
}
.wgu-card.card-pengawas .wgu-card-links a:hover .wgu-arrow-circle {
  background: var(--pengawas-color, #f59e0b);
  color: white;
}

/* Card Admin Color modifier */
.wgu-card.card-admin {
  border-top: 4px solid var(--admin-color, #8b5cf6);
  background: var(--admin-bg, linear-gradient(135deg, #faf5ff, #f3e8ff));
}
.wgu-card.card-admin:hover {
  border-top-color: var(--admin-color-hover, #7c3aed);
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -5px var(--admin-shadow, rgba(139, 92, 246, 0.12)), 0 0 15px var(--admin-glow, rgba(139, 92, 246, 0.06));
}
.wgu-card.card-admin .wgu-arrow-circle {
  background: var(--admin-icon-bg, rgba(139, 92, 246, 0.08));
  color: var(--admin-color, #8b5cf6);
}
.wgu-card.card-admin .wgu-card-links a:hover {
  color: var(--admin-color-hover, #7c3aed);
}
.wgu-card.card-admin .wgu-card-links a:hover .wgu-arrow-circle {
  background: var(--admin-color, #8b5cf6);
  color: white;
}

.wgu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.12), 0 0 20px rgba(99, 102, 241, 0.05);
}

.wgu-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wgu-card-title-icon {
  font-size: 1.3rem;
  background: var(--bg-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.wgu-card-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.wgu-card-links li {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.75rem;
}

.wgu-card-links li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wgu-card-links a {
  text-decoration: none;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.wgu-card-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Blue circle arrow icon */
.wgu-arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.wgu-card-links a:hover .wgu-arrow-circle {
  background: var(--primary);
  color: white;
  transform: translateX(3px);
}

/* Glassmorphic Modal Login Overlay */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1500;
  display: none; /* Controlled by JS */
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-modal-content {
  background: var(--bg-card);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 50px var(--primary-glow);
  position: relative;
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 3rem 2.5rem;
}

/* Modal Close Button */
.btn-close-modal {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.btn-close-modal:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: rotate(90deg);
}

/* Feature grid under landing */
.wgu-features-grid-section {
  max-width: 1200px;
  margin: -1rem auto 4rem auto;
  padding: 0 4rem;
}

.wgu-features-grid-section h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  color: #0f172a; /* Dark slate for bright background */
}

.wgu-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.wgu-feature-box {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  background: #ffffff;
}

/* Feature Blue (Platform Ujian) */
.wgu-feature-box.feat-blue {
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  border: 1px solid #bae6fd;
}
.wgu-feature-box.feat-blue h4 {
  color: #0369a1;
}
.wgu-feature-box.feat-blue:hover {
  border-color: #0284c7;
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -3px rgba(2, 132, 199, 0.12);
}

/* Feature Purple (AI CSP Scheduler) */
.wgu-feature-box.feat-purple {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  border: 1px solid #e9d5ff;
}
.wgu-feature-box.feat-purple h4 {
  color: #7e22ce;
}
.wgu-feature-box.feat-purple:hover {
  border-color: #9333ea;
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -3px rgba(147, 51, 234, 0.12);
}

/* Feature Emerald (Anti-Cheat) */
.wgu-feature-box.feat-emerald {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
}
.wgu-feature-box.feat-emerald h4 {
  color: #15803d;
}
.wgu-feature-box.feat-emerald:hover {
  border-color: #16a34a;
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -3px rgba(22, 163, 74, 0.12);
}

/* Feature Amber (Word/Excel Import) */
.wgu-feature-box.feat-amber {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
}
.wgu-feature-box.feat-amber h4 {
  color: #b45309;
}
.wgu-feature-box.feat-amber:hover {
  border-color: #d97706;
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -3px rgba(217, 119, 6, 0.12);
}

.wgu-feature-box-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.wgu-feature-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}

.wgu-feature-box p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Stylish Input Wrappers with Icons */
.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.input-icon-wrapper .form-control {
  padding-left: 2.5rem;
}

.input-icon-wrapper .form-control:focus + .input-icon {
  color: var(--primary);
}

/* Login submit button */
.btn-login-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: all var(--transition-fast);
}

.btn-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.login-card {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
}

.login-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.login-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}

.login-header p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

.login-footer {
  text-align: left;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hint-accounts {
  font-size: 0.7rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  color: var(--text-secondary);
}

.hint-accounts span {
  font-weight: bold;
  color: var(--primary);
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .login-container-split {
    flex-direction: column;
    height: auto;
    max-width: 440px;
    border-radius: var(--radius-xl);
  }
  
  .login-showcase {
    display: none; /* Hide showcase on small screens to focus strictly on login card */
  }

  .login-card {
    padding: 2.5rem 2rem;
  }
}

/* Wifi LAN sharing badge */
.wifi-join-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.wifi-join-info strong {
  font-weight: 700;
  text-decoration: underline;
}

/* Fullscreen Siswa Exam mode */
body.siswa-fullscreen .sidebar {
  display: none !important;
}

body.siswa-fullscreen .main-content {
  width: 100vw !important;
  height: 100vh !important;
}

body.siswa-fullscreen .top-header {
  padding: 1rem 1.5rem;
}

body.siswa-fullscreen .wifi-join-info {
  display: none !important;
}

/* Siswa Active Quiz View Layout Adjustments (Visual Fullscreen) */
body.siswa-fullscreen.siswa-quiz-mode .top-header {
  display: none !important;
}

body.siswa-fullscreen.siswa-quiz-mode .main-content {
  padding: 0 !important;
  margin: 0 !important;
  height: 100vh !important;
  width: 100vw !important;
}

body.siswa-fullscreen.siswa-quiz-mode .content-body {
  padding: 0.5rem !important; /* Minimize padding on phone screens */
}

/* Teacher Grading Styles */
.grading-essay-question {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.grading-essay-question h5 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.grading-answer-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grading-answer-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.grading-answer-box-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.grading-score-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
  gap: 1rem;
}

.grading-inputs {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.grading-score-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.grading-score-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.grading-comment-input {
  flex-grow: 1;
}

/* General layout adjustments */
.usermanager-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .usermanager-grid {
    grid-template-columns: 1fr;
  }
}

/* Switch Toggle & Pulser for Internet Control */
.switch-container {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

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

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

.switch-container .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.switch-container input:checked + .slider {
  background-color: var(--success, #10b981);
}

.switch-container input:focus + .slider {
  box-shadow: 0 0 1px var(--success, #10b981);
}

.switch-container input:checked + .slider:before {
  transform: translateX(28px);
}

/* Red indicator if blocked */
.switch-container input:not(:checked) + .slider {
  background-color: var(--error, #ef4444);
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dashboard Editor: preset color swatches */
.dash-preset-color {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  padding: 0;
}
.dash-preset-color:hover,
.dash-preset-color.active {
  transform: scale(1.2);
  border-color: white;
  box-shadow: 0 0 0 2px var(--primary);
}

/* Dashboard Editor: image drop zone drag-over */
#dash-image-drop-zone.drag-over {
  border-color: var(--primary);
  background-color: var(--primary-light, rgba(79,70,229,0.08));
}

/* User Manager Layout */
.usermanager-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 1.5rem;
  align-items: start;
}

.user-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .usermanager-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* Clickable Student Name */
.clickable-student-name {
  cursor: pointer;
  color: var(--primary);
  text-decoration: underline;
}
.clickable-student-name:hover {
  opacity: 0.8;
}

/* Print Styling */
@media print {
  .sidebar,
  .top-header,
  #btn-grade-back-list,
  .btn,
  button,
  header,
  aside {
    display: none !important;
  }

  .main-content {
    margin-left: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt !important;
  }

  .card, .card-premium {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .result-item {
    border: 1px solid #ccc !important;
    margin-bottom: 1rem !important;
    padding: 1rem !important;
    page-break-inside: avoid;
  }
}

/* Single Subject Card Printing */
@media print {
  body.printing-mode-single-subject > * {
    display: none !important;
  }
  body.printing-mode-single-subject .printing-active-subject {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.printing-mode-single-subject .printing-active-subject .btn,
  body.printing-mode-single-subject .printing-active-subject button {
    display: none !important;
  }
}

/* RPP Printing Layout */
@media print {
  body.printing-rpp-mode > * {
    display: none !important;
  }
  body.printing-rpp-mode #rpp-print-area {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ==========================================================================
   18. SUPPORT CHATROOM STYLING
   ========================================================================== */
.chat-message-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  max-width: 80%;
  align-items: flex-start;
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-message-item.self {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-item.other {
  align-self: flex-start;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  background: var(--primary-gradient);
  text-transform: uppercase;
}

.chat-message-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chat-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.25rem;
}

.chat-message-item.self .chat-meta {
  justify-content: flex-end;
}

.chat-sender-name {
  font-weight: 600;
  color: var(--text-secondary);
}

.chat-role-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.chat-role-badge.guru {
  background-color: var(--success-light);
  color: var(--success);
}

.chat-role-badge.admin {
  background-color: var(--error-light);
  color: var(--error);
}

.chat-role-badge.superuser {
  background-color: var(--warning-light);
  color: var(--warning);
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
  box-shadow: var(--shadow-sm);
}

.chat-message-item.self .chat-bubble {
  background: var(--primary-gradient);
  color: white;
  border-top-right-radius: 2px;
}

.chat-message-item.other .chat-bubble {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-top-left-radius: 2px;
  border: 1px solid var(--border-color);
}

.chat-time {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* ==========================================================================
   19. FLOATING CHAT WIDGET STYLES
   ========================================================================== */
#floating-chat-bubble {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: none; /* Diatur dinamis oleh app.js */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#floating-chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

#floating-chat-bubble:active {
  transform: scale(0.95);
}

#floating-chat-window {
  position: fixed;
  bottom: 90px;
  left: 24px;
  width: 380px;
  height: 500px;
  max-height: calc(100vh - 120px);
  max-width: calc(100vw - 48px);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: none; /* Diatur dinamis oleh app.js */
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  animation: chatSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-unread-dot {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 14px;
  height: 14px;
  background-color: var(--error);
  border: 2px solid white;
  border-radius: 50%;
  display: none;
}

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

/* Responsive Overrides for Three-Column Hero Layout */
@media (max-width: 1100px) {
  .wgu-hero-side-student {
    display: none !important;
  }
  .wgu-hero-center {
    flex: 1;
    padding: 0;
  }
  .wgu-hero-center h1 {
    font-size: 2rem;
  }
}

/* =====================================================
   Explanations & Guide Section — Premium Design
   ===================================================== */

/* Section outer wrapper */
.wgu-explanations-section {
  position: relative;
}
.wgu-explanations-section::before {
  content: '';
  position: absolute;
  inset: -3rem -50vw;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8f4fd 50%, #f1f5f9 100%);
  z-index: -1;
}

/* Grid layout */
.wgu-explain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .wgu-explain-grid { grid-template-columns: 1fr; }
}

/* ── Explain Card ── */
.wgu-explain-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 6px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
  border: none !important;
}
.wgu-explain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.05);
}

/* ── Gradient header bar ── */
.wgu-explain-title-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.6rem 2rem;
  margin: 0;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.wgu-explain-title-bar::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
}
.wgu-explain-card.card-siswa .wgu-explain-title-bar {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}
.wgu-explain-card.card-guru .wgu-explain-title-bar {
  background: linear-gradient(135deg, #059669 0%, #34d399 100%);
}
.wgu-explain-card.card-pengawas .wgu-explain-title-bar {
  background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
}
.wgu-explain-card.card-admin .wgu-explain-title-bar {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

/* ── Icon circle in header ── */
.wgu-explain-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.4);
}
/* legacy class fallback */
.wgu-explain-icon { font-size: 1.6rem; }

.wgu-explain-title-bar h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ── Content area ── */
.wgu-explain-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-grow: 1;
  padding: 1.75rem 2rem;
}

/* ── Numbered item ── */
.wgu-explain-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 14px;
  align-items: start;
  padding: 1rem 0.75rem;
  margin: 0 -0.75rem;
  border-radius: 12px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.wgu-explain-item:last-of-type { border-bottom: none; }
.wgu-explain-item:hover {
  background: rgba(248,250,252,0.8);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
}

/* step number badge */
.wgu-explain-item::before {
  content: attr(data-step);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  margin-top: 2px;
  grid-row: 1 / 3;
}
.wgu-explain-card.card-siswa .wgu-explain-item::before {
  background: linear-gradient(135deg,#dbeafe,#bfdbfe);
  color: #1d4ed8;
}
.wgu-explain-card.card-guru .wgu-explain-item::before {
  background: linear-gradient(135deg,#d1fae5,#a7f3d0);
  color: #065f46;
}
.wgu-explain-card.card-pengawas .wgu-explain-item::before {
  background: linear-gradient(135deg,#fef3c7,#fde68a);
  color: #92400e;
}
.wgu-explain-card.card-admin .wgu-explain-item::before {
  background: linear-gradient(135deg,#ede9fe,#ddd6fe);
  color: #5b21b6;
}

/* Item text */
.wgu-explain-item h5 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #1e293b;
  grid-column: 2;
  line-height: 1.3;
}
.wgu-explain-item p {
  font-size: 0.80rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  grid-column: 2;
}

/* ── Hover highlight (JS-triggered) ── */
.wgu-explain-item.highlight-pulse {
  border-left: 4px solid;
  padding-left: 1.5rem !important;
  margin-left: -1.5rem !important;
  transform: scale(1.01);
}
.wgu-explain-card.card-siswa .wgu-explain-item.highlight-pulse {
  background: rgba(59,130,246,0.08);
  border-left-color: #3b82f6;
  box-shadow: 0 4px 18px rgba(59,130,246,0.10);
}
.wgu-explain-card.card-siswa .wgu-explain-item.highlight-pulse h5 { color: #1e40af; }

.wgu-explain-card.card-guru .wgu-explain-item.highlight-pulse {
  background: rgba(16,185,129,0.08);
  border-left-color: #10b981;
  box-shadow: 0 4px 18px rgba(16,185,129,0.10);
}
.wgu-explain-card.card-guru .wgu-explain-item.highlight-pulse h5 { color: #065f46; }

.wgu-explain-card.card-pengawas .wgu-explain-item.highlight-pulse {
  background: rgba(245,158,11,0.08);
  border-left-color: #f59e0b;
  box-shadow: 0 4px 18px rgba(245,158,11,0.10);
}
.wgu-explain-card.card-pengawas .wgu-explain-item.highlight-pulse h5 { color: #78350f; }

.wgu-explain-card.card-admin .wgu-explain-item.highlight-pulse {
  background: rgba(139,92,246,0.08);
  border-left-color: #8b5cf6;
  box-shadow: 0 4px 18px rgba(139,92,246,0.10);
}
.wgu-explain-card.card-admin .wgu-explain-item.highlight-pulse h5 { color: #5b21b6; }

/* Smooth HTML scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for sticky/floating navbar */
}

/* ==========================================================================
   Announcement Ribbon & Reward Card (Program Apresiasi Rp 100 Juta)
   ========================================================================== */

.wgu-announcement-ribbon {
  background: linear-gradient(135deg, #0b2240 0%, #1e1b4b 50%, #311042 100%);
  border-bottom: 2px solid rgba(245, 158, 11, 0.4);
  color: #ffffff;
  padding: 0.6rem 2.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 101;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.wgu-announcement-ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-25deg);
  animation: wgu-shimmer 6s infinite linear;
}

@keyframes wgu-shimmer {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.wgu-announcement-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #f59e0b;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.wgu-announcement-pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border: 2px solid #f59e0b;
  border-radius: 50%;
  animation: wgu-ping 1.5s infinite ease-out;
}

@keyframes wgu-ping {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.wgu-announcement-link {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dashed #fbbf24;
  transition: all 0.2s ease;
  margin-left: 4px;
}

.wgu-announcement-link:hover {
  color: #ffffff;
  border-bottom-style: solid;
  border-bottom-color: #ffffff;
}

/* Reward Card Section */
.wgu-reward-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

.wgu-reward-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(245, 158, 11, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wgu-reward-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(245, 158, 11, 0.12), 0 1px 3px rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.6);
}

/* Glowing corner accents */
.wgu-reward-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.wgu-reward-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wgu-reward-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.wgu-reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.wgu-reward-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b2240;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.wgu-reward-prize-wrap {
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wgu-reward-prize-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wgu-reward-prize-amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #7c2d12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.1;
  filter: drop-shadow(0 2px 8px rgba(217, 119, 6, 0.15));
}

.wgu-reward-subtitle {
  font-size: 1rem;
  color: #475569;
  max-width: 600px;
  margin: 0.5rem auto 0;
  line-height: 1.6;
}

.wgu-reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
}

.wgu-reward-col {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: all 0.3s ease;
}

.wgu-reward-col:hover {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.wgu-reward-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.wgu-reward-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
}

.wgu-reward-col.siswa-col .wgu-reward-icon {
  background: rgba(99, 102, 241, 0.1);
}

.wgu-reward-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.wgu-reward-list li {
  font-size: 0.9rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.wgu-reward-list li::before {
  content: '✓';
  color: #10b981;
  font-weight: 900;
  font-size: 0.95rem;
  margin-top: 1px;
}

.wgu-reward-col.siswa-col li::before {
  color: #6366f1;
}

/* Dark mode overrides */
[data-theme="dark"] .wgu-reward-card {
  background: rgba(30, 41, 59, 0.65);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .wgu-reward-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

[data-theme="dark"] .wgu-reward-title {
  color: #f8fafc;
}

[data-theme="dark"] .wgu-reward-subtitle {
  color: #94a3b8;
}

[data-theme="dark"] .wgu-reward-col {
  background: rgba(15, 23, 42, 0.4);
  border-color: rgba(51, 65, 85, 0.8);
}

[data-theme="dark"] .wgu-reward-col:hover {
  background: rgba(15, 23, 42, 0.6);
}

[data-theme="dark"] .wgu-reward-col-title {
  color: #f8fafc;
}

[data-theme="dark"] .wgu-reward-list li {
  color: #cbd5e1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .wgu-reward-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .wgu-reward-card {
    padding: 1.8rem;
  }
  .wgu-reward-title {
    font-size: 1.75rem;
  }
  .wgu-reward-prize-amount {
    font-size: 2.2rem;
  }
  .wgu-announcement-ribbon {
    font-size: 0.78rem;
    padding: 0.6rem 1rem;
  }
}


/* ========================================== */
/* END FILE: 07_login_chat.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 08_proctor_monitor.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 2284-3148)
 */

/* ==========================================================================
   PENGAWAS UJIAN (PROCTOR MODE) STYLES
   ========================================================================== */

/* Proctor stats grid */
.proctor-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 0;
}

.proctor-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}

.proctor-stat-card:hover {
  transform: translateY(-3px);
}

.proctor-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proctor-stat-info {
  flex: 1;
}

.proctor-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.proctor-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proctor-stat-danger {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.04);
}

.proctor-stat-danger .proctor-stat-num {
  color: #dc2626;
}

/* Status dot indicators */
.proctor-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.dot-online { background: #0ea5e9; }
.dot-working { background: #8b5cf6; animation: dotPulse 1.5s infinite; }
.dot-done { background: #10b981; }
.dot-offline { background: #94a3b8; }
.dot-locked { background: #f59e0b; }
.dot-blocked { background: #ef4444; }

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Table row highlighting */
.proctor-row-warning td {
  background: rgba(239, 68, 68, 0.04);
}

.proctor-row-warning:hover td {
  background: rgba(239, 68, 68, 0.08);
}

.proctor-row-locked td {
  background: rgba(245, 158, 11, 0.05);
}

/* Proctor action buttons */
.btn-proctor-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: var(--font-body);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.btn-proctor-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-proctor-action.btn-lock {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.25);
}

.btn-proctor-action.btn-lock:hover {
  background: rgba(245, 158, 11, 0.2);
}

.btn-proctor-action.btn-unlock {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.btn-proctor-action.btn-unlock:hover {
  background: rgba(16, 185, 129, 0.2);
}

.btn-proctor-action.btn-block {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.25);
}

.btn-proctor-action.btn-block:hover {
  background: rgba(239, 68, 68, 0.2);
}

.btn-proctor-action.btn-unblock {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.btn-proctor-action.btn-reset {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.25);
}

.btn-proctor-action.btn-reset:hover {
  background: rgba(99, 102, 241, 0.2);
}

.btn-proctor-action.btn-snapshot {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.25);
}

.btn-proctor-action.btn-snapshot:hover {
  background: rgba(6, 182, 212, 0.2);
}

.btn-proctor-action.btn-gallery {
  background: rgba(107, 114, 128, 0.1);
  color: #4b5563;
  border-color: rgba(107, 114, 128, 0.25);
}

.btn-proctor-action.btn-gallery:hover {
  background: rgba(107, 114, 128, 0.2);
}

/* Alert banner for violations */
.proctor-alert-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #dc2626;
  font-size: 0.9rem;
  animation: fadeIn 0.4s ease;
}

[data-theme="dark"] .proctor-alert-banner {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.3);
  color: #f87171;
}

/* Claim badges */
.proctor-badge-free {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.proctor-badge-mine {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.proctor-badge-taken {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Live dot animation */
.proctor-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}

/* Table rows in proctor dashboard */
#view-pengawas table tr:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

#view-pengawas table tbody tr:hover td {
  background: var(--bg-secondary);
  transition: background 0.15s ease;
}

/* Premium blue toggle switch */
.premium-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.premium-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.premium-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color, #ccc);
  transition: .3s ease;
  border-radius: 22px;
}
.premium-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.premium-switch input:checked + .premium-slider {
  background-color: #0ea5e9; /* Beautiful primary blue */
}
.premium-switch input:checked + .premium-slider:before {
  transform: translateX(20px);
}

/* Sidebar Nav Group & Sub-menu Styles */
.nav-item-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nav-group-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.nav-group-header:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-group-header:hover svg:first-child {
  transform: translateX(2px);
}

.nav-item-group.active > .nav-group-header {
  color: #fff;
}

.sub-menu {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.2rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.sub-menu .nav-item button {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  gap: 0.75rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: none;
}

.sub-menu .nav-item.active button {
  color: var(--primary-light, #818cf8) !important;
  background: rgba(99, 102, 241, 0.1) !important;
  border-left-color: var(--primary) !important;
  box-shadow: none !important;
}

/* Dynamic Class Badge Selection Styles */
.class-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  min-height: 54px;
  align-items: center;
}
.class-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.class-badge:hover {
  border-color: var(--primary);
  color: var(--text-primary);
}
.class-badge.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
}

/* ==========================================================================
   Monitoring Kamera Melayang (Siswa) & Galeri Snapshot (Pengawas)
   ========================================================================== */
.floating-camera-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 160px;
  height: 120px;
  background-color: #000;
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(99, 102, 241, 0.4);
  overflow: hidden;
  z-index: 99999;
  transition: transform var(--transition-fast);
  pointer-events: none;
}

.floating-camera-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.floating-camera-indicator {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.floating-camera-indicator .dot {
  width: 7px;
  height: 7px;
  background-color: var(--error);
  border-radius: 50%;
  animation: blinkIndicator 1s infinite alternate;
}

@keyframes blinkIndicator {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

.snapshot-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 15px;
  max-height: 400px;
  overflow-y: auto;
  padding: 4px;
}

.snapshot-item {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.snapshot-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.snapshot-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.snapshot-item-info {
  padding: 6px;
  background-color: var(--bg-card);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: center;
  border-top: 1px solid var(--border-color);
  font-weight: 500;
}

.btn-delete-snapshot {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 10;
  background: rgba(220, 38, 38, 0.8);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.snapshot-item:hover .btn-delete-snapshot {
  opacity: 1;
}

.btn-delete-snapshot:hover {
  background-color: rgba(220, 38, 38, 1);
  transform: scale(1.1);
}

/* ==========================================================================
   Dashboard Top Grid Layout
   ========================================================================== */
.dashboard-top-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .dashboard-top-grid {
    grid-template-columns: 1fr;
  }
}

/* Guide Promo Card */
.guide-promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.guide-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.guide-promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #10b981, #059669);
}

.guide-promo-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  z-index: 1;
}

.guide-promo-badge {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.guide-promo-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.guide-promo-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.guide-promo-bg {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: rgba(16, 185, 129, 0.04);
  border-radius: 50%;
  filter: blur(15px);
  pointer-events: none;
}

/* User Guide Drawer */
.guide-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

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

.guide-drawer-content {
  width: 580px;
  max-width: 90vw;
  height: 100%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-drawer-overlay.active .guide-drawer-content {
  transform: translateX(0);
}

.guide-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.guide-drawer-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-guide {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.btn-close-guide:hover {
  color: var(--text-primary);
  background-color: rgba(0, 0, 0, 0.05);
}

.guide-drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-badge {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--primary-light);
  color: var(--primary);
  letter-spacing: 0.5px;
}

.guide-badge.siswa {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.guide-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.guide-tabs::-webkit-scrollbar {
  display: none;
}

.guide-tab {
  background: none;
  border: none;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.guide-tab:hover {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.guide-tab.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.guide-tab.siswa-active.active {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.guide-text-content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-text-content h4 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guide-text-content ol, .guide-text-content ul {
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.guide-text-content li strong {
  color: var(--text-primary);
}

.guide-step-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.guide-step-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--border-color);
  line-height: 1;
  opacity: 0.4;
}

.guide-step-card h5 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.guide-step-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.guide-note-box {
  background: rgba(99, 102, 241, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.guide-note-box.success-note {
  background: rgba(16, 185, 129, 0.05);
  border-left-color: #10b981;
}

.guide-note-box.warning-note {
  background: rgba(245, 158, 11, 0.05);
  border-left-color: #f59e0b;
}

.guide-note-box h5 {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}


/* ========================================== */
/* END FILE: 08_proctor_monitor.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 09_scheduler.css (css) */
/* ========================================== */
/**
 * Source: styles.css (Lines 3149-3565)
 */

/* ==========================================================================
   20. SCHOOL LESSON SCHEDULER STYLING
   ========================================================================== */
.school-schedule-wrapper {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.5rem;
}

/* Schedule Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  color: var(--text-primary);
}

.schedule-table th, 
.schedule-table td {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  vertical-align: middle;
}

.schedule-table th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Rekap Guru Table Header - Excel-style accent */
.schedule-table thead tr th:first-child {
  background: var(--bg-secondary);
}

/* Rekap table: highlight day columns header */
.rekap-day-header {
  background: linear-gradient(135deg, hsl(230, 60%, 25%), hsl(230, 55%, 20%)) !important;
  color: #c7d2fe !important;
  border-color: hsl(230, 50%, 30%) !important;
}

.rekap-total-header {
  background: linear-gradient(135deg, hsl(260, 65%, 25%), hsl(260, 60%, 20%)) !important;
  color: #ddd6fe !important;
  border-color: hsl(260, 50%, 30%) !important;
}

.schedule-table td.day-cell {
  background: var(--bg-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-align: center;
  width: 40px;
}

.schedule-table td.period-header {
  background: var(--bg-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 120px;
}

.schedule-table td.schedule-cell {
  transition: all 0.2s ease;
  min-height: 56px;
  position: relative;
}

.schedule-table td.schedule-cell:hover {
  transform: scale(1.02);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.schedule-cell-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.schedule-cell-subject {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cell-text-primary, #1e293b);
}

.schedule-cell-teacher {
  font-size: 0.72rem;
  color: var(--cell-text-secondary, #475569);
  font-weight: 500;
}

.schedule-cell-class {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--cell-class-bg, rgba(255, 255, 255, 0.4));
  padding: 1px 4px;
  border-radius: 4px;
  margin-top: 2px;
  color: var(--cell-text-secondary, #334155);
}

/* Off day styles in Teacher View */
.schedule-table td.teacher-off-day-cell {
  background: repeating-linear-gradient(
    45deg,
    rgba(245, 158, 11, 0.08),
    rgba(245, 158, 11, 0.08) 10px,
    rgba(245, 158, 11, 0.15) 10px,
    rgba(245, 158, 11, 0.15) 20px
  ) !important;
  color: var(--warning);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* Lists styling */
.item-list {
  padding: 0;
  margin: 0;
}

.item-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.item-list-item:last-child {
  border-bottom: none;
}

.item-list-item .item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-list-item .item-actions {
  display: flex;
  gap: 0.25rem;
}

.btn-icon-danger {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-icon-danger:hover {
  background: var(--error-light);
}

/* Legend items */
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.legend-color-box {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.15);
}

/* Interactive alarm bell container */
.bell-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bell-icon-animated {
  animation: ringBell 0.6s ease infinite alternate;
  transform-origin: 50% 0%;
  color: var(--warning);
}

@keyframes ringBell {
  0% { transform: rotate(-15deg); }
  100% { transform: rotate(15deg); }
}

/* Alarm Modal Overlay */
.alarm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.alarm-card {
  background: var(--bg-card);
  border: 2px solid var(--warning);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 460px;
  padding: 2rem;
  text-align: center;
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Print Overrides */
@media print {
  body.printing-schedule {
    background: white !important;
    color: black !important;
  }
  
  body.printing-schedule #main-app-layout,
  body.printing-schedule .sidebar,
  body.printing-schedule .top-header,
  body.printing-schedule .sched-admin-only,
  body.printing-schedule #sched-tab-navigation,
  body.printing-schedule #btnToggleSchedAlarm,
  body.printing-schedule #btnTestSchedAlarm,
  body.printing-schedule #schedTeacherOffDayConfig,
  body.printing-schedule #schedTeacherSummaryCard,
  body.printing-schedule #schedLegendContainer,
  body.printing-schedule .btn-group,
  body.printing-schedule .btn {
    display: none !important;
  }

  body.printing-schedule #view-schoolschedule {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  body.printing-schedule #sched-main-grid {
    display: block !important;
    width: 100% !important;
  }

  body.printing-schedule #sched-right-panel {
    display: block !important;
    width: 100% !important;
  }

  body.printing-schedule .table-responsive {
    overflow: visible !important;
  }

  body.printing-schedule .schedule-table {
    border-collapse: collapse !important;
    width: 100% !important;
  }

  body.printing-schedule .schedule-table th, 
  body.printing-schedule .schedule-table td {
    border: 1px solid #000000 !important;
    color: #000000 !important;
    background-color: transparent !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  body.printing-schedule .schedule-cell-subject {
    color: #000000 !important;
    font-weight: bold !important;
  }

  body.printing-schedule .schedule-cell-teacher {
    color: #333333 !important;
  }
}

/* Custom scheduler flex alignment to match heights */
#sched-left-panel .card {
  display: flex;
  flex-direction: column;
  min-height: 580px;
  height: auto;
  justify-content: flex-start;
}

#btnSchedSaveTimeConfig,
#btnSchedSaveSubjects,
#btnSchedSaveClasses,
#btnSchedClearAllAllocations,
#btnSchedSaveTeacherCodes {
  margin-top: auto !important;
}

#sched-left-panel .card .item-list-container,
#sched-left-panel .card #schedCfgPeriodTimesContainer {
  flex: 0 0 auto;
  min-height: 140px;
  height: 440px;
  max-height: 1000px;
  overflow: auto;
  resize: vertical;
}

#sched-left-panel .card .item-list-container::-webkit-scrollbar,
#sched-left-panel .card #schedCfgPeriodTimesContainer::-webkit-scrollbar {
  width: 6px;
}

#sched-left-panel .card .item-list-container::-webkit-scrollbar-thumb,
#sched-left-panel .card #schedCfgPeriodTimesContainer::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 3px;
}
/* AI Assistant loading indicator dotPulse */
.typing-dot {
  width: 10px;
  height: 10px;
  background-color: #8b5cf6;
  border-radius: 50%;
  display: inline-block;
  animation: dotPulse 1.2s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

/* Premium Switch Toggle CSS */
.premium-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

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

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

.premium-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.15);
}

.premium-switch input:checked + .premium-slider {
  background-color: #10b981; /* Green color */
}

.premium-switch input:focus + .premium-slider {
  box-shadow: 0 0 1px #10b981;
}

.premium-switch input:checked + .premium-slider:before {
  transform: translateX(20px);
}

/* Resizable schedule table container */
#schedTableContainer {
  height: 480px;
  max-height: 1200px;
  resize: vertical;
  overflow: auto !important;
}


/* ========================================== */
/* END FILE: 09_scheduler.css */
/* ========================================== */

/* ========================================== */
/* START FILE: 10_showcase.css (css) */
/* ========================================== */
/* ==========================================
   MODULE: 10_showcase.css
   ========================================== */

.wgu-showcase-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

.wgu-showcase-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.wgu-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.wgu-showcase-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: #0b2240;
  margin-bottom: 1rem;
  line-height: 1.2;
}

[data-theme="dark"] .wgu-showcase-title {
  color: #f1f5f9;
}

.wgu-showcase-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

[data-theme="dark"] .wgu-showcase-subtitle {
  color: #94a3b8;
}

.wgu-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.wgu-showcase-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .wgu-showcase-card {
  background: rgba(17, 24, 39, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.wgu-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.4);
}

.wgu-showcase-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  background: #0f172a;
}

[data-theme="dark"] .wgu-showcase-img-wrap {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.wgu-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wgu-showcase-card:hover .wgu-showcase-img {
  transform: scale(1.04);
}

.wgu-showcase-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.wgu-showcase-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .wgu-showcase-card-title {
  color: #f1f5f9;
}

.wgu-showcase-card-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

[data-theme="dark"] .wgu-showcase-card-desc {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .wgu-showcase-title {
    font-size: 1.8rem;
  }
  .wgu-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Subdomain Registration Section */
.wgu-subdomain-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

.wgu-subdomain-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
  display: flex;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.wgu-subdomain-card::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wgu-subdomain-left {
  flex: 1.2;
}

.wgu-subdomain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.wgu-subdomain-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.wgu-subdomain-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.wgu-subdomain-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.wgu-subdomain-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.wgu-subdomain-features li span {
  color: #34d399;
  font-weight: 900;
}

.wgu-subdomain-right {
  flex: 0.8;
  width: 100%;
}

.wgu-subdomain-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.wgu-subdomain-box h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.wgu-subdomain-box p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
}

.wgu-subdomain-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.wgu-btn-subdomain {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff !important;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.wgu-btn-subdomain:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
}

.wgu-btn-subdomain-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wgu-btn-subdomain-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

@media (max-width: 992px) {
  .wgu-subdomain-card {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }
  .wgu-subdomain-title {
    font-size: 1.8rem;
  }
}


/* ========================================== */
/* END FILE: 10_showcase.css */
/* ========================================== */
