/* ==========================================================================
   HACKERRANK CAMPUS CREW — AMRAPALI UNIVERSITY
   Modern Dark & Electric Green Theme Stylesheet
   ========================================================================== */

:root {
  --bg-main: #070a0e;
  --bg-primary: #070a0e;
  --bg-secondary: #0d1219;
  --bg-card: #121822;
  --bg-card-hover: #16202c;
  --bg-glass: rgba(18, 24, 34, 0.75);
  --discord-blurple: #5865F2;

  --border-color: #1f2a38;
  --border-light: #2b394c;
  --border-glow: rgba(0, 234, 100, 0.4);

  --primary: #00ea64;
  --primary-hover: #00ff6d;
  --primary-dark: #00b34d;
  --primary-dim: rgba(0, 234, 100, 0.12);
  --primary-glow: 0 0 20px rgba(0, 234, 100, 0.35);

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;
  --accent-red: #ef4444;

  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #0f172a;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 15% 15%, rgba(0, 234, 100, 0.05) 0%, transparent 40%), radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.04) 0%, transparent 50%), linear-gradient(to bottom, #070a0e, #0a0e14);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

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

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

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

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

.mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green {
  color: var(--primary);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(0, 234, 100, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 234, 100, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

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

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

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

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-green {
  background: rgba(0, 234, 100, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 234, 100, 0.3);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Pulse animation */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 234, 100, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 234, 100, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 234, 100, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 234, 100, 0);
  }
}

/* Announcement Bar */
.announcement-bar {
  background: #09121c;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.announcement-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.announcement-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #092014, #0f2e1d);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(0, 234, 100, 0.25);
}

.brand-text h1 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  padding: 70px 0 50px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 234, 100, 0.08);
  border: 1px solid rgba(0, 234, 100, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
}

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

/* Ambassador Card */
.ambassador-card {
  background: linear-gradient(145deg, #101620, #141d2a);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
}

.ambassador-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 32px rgba(0, 234, 100, 0.15);
}

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

.ambassador-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #09341b, #00ea64);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #070a0e;
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 234, 100, 0.3);
}

.ambassador-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.ambassador-info p {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.ambassador-meta {
  background: rgba(7, 10, 14, 0.6);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.meta-row:last-child {
  margin-bottom: 0;
}

.meta-row strong {
  color: #fff;
  min-width: 90px;
}

.meta-row a {
  color: #38bdf8;
  word-break: break-all;
}

.quota-box {
  background: rgba(0, 234, 100, 0.08);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quota-text h4 {
  font-size: 1rem;
  color: #ffffff;
}

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

.quota-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

/* Search Bar */
.search-filter-section {
  padding: 24px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 50px;
}

.search-box-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.search-input-group {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input-group input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition);
}

.search-input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(0, 234, 100, 0.2);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.1rem;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary-dim);
  color: var(--primary);
  border-color: var(--primary);
}

/* Sections */
.section {
  padding: 60px 0;
  position: relative;
}

.section-header {
  margin-bottom: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title-wrap h2 {
  font-size: 2.1rem;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.card-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 18px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-meta-item strong {
  color: var(--text-main);
  min-width: 85px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* Recruitment Layout */
.recruitment-section {
  background: linear-gradient(180deg, rgba(9, 20, 14, 0.6) 0%, rgba(7, 10, 14, 0.95) 100%);
  border-top: 1px solid rgba(0, 234, 100, 0.2);
  border-bottom: 1px solid rgba(0, 234, 100, 0.2);
  padding: 80px 0;
}

.recruitment-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: flex-start;
}

.recruit-perks-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.perk-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.perk-item:last-child {
  margin-bottom: 0;
}

.perk-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-dim);
  border: 1px solid rgba(0, 234, 100, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.perk-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.perk-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Forms */
.form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  margin-bottom: 4px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 234, 100, 0.2);
}

select.form-control {
  background-color: var(--bg-card);
  color: #fff;
}

select.form-control option {
  background-color: #0d1219;
  color: #ffffff;
  padding: 8px 12px;
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.form-help {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.skill-pill {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.skill-pill:hover {
  border-color: var(--primary);
  color: var(--text-main);
}

.skill-pill.selected {
  background: var(--primary);
  color: #000;
  font-weight: 700;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 234, 100, 0.4);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-group input {
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--primary);
}

/* Quiz */
.quiz-section {
  background: var(--bg-secondary);
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.quiz-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.code-box {
  background: #06090e;
  border: 1px solid #1a2330;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38bdf8;
  overflow-x: auto;
  margin: 14px 0 20px 0;
  line-height: 1.5;
  white-space: pre;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.quiz-opt-btn {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-align: left;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition);
}

.quiz-opt-btn:hover {
  background: rgba(0, 234, 100, 0.08);
  border-color: var(--primary);
}

.quiz-opt-btn.correct {
  background: rgba(0, 234, 100, 0.2);
  border-color: var(--primary);
  color: #fff;
}

.quiz-opt-btn.wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--accent-red);
  color: #fff;
}

.quiz-explanation {
  background: rgba(0, 234, 100, 0.06);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-top: 14px;
  display: none;
}

/* Admin Dashboard */
.admin-view {
  display: none;
  padding: 40px 0;
  min-height: 80vh;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.admin-stat-info h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.admin-stat-info p {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.admin-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

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

.admin-table th {
  background: #090e15;
  padding: 14px 18px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.status-select {
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: #fff;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Discord Integration Styles */
.btn-discord {
  background: #5865f2;
  color: #ffffff;
  border: 1px solid #4752c4;
}

.btn-discord:hover {
  background: #4752c4;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
}

/* Public Excel Ledger Table */
.excel-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  background: var(--bg-card);
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.excel-spreadsheet-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.excel-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.excel-table th {
  background: #090e15;
  color: var(--text-muted);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.excel-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
  white-space: nowrap;
}

.excel-table tr:hover td {
  background: rgba(0, 234, 100, 0.04);
}

.col-index {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  width: 50px;
}

/* Biometric Face Scanner Styles */
.face-scanner-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 290px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 2px solid var(--primary);
  box-shadow: 0 0 25px rgba(0, 234, 100, 0.2);
}

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

.face-scanner-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  pointer-events: none;
}

.scanner-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 210px;
  border: 2px dashed rgba(0, 234, 100, 0.7);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 0 15px rgba(0, 234, 100, 0.2);
}

.scanner-reticle::before,
.scanner-reticle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--primary);
  border-style: solid;
}

.scanner-reticle::before {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px;
}

.scanner-reticle::after {
  bottom: -2px;
  right: -2px;
  border-width: 0 3px 3px 0;
}

.scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 8px var(--primary);
  animation: scanMove 2.2s infinite ease-in-out;
}

@keyframes scanMove {
  0% {
    top: 15%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    top: 85%;
    opacity: 0;
  }
}

/* Footer */
.footer {
  background: #040609;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-brand h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 18px;
}

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

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

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

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #141c27;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* View Isolation: Main Public Page vs Admin/Ambassador Section */
#publicView {
  display: block;
}

#adminView,
.admin-view {
  display: none;
  min-height: 80vh;
  padding: 40px 0 80px;
}

.btn-discord {
  background: #5865f2;
  color: #ffffff;
  border: 1px solid #5865f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-discord:hover {
  background: #4752c4;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
}

/* ============================================================================
   Student Portal & Dedicated Login Styles (Cyan & Academic Tech Theme)
   ============================================================================ */
.text-cyan {
  color: #38bdf8;
}

.student-modal-window {
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.15);
}

.student-avatar-badge {
  width: 58px;
  height: 58px;
  background: rgba(56, 189, 248, 0.15);
  border: 2px solid #38bdf8;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.6rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.btn-cyan {
  background: #0284c7;
  color: #ffffff;
  border: 1px solid #38bdf8;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cyan:hover {
  background: #0369a1;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.student-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.student-result-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

/* Discord Community Banner & QR Code */
.discord-banner {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(18, 24, 34, 0.95) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

.discord-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}

.discord-icon-large {
  width: 56px;
  height: 56px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid #5865F2;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #5865F2;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.discord-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.discord-qr-box {
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  border: 2px solid #5865F2;
  transition: transform 0.2s ease;
}

.discord-qr-box:hover {
  transform: scale(1.04);
}

.discord-qr-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.discord-qr-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Button & Dark Theme Utilities */
.btn-discord {
  background: #5865F2;
  color: #ffffff !important;
  border: 1px solid #7289da;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-discord:hover {
  background: #4752c4;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.5);
}

.btn-whatsapp {
  background: #25D366;
  color: #052e16 !important;
  border: 1px solid #16a34a;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1ebc59;
  color: #052e16 !important;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

/* Full Dark Theme Enforcement */
body,
.login-page-wrap,
html {
  background-color: #070a0e;
  color: #f3f4f6;
}

.auth-card,
.login-container {
  color: #f3f4f6;
}

/* ============================================================================
   RESPONSIVE DESIGN SYSTEM — MOBILE, TABLET & LAPTOP OPTIMIZATIONS
   ============================================================================ */

/* Keyframe for mobile menu fade-in */
@keyframes mobileNavFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Helper utilities for responsive layouts */
.w-100 {
  width: 100% !important;
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: initial !important;
}

.table-scroll-hint {
  display: none;
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 8px;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   TABLET BREAKPOINT (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recruitment-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   STANDARD MOBILE & TABLET PORTRAIT (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding: 0 16px;
  }

  .mobile-only {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }

  .table-scroll-hint {
    display: inline-flex;
  }

  /* Announcement Bar */
  .announcement-bar {
    padding: 6px 0;
  }

  .announcement-inner {
    gap: 10px;
  }

  .announcement-label {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .announcement-content {
    font-size: 0.78rem;
  }

  /* Navigation Bar */
  .navbar {
    height: 64px;
  }

  .navbar-inner {
    height: 64px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .brand-text h1 {
    font-size: 0.95rem;
  }

  .brand-text p {
    font-size: 0.7rem;
  }

  /* Header action buttons: Hide long text buttons on top bar to prevent overflow */
  #navStudentLoginBtn,
  #navBiometricBtn {
    display: none !important;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-primary {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* Mobile Hamburger Toggle */
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 1.3rem;
    background: rgba(0, 234, 100, 0.08);
    border: 1px solid rgba(0, 234, 100, 0.3);
    color: var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-toggle:hover,
  .mobile-toggle:focus {
    background: rgba(0, 234, 100, 0.16);
    color: #fff;
    outline: none;
  }

  /* Full-Screen Drawer Menu for Mobile Navigation */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: rgba(7, 10, 14, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px 16px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    gap: 8px;
  }

  .nav-links.show {
    display: flex;
    animation: mobileNavFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(0, 234, 100, 0.1);
    color: var(--primary);
    border-color: rgba(0, 234, 100, 0.3);
  }

  .mobile-nav-featured {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-nav-featured .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  /* Hero Section */
  .hero {
    padding: 32px 0 28px 0;
  }

  .hero-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.95rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 18px;
  }

  .stat-item h3 {
    font-size: 1.45rem;
  }

  .stat-item p {
    font-size: 0.72rem;
  }

  /* Ambassador Card on Mobile */
  .ambassador-card {
    padding: 20px 16px;
  }

  .ambassador-header {
    gap: 12px;
  }

  .ambassador-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .ambassador-info h3 {
    font-size: 1.15rem;
  }

  .meta-row {
    flex-direction: column;
    gap: 2px;
    font-size: 0.82rem;
  }

  .meta-row strong {
    min-width: unset;
  }

  .quota-box {
    padding: 12px 14px;
  }

  .quota-number {
    font-size: 1.5rem;
  }

  /* Search & Filter Bar */
  .search-filter-section {
    padding: 16px 0;
    margin-bottom: 30px;
  }

  .search-box-wrap {
    flex-direction: column;
    gap: 12px;
  }

  .search-input-group {
    min-width: 100%;
    width: 100%;
  }

  /* Swipable Filter Tabs */
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    width: 100%;
  }

  .filter-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  /* Cards Grid: 1-Column Stacking */
  .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .card {
    padding: 20px 16px;
    width: 100%;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .card-desc {
    font-size: 0.88rem;
  }

  .card-meta-list {
    padding: 10px 12px;
  }

  .card-meta-item {
    flex-wrap: wrap;
    font-size: 0.8rem;
    gap: 4px;
  }

  .card-meta-item strong {
    min-width: unset;
    margin-right: 6px;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .card-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Coordinator Recruitment Form */
  .recruitment-section {
    padding: 40px 0;
  }

  .recruit-perks-box {
    padding: 20px 16px;
  }

  .perk-item {
    gap: 12px;
    margin-bottom: 18px;
  }

  .perk-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .form-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-group-full {
    grid-column: span 1;
  }

  /* Ensure inputs prevent iOS auto-zoom */
  .form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important;
    padding: 12px 14px;
    min-height: 44px;
  }

  .skill-pills {
    gap: 6px;
  }

  .skill-pill {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  /* Live Excel Spreadsheet on Mobile */
  .excel-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .excel-header-bar a.btn {
    width: 100%;
    justify-content: center;
  }

  .excel-spreadsheet-container {
    border-radius: var(--radius-sm);
  }

  .excel-table {
    min-width: 680px;
  }

  .excel-table th,
  .excel-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* Coding Challenge / Quiz */
  .quiz-section {
    padding: 40px 0;
  }

  .quiz-container {
    padding: 20px 16px;
  }

  .quiz-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quiz-opt-btn {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .code-box {
    font-size: 0.8rem;
    padding: 12px;
  }

  /* Admin Dashboard on Mobile */
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .admin-stat-card {
    padding: 14px 12px;
    gap: 10px;
  }

  .admin-stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .admin-stat-info h4 {
    font-size: 0.72rem;
  }

  .admin-stat-info p {
    font-size: 1.3rem;
  }

  #adminTabApplicants>div:first-child {
    flex-direction: column;
    gap: 10px;
  }

  #adminAppSearch,
  #adminStatusFilter {
    max-width: 100% !important;
    width: 100% !important;
  }

  #adminTabApplicants .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .admin-table {
    min-width: 720px;
  }

  /* Modals on Mobile */
  .modal-overlay {
    padding: 12px;
  }

  .modal-window {
    padding: 22px 16px;
    max-width: calc(100vw - 24px);
    max-height: 85vh;
    border-radius: var(--radius-md);
  }

  .modal-close-btn {
    top: 14px;
    right: 14px;
    font-size: 1.6rem;
  }

  /* Biometric Face Scanner */
  .face-scanner-box {
    max-width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    min-height: 220px;
  }

  /* Discord Community Banner */
  .discord-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    gap: 18px;
    text-align: center;
  }

  .discord-info {
    flex-direction: column;
    align-items: center;
    min-width: unset;
  }

  .discord-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .discord-actions .btn-discord {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Toast Notification */
  .toast-container {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .toast {
    font-size: 0.85rem;
    padding: 12px 14px;
  }
}

/* --------------------------------------------------------------------------
   SMALL MOBILE VIEWPORTS (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .brand-text h1 {
    font-size: 0.88rem;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Anti-Bot CAPTCHA Container Stacking on Phones */
  #recruitmentCaptchaCanvas,
  #studentCaptchaCanvas {
    max-width: 100%;
    height: auto;
  }

  .captcha-flex-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .portal-tab-header {
    flex-direction: column;
    gap: 8px;
  }

  .portal-tab-btn {
    width: 100%;
    font-size: 0.88rem;
    padding: 10px 14px;
  }
}