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

:root {
  --saffron: #FF7700;
  --saffron-bright: #FF9933;
  --saffron-glow: rgba(255, 119, 0, 0.35);
  --white: #FFFFFF;
  --green: #138808;
  --green-bright: #10B981;
  --green-glow: rgba(16, 185, 129, 0.35);
  --navy: #0C1E38;
  --navy-dark: #061224;
  --navy-card: #122847;
  --gold: #FFB800;
  --gold-gradient: linear-gradient(135deg, #FFE066 0%, #FFB800 50%, #B88600 100%);
  --silver: #E2E8F0;
  --silver-gradient: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 50%, #64748B 100%);
  --bronze: #E07A5F;
  --bronze-gradient: linear-gradient(135deg, #FFCD94 0%, #E07A5F 50%, #8C3B24 100%);
  --text-main: #0F172A;
  --text-muted: #64748B;
  --bg-gradient: linear-gradient(180deg, #F8FAFC 0%, #EDF2F7 100%);
  --card-shadow: 0 14px 35px -5px rgba(12, 30, 56, 0.1), 0 4px 14px -2px rgba(12, 30, 56, 0.04);
  --glass-card: rgba(255, 255, 255, 0.96);
  --border-color: #E2E8F0;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Keyframe Animations */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 16px var(--saffron-glow); }
  50% { box-shadow: 0 0 28px rgba(255, 153, 51, 0.7); }
}

@keyframes floatPodium {
  0%, 100% { transform: translateY(-18px); }
  50% { transform: translateY(-26px); }
}

@keyframes floatItem {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Tricolor Banner Top Strip */
.tricolor-bar {
  height: 7px;
  width: 100%;
  background: linear-gradient(90deg, #FF7700 0% 33.3%, #FFFFFF 33.3% 66.6%, #138808 66.6% 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Top Header Bar */
.topbar {
  background: var(--navy);
  color: #fff;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 6px 24px rgba(6, 18, 36, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vsics-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlow 3s infinite ease-in-out;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  position: relative;
}

.vsics-badge::after {
  content: '★';
  position: absolute;
  bottom: -4px;
  font-size: 10px;
  color: var(--saffron);
}

.brand-info h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #FFFFFF 0%, #F1F5F9 60%, var(--saffron-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-info .institution {
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--saffron-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-info .subtitle {
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 500;
}

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

.nav-btn {
  background: linear-gradient(135deg, var(--saffron) 0%, #E66700 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--saffron-glow);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 119, 0, 0.5);
}

.export-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--green-glow);
}

.export-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Event Hero Image Banner */
.hero-banner-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12, 30, 56, 0.15);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  animation: slideInUp 0.6s ease-out;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-banner-wrap:hover .hero-banner-img {
  transform: scale(1.02);
}

/* Event Banner Strip */
.event-strip {
  background: linear-gradient(90deg, #09172A 0%, #122847 50%, #09172A 100%);
  color: #E2E8F0;
  padding: 12px 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F8FAFC;
  transition: transform 0.2s;
}

.tag-item:hover {
  transform: scale(1.05);
}

.tag-item span {
  color: var(--saffron-bright);
}

/* Container */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 28px auto;
  padding: 0 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: slideInUp 0.8s ease-out;
}

/* Card Styling */
.card {
  background: var(--glass-card);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 18px 40px -5px rgba(12, 30, 56, 0.14);
}

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

.card h2 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  border-left: 6px solid var(--saffron);
  padding-left: 14px;
  line-height: 1.2;
}

.section-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  width: 100%;
  margin-top: 4px;
}

.badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.lock-badge {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

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

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.98rem;
  font-family: inherit;
  background-color: #F8FAFC;
  color: var(--text-main);
  transition: all 0.25s;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--saffron);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--saffron-glow);
}

.btn-row {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  padding: 13px 22px;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-card) 100%);
  color: #FFFFFF;
  flex: 2;
  box-shadow: 0 4px 14px rgba(12, 30, 56, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 30, 56, 0.4);
}

.btn.danger {
  background: #FFFFFF;
  color: #EF4444;
  border: 1.5px solid #FCA5A5;
  flex: 1;
}

.btn.danger:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.status-msg {
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 1.2em;
}
.status-msg.success { color: #059669; }
.status-msg.error { color: #DC2626; }

/* Table Styling */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

thead th {
  padding: 14px 18px;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.98rem;
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #F8FAFC; }

.team-badge {
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
}

.score-input-wrap input {
  width: 100px;
  padding: 8px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}

.score-input-wrap input:focus {
  outline: none;
  border-color: var(--saffron);
}

.quick-btns {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.quick-btn {
  border: none;
  padding: 7px 11px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.quick-btn.plus-btn {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}
.quick-btn.plus-btn:hover {
  background: #2563EB;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.quick-btn.minus-btn {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}
.quick-btn.minus-btn:hover {
  background: #DC2626;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-save {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}
.btn-save:hover {
  background: #16A34A;
  color: #FFFFFF;
}

/* Podium Cards */
.podium-container { text-align: center; }

.podium-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.podium-item {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 26px 28px;
  text-align: center;
  box-shadow: 0 16px 36px -8px rgba(12, 30, 56, 0.12);
  min-width: 180px;
  flex: 1;
  max-width: 240px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.podium-item:hover {
  transform: translateY(-8px);
}

/* 1st Place Gold */
.podium-item.rank-1 {
  order: 2;
  border: 2px solid #F59E0B;
  background: linear-gradient(180deg, #FFFFFF 0%, #FEF3C7 100%);
  box-shadow: 0 22px 45px -10px rgba(245, 158, 11, 0.35);
  animation: floatPodium 4s infinite ease-in-out;
}
.podium-item.rank-1 .podium-badge {
  background: var(--gold-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

/* 2nd Place Silver */
.podium-item.rank-2 {
  order: 1;
  border: 2px solid #94A3B8;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  animation: floatItem 4s infinite ease-in-out;
}
.podium-item.rank-2 .podium-badge {
  background: var(--silver-gradient);
  color: #0F172A;
}

/* 3rd Place Bronze */
.podium-item.rank-3 {
  order: 3;
  border: 2px solid #E07A5F;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFEDD5 100%);
  animation: floatItem 4s infinite ease-in-out 0.5s;
}
.podium-item.rank-3 .podium-badge {
  background: var(--bronze-gradient);
  color: #FFFFFF;
}

.podium-badge {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.podium-medal {
  font-size: 2.8rem;
  line-height: 1;
  margin: 6px 0;
  transition: transform 0.3s;
}

.podium-item:hover .podium-medal {
  transform: scale(1.15) rotate(5deg);
}

.podium-name {
  font-weight: 800;
  font-size: 1.15rem;
  margin: 8px 0 4px;
  color: var(--navy);
  word-break: break-word;
}

.podium-score {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--green);
}

.pts-unit {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Leaderboard Specifics */
.lb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.live-dot {
  color: #DC2626;
  font-weight: 800;
  font-size: 0.88rem;
  animation: pulse 1.5s infinite;
  display: inline-block;
  margin-top: 4px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.search-box input {
  padding: 10px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.9rem;
  width: 240px;
  font-family: inherit;
}
.search-box input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px var(--saffron-glow);
}

.rank-cell {
  font-weight: 900;
  font-size: 1.05rem;
}
.rank-cell.gold { color: #D97706; }
.rank-cell.silver { color: #64748B; }
.rank-cell.bronze { color: #C2410C; }

.score-display {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--navy);
}

.pts {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

.empty-msg {
  text-align: center;
  padding: 36px 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Poster Footer Banner */
.poster-footer {
  background: var(--navy);
  color: #FFFFFF;
  padding: 22px;
  text-align: center;
  font-size: 0.88rem;
  border-top: 3px solid var(--saffron);
  margin-top: auto;
}

.poster-footer .slogan {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--saffron-bright);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.poster-footer .subtext {
  color: #94A3B8;
}

@media (max-width: 600px) {
  .topbar { padding: 14px 18px; }
  .card { padding: 20px; }
  .btn-row { flex-direction: column; }
  .podium-item.rank-1 { transform: none; animation: none; order: 1; }
  .podium-item.rank-2 { order: 2; animation: none; }
  .podium-item.rank-3 { order: 3; animation: none; }
  .search-box input { width: 100%; }
}

/* Admin Login Modal Styling */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 18, 36, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}

.login-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 2px var(--saffron-glow);
  text-align: center;
  position: relative;
  animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-card.shake {
  animation: shakeError 0.4s ease-in-out;
}

.login-header .login-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  background: #FFF7ED;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--saffron-bright);
  box-shadow: 0 4px 14px var(--saffron-glow);
}

.login-header h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 6px;
  border: none;
  padding: 0;
}

.login-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pass-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pass-input-wrap input {
  padding-right: 48px;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.toggle-pass-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.toggle-pass-btn:hover {
  opacity: 1;
}

.login-submit-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--saffron) 0%, #E66700 100%) !important;
  box-shadow: 0 6px 18px var(--saffron-glow);
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 119, 0, 0.5);
}

.login-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 1.4em;
}

.login-status.error {
  color: #DC2626;
}

.login-status.success {
  color: #059669;
}

.login-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--saffron);
  font-weight: 800;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

.btn-logout {
  background: #FEF2F2;
  color: #DC2626;
  border: 1.5px solid #FCA5A5;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-logout:hover {
  background: #DC2626;
  color: #FFFFFF;
}

/* Secondary Nav Button */
.secondary-nav-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none !important;
}

.secondary-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* WhatsApp Share Button */
.whatsapp-btn {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.whatsapp-btn:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Repo Submission Hero Card */
.repo-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #0C1E38 0%, #122847 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 119, 0, 0.3);
}

.repo-hero-content {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.github-icon-large {
  font-size: 2.8rem;
  background: rgba(255, 255, 255, 0.1);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.repo-hero-card h2 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 4px;
  border: none;
  padding: 0;
}

.repo-hero-card p {
  color: #94A3B8;
  font-size: 0.9rem;
}

/* Repo Badges & Links */
.repo-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0F172A;
  color: #F8FAFC;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #334155;
  transition: all 0.2s ease;
}

.repo-link-btn:hover {
  background: #2563EB;
  border-color: #3B82F6;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-tag.submitted {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.status-tag.pending {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.req {
  color: #EF4444;
}

/* Live Demo Link Button */
.live-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #059669;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.live-link-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
  color: #FFFFFF;
}

/* Logged-in Evaluator Badge */
.logged-admin-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  border: 1px solid rgba(255, 119, 0, 0.4);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logged-admin-badge strong {
  color: var(--saffron-bright);
}

/* PPT Link Button */
.ppt-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #6D28D9;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  transition: all 0.2s ease;
}

.ppt-link-btn:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
  color: #FFFFFF;
}

/* ========================================================= */
/* =================  MOBILE RESPONSIVENESS  =============== */
/* ========================================================= */

@media (max-width: 900px) {
  .topbar {
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .logo-block {
    justify-content: flex-start;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-btn, .btn-logout, .logged-admin-badge {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .container {
    padding: 16px 12px;
  }

  .card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .podium {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
  }

  .podium-item {
    width: 100%;
    max-width: 380px;
    transform: none !important;
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .institution {
    font-size: 0.72rem;
    letter-spacing: 1px;
  }

  .topbar h1 {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
  }

  .subtitle {
    font-size: 0.78rem;
  }

  .vsics-badge {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  .event-strip {
    padding: 8px 10px;
    gap: 12px;
    font-size: 0.78rem;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .form-group[style*="grid-column"] {
    grid-column: span 1 !important;
  }

  .btn-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn-row .btn {
    width: 100%;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    width: 100%;
  }

  table {
    min-width: 100% !important;
    width: 100% !important;
  }

  th, td {
    padding: 8px 6px !important;
    font-size: 0.82rem !important;
  }

  .team-name-cell {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .table-score-input {
    width: 58px !important;
    padding: 6px 4px !important;
    font-size: 0.88rem !important;
  }

  .quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 3px !important;
  }

  .quick-btn, .btn-save {
    padding: 4px 6px !important;
    font-size: 0.72rem !important;
    min-height: 28px !important;
  }

  .repo-link-btn, .live-link-btn, .ppt-link-btn {
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
  }

  .login-card {
    padding: 24px 18px;
    width: 92%;
    border-radius: 20px;
  }

  .login-header h2 {
    font-size: 1.35rem;
  }

  .repo-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

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






