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

:root {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #2563eb;
  
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --secondary: #4f46e5;
  --academic-gold: #b45309;
  --academic-gold-light: #fef3c7;
  --academic-blue: #0f172a;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-sub: #475569;
  
  --success: #15803d;
  --success-light: #dcfce7;
  --warning: #b45309;
  --warning-light: #fef3c7;
  --danger: #b91c1c;
  --danger-light: #fee2e2;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Light Academic Background */
.academic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: 
    radial-gradient(circle at 10% 10%, rgba(219, 234, 254, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(254, 243, 199, 0.4) 0%, transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(224, 231, 255, 0.45) 0%, transparent 50%),
    #f8fafc;
  pointer-events: none;
}

/* Heritage Top Bar */
.heritage-bar {
  background: #0f172a;
  color: #f8fafc;
  padding: 7px 5%;
  font-size: 0.78rem;
  text-align: center;
  letter-spacing: 0.4px;
}

.heritage-bar strong {
  color: #fbbf24;
}

/* Clean Professional Navigation (Academic Royal Navy) */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0.75rem 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: #0f172a;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
  transition: all 0.3s ease;
}

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

.logo-college {
  height: 48px;
  width: auto;
}

.brand-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
}

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

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.1;
}

.brand-title span.year {
  color: #38bdf8;
}

.brand-college {
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.2px;
}

.brand-dept {
  font-size: 0.72rem;
  color: #fbbf24;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: #38bdf8;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #38bdf8;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-links .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #38bdf8;
  color: #38bdf8;
}

/* Professional Buttons */
.btn {
  padding: 0.65rem 1.6rem;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

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

.btn-outline {
  background: #ffffff;
  color: var(--text-sub);
  border: 1px solid var(--border-strong);
}

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

/* Badges */
.badge-academic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.4px;
  margin-bottom: 1.5rem;
}

.badge-tag {
  background: var(--academic-gold-light);
  color: var(--academic-gold);
  border: 1px solid #fde68a;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-block;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 70px 6% 50px;
  position: relative;
}

.hero-college-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 26px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  max-width: 820px;
}

.hero-college-box img {
  height: 56px;
  width: auto;
}

.hero-college-text {
  text-align: left;
}

.hero-college-text h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.hero-college-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.hero h1 span.accent-word {
  color: var(--primary);
}

.hero-motto {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--academic-gold);
  margin-bottom: 1.2rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 740px;
  margin-bottom: 2.2rem;
  line-height: 1.65;
}

.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-pill {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.feature-pill svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

/* Section Common Structure */
.content-section {
  padding: 5rem 6%;
  max-width: 1240px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Quick Registration Guide / Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  position: relative;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.process-step-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 1rem;
  width: fit-content;
}

.process-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.process-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.process-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.8rem;
}

.process-link:hover {
  text-decoration: underline;
}

.process-cta-banner {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  box-shadow: var(--shadow-sm);
}

/* Innovation Tracks Grid */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.track-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.track-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.track-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.track-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Rules Section */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.rule-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.rule-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.8rem;
}

.rule-box-header svg {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.rule-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.rule-box ul {
  list-style: none;
}

.rule-box ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.rule-box ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: bold;
}

.download-rules-strip {
  margin-top: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Evaluation Rubric */
.evaluation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.eval-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  gap: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.eval-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--academic-gold-light);
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--academic-gold);
  flex-shrink: 0;
}

.eval-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.eval-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
}

/* Coordinators Section */
.coordinators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}

.coord-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.coord-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.coord-role-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.coord-role-badge.staff {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.coord-role-badge.student {
  background: #e0e7ff;
  color: var(--secondary);
  border: 1px solid #c7d2fe;
}

.coord-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.coord-dept {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
}

.coord-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-contact {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-call {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

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

.btn-wa {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid #bbf7d0;
}

.btn-wa:hover {
  background: var(--success);
  color: #ffffff;
}

/* Forms (Register & Login) */
.form-page-container {
  min-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 5%;
}

.form-academic-card {
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.8rem 3.2rem;
  box-shadow: var(--shadow-xl);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-group label span.req {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder {
  color: #94a3b8;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1em;
}

select.form-control option {
  background-color: #ffffff;
  color: var(--text-main);
}

.member-fieldset {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.member-fieldset-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-fieldset.leader { border-left: 4px solid var(--primary); }
.member-fieldset.member2 { border-left: 4px solid var(--secondary); }

.payment-box {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Dashboard & ID Pass (Light Academic Badge) */
.dashboard-container {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 0 4%;
}

.dash-header-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.status-chip {
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.status-chip.approved {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid #bbf7d0;
}

.status-chip.pending {
  background: var(--warning-light);
  color: var(--warning);
  border: 1px solid #fde68a;
}

.status-chip.rejected {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid #fecaca;
}

/* Official Academic ID Pass */
.pass-wrapper {
  margin: 2rem auto;
  max-width: 580px;
}

.id-pass {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #1e293b;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  text-align: left;
}

.pass-header {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}

.pass-college-crest {
  height: 60px;
  width: auto;
}

.pass-college-titles {
  flex: 1;
}

.pass-institution {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

.pass-dept-line {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-top: 3px;
}

.pass-event-badge {
  background: #0f172a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.pass-id-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1px;
}

.pass-verified-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
}

.pass-team-row {
  margin-bottom: 1rem;
}

.pass-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
}

.pass-team-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.pass-college-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.pass-participants-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.pass-member-box h5 {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2px;
}

.pass-member-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.pass-member-meta {
  font-size: 0.8rem;
  color: #64748b;
}

.pass-footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.pass-security-notice {
  font-size: 0.75rem;
  color: #92400e;
  line-height: 1.4;
  font-weight: 600;
}

.pass-qr-frame {
  width: 68px;
  height: 68px;
  border: 1px solid var(--border-strong);
  padding: 4px;
  border-radius: 6px;
  background: #ffffff;
  flex-shrink: 0;
}

.pass-bottom-credit {
  margin-top: 0.8rem;
  text-align: right;
  font-size: 0.65rem;
  color: #94a3b8;
}

/* Print Specific Rules */
@media print {
  body * {
    visibility: hidden;
  }
  .id-pass, .id-pass * {
    visibility: visible;
  }
  .id-pass {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 580px;
    box-shadow: none !important;
    border: 2px solid #000 !important;
  }
  .developed-by-badge {
    display: none !important;
  }
}

/* Floating "Developed By" Bottom Corner Badge */
.developed-by-badge {
  position: fixed;
  bottom: 20px;
  right: 22px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: all 0.25s ease;
  text-decoration: none;
}

.developed-by-badge:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.dev-label {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.dev-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  line-height: 1;
  font-weight: 600;
}

.dev-company {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.dev-logo-container {
  background: #ffffff;
  padding: 2px 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.dev-logo {
  height: 22px;
  width: auto;
}

/* Academic Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 3.5rem 6% 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.02);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-college-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-college-brand img {
  height: 54px;
  width: auto;
}

.footer-college-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 800;
}

.footer-college-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* Admin Dashboard Specific */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.admin-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-top: 0.3rem;
}

.admin-controls-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: #ffffff;
}

table.admin-table th, table.admin-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

table.admin-table th {
  background: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-main);
  font-weight: 700;
}

table.admin-table tr:hover {
  background: #f8fafc;
}

/* Modal for Image Preview */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  max-width: 800px;
  max-height: 90vh;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem;
  overflow: auto;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #64748b;
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #0f172a;
}

.modal-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 3.4rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .pass-participants-box { grid-template-columns: 1fr; }
  nav .nav-links { display: none; }
  .developed-by-badge { bottom: 12px; right: 12px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-college-box { flex-direction: column; text-align: center; }
  .hero-college-text { text-align: center; }
  .form-academic-card { padding: 2rem 1.4rem; }
}
