/* ===================================================================
   GIM VENTURE INTERVIEW PORTAL - AESTHETIC DESIGN SYSTEM
   Theme: Modern Deep Slate / Glassmorphic Cyber-Academic
   Typography: Outfit & Plus Jakarta Sans
   =================================================================== */

:root {
  --bg-primary: #080d1a;
  --bg-secondary: #0f172a;
  --bg-card: rgba(19, 31, 56, 0.75);
  --bg-card-hover: rgba(27, 44, 78, 0.85);
  --bg-card-selected: rgba(35, 56, 98, 0.9);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.6);
  --border-glow: rgba(56, 189, 248, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-sky: #38bdf8;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

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

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
  --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.25);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Ambient Glow Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.6), transparent 70%);
}

.orb-2 {
  width: 600px;
  height: 600px;
  top: 30%;
  right: -150px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45), transparent 70%);
}

.orb-3 {
  width: 450px;
  height: 450px;
  bottom: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #be123c, #e11d48);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-xl {
  padding: 16px 36px;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
}

/* Header & Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cyan-glow);
}

.logo-icon {
  font-size: 1.4rem;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

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

/* Status Pill */
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #6ee7b7;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.pulsating {
  animation: pulseGlow 2s infinite;
}

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

/* Language Toggle */
.lang-toggle-container {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

/* Main Layout */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  position: relative;
  z-index: 10;
}

/* Hero Section */
.hero-section {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 18px;
}

.hero-heading {
  font-size: 2.8rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Timeline Card */
.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

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

.timeline-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.timeline-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.timeline-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.step-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  position: relative;
  transition: all 0.3s ease;
}

.step-card.active-step {
  border-color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
}

.step-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-sky);
  margin-bottom: 4px;
}

.step-num {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.08);
}

.step-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: #fff;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* View Panels */
.view-panel {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

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

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

/* Sections */
.section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Avatar Cards */
.avatars-selection-section {
  margin-bottom: 40px;
}

.avatar-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.avatar-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.avatar-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.avatar-card.selected {
  background: var(--bg-card-selected);
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-glow);
}

.avatar-card-radio {
  position: absolute;
  top: 22px;
  right: 22px;
}

.avatar-card-radio input[type="radio"] {
  accent-color: var(--accent-indigo);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.avatar-profile-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.avatar-avatar-wrap {
  position: relative;
}

.avatar-img-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.avatar-img-badge.en-badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(56, 189, 248, 0.3));
}

.avatar-img-badge.es-badge {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(245, 158, 11, 0.3));
}

.avatar-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--accent-emerald);
  border: 2px solid var(--bg-secondary);
  border-radius: 50%;
}

.avatar-meta {
  display: flex;
  flex-direction: column;
}

.avatar-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.avatar-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.avatar-lang-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
}

.avatar-role {
  font-size: 0.85rem;
  color: var(--accent-sky);
  font-weight: 500;
  margin-bottom: 4px;
}

.avatar-replica {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pal-code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 5px;
  border-radius: 4px;
  color: #cbd5e1;
}

.avatar-pitch {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.avatar-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid var(--border-subtle);
}

/* Candidate & Venture Form */
.form-section {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.required {
  color: var(--accent-rose);
}

.form-input, .form-select {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  background: rgba(15, 23, 42, 1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Preflight Checklist */
.preflight-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.preflight-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.preflight-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.check-item input[type="checkbox"] {
  accent-color: var(--accent-indigo);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.action-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.launch-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* LIVE CALL VIEW */
.call-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 16px;
}

.call-session-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.call-live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-rose);
  border-radius: 50%;
}

.live-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fda4af;
  letter-spacing: 0.05em;
}

.call-student-tag {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.call-pal-tag {
  font-size: 0.85rem;
  color: var(--accent-sky);
}

.call-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-md);
}

.timer-digits {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-sky);
  letter-spacing: 0.05em;
}

/* Stage Banner */
.current-stage-banner {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.stage-pill {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 10px;
  background: var(--accent-indigo);
  border-radius: var(--radius-full);
  color: #fff;
}

.stage-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

/* Video Frame Container */
.video-frame-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 680px;
  background: #000;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin-bottom: 16px;
}

.video-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 30, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 5;
  transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-sky);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.loader-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.call-guidance-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* POST CALL VIEW */
.post-call-card {
  max-width: 680px;
  margin: 40px auto;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.post-call-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.post-call-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.post-call-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.post-call-summary {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
  margin-bottom: 30px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.post-call-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-dialog {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-dialog.modal-lg {
  max-width: 820px;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  color: var(--text-secondary);
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Rubric Styles */
.rubric-author-box {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

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

.rubric-item {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.rubric-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-sky);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rubric-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #fff;
}

.rubric-item p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Zoom Modal Styles */
.zoom-email-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 18px 0;
}

.zoom-email-label {
  font-size: 0.8rem;
  color: var(--accent-sky);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.zoom-copy-row {
  display: flex;
  gap: 10px;
}

.instructions-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.instruction-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.step-circle {
  width: 26px;
  height: 26px;
  background: var(--accent-indigo);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Sessions History Table */
.table-responsive {
  overflow-x: auto;
}

.session-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.session-table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.session-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  background: rgba(8, 13, 26, 0.9);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-heading { font-size: 2.2rem; }
  .timeline-steps-grid { grid-template-columns: 1fr; }
  .avatar-cards-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .rubric-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-container { flex-direction: column; gap: 12px; }
  .hero-heading { font-size: 1.8rem; }
  .call-top-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* HTTPS Alert Banner */
.https-alert-banner {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 600;
  text-align: center;
  padding: 10px 18px;
  font-size: 0.9rem;
  z-index: 1000;
  position: relative;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.https-link {
  color: #000;
  font-weight: 800;
  text-decoration: underline;
  margin-left: 8px;
}

/* Avatar Connection Helper */
.avatar-connection-helper {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.avatar-connection-helper .helper-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.avatar-connection-helper strong {
  color: #fff;
}
