@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --secondary: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --paper: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-purple: 0 10px 28px rgba(139, 92, 246, 0.18);
  --shadow-cyan: 0 10px 28px rgba(6, 182, 212, 0.18);
  --shadow-green: 0 10px 28px rgba(16, 185, 129, 0.18);
  --shadow-orange: 0 10px 28px rgba(249, 115, 22, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

/* Global Image Safety Constraint */
img {
  max-width: 100%;
  height: auto;
}

/* Header & Brand (Student Form) */
.form-header {
  background: #ffffff;
  border-bottom: 1.5px solid var(--line);
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
}
.header-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo {
  height: 40px;
  width: auto;
  max-height: 40px;
  max-width: 160px;
  object-fit: contain;
}
.header-titles strong {
  display: block;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.header-titles span {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}
.header-partner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.partner-wordmark {
  height: 28px;
  width: auto;
  max-height: 28px;
  max-width: 130px;
  object-fit: contain;
}
.partner-symbol {
  height: 28px;
  width: 28px;
  max-height: 28px;
  max-width: 28px;
  object-fit: contain;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

/* Form Container - STRICTLY CENTERED & NEVER FULLSCREEN ON DESKTOP */
.form-container, main.form-container {
  width: 100%;
  max-width: 820px;
  margin: 24px auto 60px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Brand Strip */
.brandStrip {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px 10px;
  border-bottom: 1px solid var(--line);
}
.brandStrip img:first-child {
  width: min(240px, 50vw);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}
.brandStrip img:last-child {
  width: 42px;
  height: 42px;
  max-height: 42px;
  object-fit: contain;
}

/* Brand Footer */
.brandFooter {
  text-align: center;
  padding: 28px 16px 20px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.brandFooter img {
  display: block;
  width: min(240px, 70vw);
  max-height: 54px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.brandCredit {
  font-size: 13px;
  font-weight: 750;
  color: var(--primary);
}

/* Base Layout Shell */
.shell, .admin-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 32px);
}
.landing { max-width: 1160px; }
.form-wrap { max-width: 880px; margin: 24px auto 40px; padding: 0 16px; }

/* Top Navigation Bar with Quick Navigation Tabs */
.topbar, .admin-nav {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 12px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 14px;
}
.brand, .admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark, .admin-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  flex-shrink: 0;
}
.admin-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand strong, .admin-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand span, .admin-brand span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Top Navigation Tabs */
.nav-tabs, .admin-nav-tabs, .tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-tab, .admin-nav-tab, .tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  color: #334155;
  text-decoration: none;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s ease;
  cursor: pointer;
}
.nav-tab:hover, .admin-nav-tab:hover, .tab:hover {
  background: #eef2ff;
  border-color: #818cf8;
  color: var(--primary);
  transform: translateY(-1px);
}
.nav-tab.active, .admin-nav-tab.active, .tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary-hover);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.pill, .admin-badge-pill {
  padding: 6px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill.live {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

/* Eyebrows & Typography */
.eyebrow {
  display: inline-block;
  background: #ede9fe;
  border: 1.5px solid #c4b5fd;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.question {
  font-size: clamp(22px, 3.5vw, 32px);
  line-height: 1.25;
  margin: 6px 0 12px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.helper {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
  font-size: 15px;
}

/* Mandatory Big Hackathon Hero Banner */
.hackathon-hero-container {
  background: linear-gradient(135deg, #090e1a 0%, #17153b 45%, #2e0854 100%);
  border-radius: 20px;
  padding: 30px 24px;
  margin-bottom: 24px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}
.hackathon-hero-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hackathon-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.hackathon-logo-badge {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.hackathon-logo-badge img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.hackathon-org-text {
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #ffffff;
  line-height: 1.25;
}
.highlight-prsu {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.highlight-rr {
  background: linear-gradient(135deg, #f472b6, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hackathon-conducting-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 18px;
  border-radius: 999px;
  margin: 4px 0 12px;
}
.hackathon-event-title {
  font-size: clamp(22px, 3.8vw, 38px);
  font-weight: 950;
  background: linear-gradient(135deg, #fde047 0%, #fb923c 45%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 14px;
  line-height: 1.2;
}
.hackathon-meta-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 600;
}
.hackathon-meta-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Cards & Panels */
.card, .panel, .admin-card-light {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.hidden { display: none !important; }
h1 { font-size: clamp(24px, 4vw, 36px); line-height: 1.2; margin: 0 0 14px; color: var(--ink); font-weight: 900; }
h2 { font-size: 22px; margin: 0 0 12px; color: var(--ink); font-weight: 850; }
h3 { font-size: 16px; margin: 16px 0 10px; color: #334155; font-weight: 750; }

.story {
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
  padding: 16px 20px;
  border-radius: 12px;
  margin: 18px 0;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
}
.story b { color: #4f46e5; display: block; margin-top: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.story b:first-child { margin-top: 0; }
.story p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: #1e293b; }

.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  margin: 10px 0;
  cursor: pointer;
  transition: all 0.18s ease;
  background: #ffffff;
}
.option:hover {
  background: #f0f7ff;
  border-color: #818cf8;
  transform: translateY(-1px);
}
.option input { margin-top: 4px; width: auto; }
.option span { font-size: 15px; color: #1e293b; font-weight: 550; }

textarea, input, select {
  width: 100%;
  font: inherit;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  margin: 6px 0 18px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}
textarea:focus, input:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Action Buttons */
.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn.primary {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}
.btn.secondary {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
}
.btn.secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}
.btn.danger {
  background: #fff;
  border: 1.5px solid #fecaca;
  color: #dc2626;
}
.btn.danger:hover {
  background: #fef2f2;
  border-color: #f87171;
}
/* Student Form Progress Header */
.progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 750;
  color: #475569;
}
.progress > span {
  font-size: 12.5px;
  font-weight: 800;
  color: #4f46e5;
  background: #eef2ff;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  white-space: nowrap;
}
.progress > div {
  flex: 1;
  height: 10px;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.progress > div > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* Student Form Buttons & Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1.5px solid var(--line);
  flex-wrap: wrap;
}
.nav button, button#start, button#checkPdf {
  border: 0;
  border-radius: 12px;
  padding: 13px 26px;
  font-weight: 850;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav button.secondary, button#checkPdf {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
}
.nav button.secondary:hover, button#checkPdf:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}
.nav button#next, button#start {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.nav button#next:hover, button#start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}
.nav button#submit {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.nav button#submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Notices & Alerts */
.notice {
  padding: 16px 20px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.55;
}
.error {
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

/* ==========================================================================
   ADMIN EXECUTIVE DASHBOARD STYLES
   ========================================================================== */
.admin-login-box {
  max-width: 440px;
  margin: 40px auto;
  text-align: center;
}
.admin-login-box h1 {
  font-size: 26px;
  font-weight: 850;
  color: var(--ink);
  margin: 8px 0;
}
.admin-input-wrap {
  margin-bottom: 16px;
  text-align: left;
}
.admin-input-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: #334155;
  margin-bottom: 6px;
}
.admin-input-wrap input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
}
.admin-input-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.admin-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-title-area h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.admin-title-area p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Key Metrics Grid */
.admin-stat-grid, .metricGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.admin-stat-card, .metric {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.admin-stat-card:hover, .metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.admin-stat-card span, .metric span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.admin-stat-card b, .metric b {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
  margin: 6px 0 2px;
  line-height: 1;
}
.admin-stat-card small, .metric small {
  font-size: 11px;
  color: #94a3b8;
}

/* Action Toolbar */
.admin-actions-bar, .toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-main-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-csv {
  background: #0f172a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-csv:hover { background: #1e293b; transform: translateY(-1px); }

/* Filter & Search Bar */
.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}
.search-box-input {
  flex: 2 1 280px;
  min-width: 0;
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  box-sizing: border-box;
  margin: 0;
}
.search-box-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.filter-dropdowns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 360px;
  min-width: 0;
  box-sizing: border-box;
}
.filter-dropdowns select {
  flex: 1 1 170px;
  min-width: 0;
  padding: 11px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  color: #334155;
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
  margin: 0;
}

/* Tables & Wrappers */
.tableWrap {
  overflow-x: auto;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}
th {
  background: #f8fafc;
  color: #475569;
  font-weight: 800;
  padding: 14px 16px;
  border-bottom: 1.5px solid var(--line);
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: #1e293b;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: #f8fafc;
}

/* Badges & Status */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: -0.01em;
}
.score-high { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.score-med { background: #e0e7ff; color: #3730a3; border: 1px solid #a5b4fc; }
.score-low { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

.status-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.status-approved { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.status-locked { background: #f1f5f9; color: #64748b; border: 1px solid #cbd5e1; }
.status-pptreleased { background: #ede9fe; color: #5b21b6; border: 1px solid #ddd6fe; }

/* Action Links */
.btn-deck-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-deck-link:hover {
  background: #ede9fe;
  border-color: #8b5cf6;
  color: #6d28d9;
}
.btn-mentor {
  background: #4f46e5;
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-mentor:hover {
  background: #4338ca;
  transform: translateY(-1px);
}

/* ==========================================================================
   LIVE AUDITORIUM DASHBOARD STYLES (PROJECTOR & FULL-SCREEN)
   ========================================================================== */
body.dash-light-theme {
  background: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
}
.dash-full-shell {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 32px);
}
.dash-light-nav {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 16px;
}
.dash-nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dash-logo-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.dash-nav-titles h1 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-nav-titles p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #64748b;
}
.dash-live-beacon {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.05em;
}
.dash-nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-clock-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 7px 14px;
  border-radius: 10px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.btn-fs-light {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-fs-light:hover { background: #1e293b; }

.dash-metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.dash-metric-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  border: 2px solid #e2e8f0;
}
.dash-metric-card:hover { transform: translateY(-3px); }
.dash-metric-card.card-purple { border-color: #8b5cf6; box-shadow: var(--shadow-purple); }
.dash-metric-card.card-purple b { color: #7c3aed; }
.dash-metric-card.card-cyan { border-color: #06b6d4; box-shadow: var(--shadow-cyan); }
.dash-metric-card.card-cyan b { color: #0891b2; }
.dash-metric-card.card-orange { border-color: #f97316; box-shadow: var(--shadow-orange); }
.dash-metric-card.card-orange b { color: #ea580c; }
.dash-metric-card.card-green { border-color: #10b981; box-shadow: var(--shadow-green); }
.dash-metric-card.card-green b { color: #059669; }

.dash-metric-card span {
  display: block;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}
.dash-metric-card b {
  display: block;
  font-size: clamp(34px, 4vw, 42px);
  font-weight: 950;
  margin: 8px 0 3px;
  line-height: 1;
}
.dash-metric-card small { font-size: 12px; color: #64748b; font-weight: 500; }

/* Stage Reveal Container */
.stage-reveal-bar {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.stage-reveal-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Finalist Idea Cards */
.final-idea-full-card, .spotlight-full-card {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.final-idea-full-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #94a3b8;
}
.card-theme-champ {
  border: 2.5px solid #eab308 !important;
  box-shadow: 0 12px 36px rgba(234, 179, 8, 0.2) !important;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}
.spotlight-content-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.idea-rank-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  color: #1e293b;
  flex-shrink: 0;
}
.idea-rank-badge.is-champ {
  background: #fef08a;
  border-color: #eab308;
  color: #854d0e;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}
.spotlight-body-area { flex: 1; }
.champ-banner-pill {
  display: inline-block;
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #facc15;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.spotlight-idea-name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.spotlight-student-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
}
.idea-pitch-container {
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0;
}
.pitch-container-header {
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
  margin-bottom: 4px;
}
.pitch-body-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: #1e293b;
}

/* 16-Dimension Chips Grid */
.spotlight-matrix-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.matrix-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.matrix-chip span { color: #64748b; font-weight: 600; }
.matrix-chip b { color: #4f46e5; font-weight: 800; }

/* Dashboard & Admin Custom Layouts */
.dash-analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.distribution-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.dist-row {
  display: grid;
  grid-template-columns: 180px 1fr 40px;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}
.dist-row span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #475569;
  font-weight: 600;
}
.dist-bar-track {
  height: 12px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.dist-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.dist-row b { text-align: right; font-weight: 800; color: #0f172a; }

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

/* Table Wrapping */
.tableWrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-top: 14px;
  background: #ffffff;
}
.tableWrap table, table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

/* Mentor Dossier Layout */
.mentor-dossier-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  margin-bottom: 28px;
}
.rubric-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS (Mobile, Tablet, Desktop, Projector)
   ========================================================================== */

/* Breakpoint 1: Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .admin-stat-grid, .metricGrid, .dash-metrics-ribbon {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
  .mentor-dossier-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rubric-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Breakpoint 2: Large Mobile & Portrait Tablets (max-width: 768px) */
@media (max-width: 768px) {
  /* Brand Strip & Navigation Tabs */
  .brandStrip {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 10px;
  }
  .brandStrip img:first-child {
    max-height: 32px;
    width: auto;
    max-width: 160px;
  }
  .brandStrip img:last-child {
    height: 30px;
    width: 30px;
    max-height: 30px;
  }
  .brandStrip .nav-tabs, .topbar .nav-tabs {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nav-tab, .admin-nav-tab, .tab {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Dashboard Header */
  .dash-full-shell {
    padding: 12px;
  }
  .dash-light-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
    border-radius: 14px;
  }
  .dash-nav-brand {
    gap: 12px;
    width: 100%;
  }
  .dash-nav-titles h1 {
    font-size: 19px !important;
    flex-wrap: wrap;
    gap: 6px;
  }
  .dash-live-beacon {
    font-size: 10.5px;
    padding: 3px 8px;
  }
  .dash-nav-titles p {
    font-size: 11.5px;
    line-height: 1.35;
  }
  .dash-nav-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
  }
  .dash-clock-badge {
    font-size: 12.5px;
    padding: 6px 12px;
  }
  .btn-fs-light {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 8px 12px;
  }

  /* Dashboard Analytics Grid */
  .dash-analytics-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 20px !important;
  }
  .dist-row {
    grid-template-columns: 130px 1fr 36px;
    gap: 10px;
    font-size: 12px;
  }

  /* Stage Reveal Controls */
  .stage-reveal-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    text-align: center;
  }
  .stage-reveal-bar > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .stage-reveal-bar button {
    width: 100%;
    justify-content: center;
  }

  /* Admin Header & Tabs */
  .topbar, .admin-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
    border-radius: 14px;
  }
  .topbar .nav-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .topbar .nav-tab {
    flex-shrink: 0;
  }
  .admin-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }
  .admin-title-area h1 {
    font-size: 20px;
  }
  .admin-title-area p {
    font-size: 12.5px;
  }
  .admin-main-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .admin-main-btns button {
    width: 100%;
    justify-content: center;
  }
  .admin-filter-row {
    flex-direction: column;
    gap: 8px;
  }
  .search-box-input {
    width: 100%;
  }
  .filter-dropdowns {
    width: 100%;
  }
  .filter-dropdowns select {
    width: 100%;
  }
  .tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 6px;
    margin-bottom: 16px;
  }
  .tab {
    flex-shrink: 0;
  }
}

/* Breakpoint 3: Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  /* Student Form Header - Strict Clean Mobile Logo */
  .form-header, header {
    padding: 10px 12px;
  }
  .header-inner {
    padding: 0 4px;
  }
  .hide-on-mobile {
    display: none !important;
  }
  .header-logo {
    height: 32px;
    max-height: 32px;
    max-width: 110px;
  }
  .partner-wordmark {
    display: none !important;
  }
  .partner-symbol {
    height: 24px;
    width: 24px;
    max-height: 24px;
    max-width: 24px;
  }
  .live-pill {
    padding: 3px 8px;
    font-size: 10px;
  }

  /* Form Container & Panels */
  .form-container, main.form-container {
    padding: 0 10px;
    margin: 12px auto 36px;
  }
  .hackathon-hero-container {
    padding: 16px 12px;
    border-radius: 14px;
    margin-bottom: 14px;
  }
  .hackathon-logos-row {
    gap: 8px;
    margin-bottom: 10px;
  }
  .hackathon-logo-badge {
    padding: 4px 10px;
    border-radius: 8px;
    gap: 6px;
  }
  .hackathon-logo-badge img {
    height: 24px;
    max-height: 24px;
  }
  .hackathon-logo-badge strong {
    font-size: 12px !important;
  }
  .hackathon-org-text {
    font-size: 16px;
    line-height: 1.3;
  }
  .hackathon-conducting-badge {
    font-size: 10px;
    padding: 2px 10px;
    margin: 2px 0 8px;
  }
  .hackathon-event-title {
    font-size: 17px;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .hackathon-meta-tags {
    gap: 4px;
  }
  .hackathon-meta-pill {
    font-size: 10px;
    padding: 2px 8px;
  }

  .panel {
    padding: 16px 12px;
    border-radius: 14px;
    margin-bottom: 18px;
  }
  .panel h1 {
    font-size: 18px;
    line-height: 1.3;
  }
  .panel h2 {
    font-size: 16px;
    line-height: 1.3;
  }
  .panel h3 {
    font-size: 14px;
  }
  .story {
    padding: 10px 12px;
    margin: 12px 0;
    border-radius: 8px;
  }
  .story b {
    font-size: 11.5px;
  }
  .story p {
    font-size: 13px;
    line-height: 1.45;
  }
  .helper {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .option {
    padding: 11px 12px;
    margin: 7px 0;
    border-radius: 10px;
  }
  .option span {
    font-size: 13.5px;
    line-height: 1.4;
  }
  .option input {
    min-width: 18px;
    min-height: 18px;
  }
  textarea, input, select {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    margin: 4px 0 12px;
  }
  .progress {
    margin-bottom: 14px;
    font-size: 11.5px;
  }
  .progress > span {
    font-size: 11px;
    padding: 3px 8px;
  }
  .nav {
    flex-direction: column-reverse;
    gap: 8px;
    width: 100%;
  }
  .nav button, #start {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
    font-size: 14.5px;
    border-radius: 10px;
  }

  /* Metric Ribbon in Dashboard & Admin: 2 Columns Grid */
  .admin-stat-grid, .metricGrid, .dash-metrics-ribbon {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .dash-metric-card, .admin-stat-card, .metric {
    padding: 12px 10px;
    border-radius: 12px;
  }
  .dash-metric-card span, .admin-stat-card span, .metric span {
    font-size: 9.5px;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }
  .dash-metric-card b, .admin-stat-card b, .metric b {
    font-size: 22px;
    margin: 4px 0 2px;
  }
  .dash-metric-card small, .admin-stat-card small, .metric small {
    font-size: 10px;
  }

  /* Spotlight & Finalist Cards */
  .final-idea-full-card, .spotlight-full-card {
    padding: 14px 12px;
    border-radius: 14px;
    margin-bottom: 14px;
  }
  .spotlight-content-layout {
    flex-direction: column !important;
    gap: 10px;
  }
  .idea-rank-badge {
    width: 40px;
    height: 40px;
    font-size: 15px;
    border-radius: 10px;
  }
  .spotlight-idea-name {
    font-size: 16px;
    line-height: 1.3;
  }
  .spotlight-student-sub {
    font-size: 11.5px;
    gap: 6px;
    margin-bottom: 8px;
  }
  .idea-pitch-container {
    padding: 10px 12px;
    margin: 8px 0;
  }
  .pitch-body-text {
    font-size: 13px;
    line-height: 1.45;
  }
  .spotlight-matrix-chips, .matrix-chips-row {
    gap: 4px;
  }
  .matrix-chip {
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 6px;
  }

  /* Distribution Bars */
  .distribution-card {
    padding: 16px 14px;
    border-radius: 14px;
  }
  .dist-row {
    grid-template-columns: 110px 1fr 32px !important;
    gap: 6px !important;
    font-size: 11px !important;
  }
  .dist-row span {
    font-size: 11px;
  }
  .dist-bar-track {
    height: 8px;
  }
  .dist-row b {
    font-size: 11px;
  }

  /* Dashboard Login Box */
  .dash-login-light {
    padding: 22px 14px;
    margin: 16px auto;
    border-radius: 16px;
  }
  .dash-login-light h2 {
    font-size: 20px;
  }
  .dash-login-light p {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .dash-login-input-row {
    flex-direction: column;
    gap: 8px;
  }
  .dash-login-input-row button {
    width: 100%;
  }

  /* QR Page */
  .qrpage {
    padding: 20px 12px;
    border-radius: 16px;
  }
  .qrbox {
    padding: 12px;
  }
  .qrbox img {
    width: min(75vw, 260px);
    height: min(75vw, 260px);
  }
  .qrurl {
    font-size: 12.5px;
    padding: 4px 10px;
  }
  .qrhint {
    font-size: 15px;
  }

  /* Poster Page */
  .eventposter {
    padding: 22px 14px;
    border-radius: 16px;
  }
  .eventposter h1 {
    font-size: clamp(30px, 8vw, 54px);
  }
  .eventposter h2 {
    font-size: clamp(16px, 4vw, 26px);
  }
  .eventposter p.lead {
    font-size: 13.5px;
  }
  .postersteps {
    gap: 6px;
    margin: 14px 0;
  }
  .postersteps span {
    font-size: 11px;
    padding: 5px 12px;
  }
  .posterquote {
    font-size: 15px;
    margin: 14px 0;
  }
}

/* Breakpoint 4: Ultra-compact Mobile (max-width: 400px) */
@media (max-width: 400px) {
  .admin-stat-grid, .metricGrid, .dash-metrics-ribbon {
    grid-template-columns: 1fr !important;
  }
  .dist-row {
    grid-template-columns: 95px 1fr 28px !important;
    gap: 4px !important;
  }
  .rubric-stats-grid {
    grid-template-columns: 1fr;
  }
}
