/* Student Committee — Design System */

:root {
  --brand-navy: #060d1a;
  --brand-cyan: #22d3ee;
  --brand-sky: #0ea5e9;
  --primary: #0369a1;
  --secondary: #0ea5e9;
  --accent: #22d3ee;
  --font-display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #cbd5e1;
  background-color: var(--brand-navy) !important;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 211, 238, 0.06), transparent),
    radial-gradient(ellipse 50% 30% at 0% 100%, rgba(59, 130, 246, 0.05), transparent) !important;
  background-attachment: fixed;
}

::selection { background: rgba(14, 165, 233, 0.3); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--brand-navy); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 999px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); letter-spacing: -0.02em; }

.page-wrap { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .page-wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .page-wrap { padding-left: 2rem; padding-right: 2rem; } }
.section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section { padding-top: 6rem; padding-bottom: 6rem; } }
.section-sm { padding-top: 3rem; padding-bottom: 3rem; }

.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #38bdf8; margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.15; }
.section-desc { color: #94a3b8; font-size: 1rem; line-height: 1.7; max-width: 42rem; }
.gradient-text { background: linear-gradient(to right, #7dd3fc, #22d3ee, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }

.card { background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(12px); border: 1px solid rgba(30, 41, 59, 0.8); border-radius: 1rem; box-shadow: 0 20px 40px rgba(0,0,0,0.25); transition: all 0.3s ease; }
.card:hover { border-color: rgba(14, 165, 233, 0.25); transform: translateY(-2px); box-shadow: 0 20px 40px rgba(14, 165, 233, 0.08); }
.card-static { background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(12px); border: 1px solid rgba(30, 41, 59, 0.8); border-radius: 1rem; box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.card-body { padding: 1.5rem; }
.card-glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; border-radius: 0.75rem; transition: all 0.2s ease; cursor: pointer; text-decoration: none; border: none; }
.btn-primary { background: linear-gradient(to right, #0284c7, #2563eb); color: #fff; padding: 0.75rem 1.5rem; box-shadow: 0 8px 24px rgba(14,165,233,0.25); }
.btn-primary:hover { background: linear-gradient(to right, #0ea5e9, #3b82f6); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14,165,233,0.35); color: #fff; }
.btn-secondary { background: #1e293b; color: #fff; padding: 0.75rem 1.5rem; border: 1px solid #334155; }
.btn-secondary:hover { background: #334155; color: #fff; }
.btn-ghost { color: #cbd5e1; padding: 0.5rem 1rem; background: transparent; }
.btn-ghost:hover { color: #fff; background: rgba(30,41,59,0.6); }
.btn-accent { background: linear-gradient(to right, #22d3ee, #38bdf8); color: #0f172a; padding: 0.75rem 1.5rem; font-weight: 700; }
.btn-sm { font-size: 0.875rem; padding: 0.5rem 1rem; border-radius: 0.5rem; }
.btn-lg { font-size: 1rem; padding: 1rem 2rem; }

.input-field { width: 100%; padding: 0.75rem 1rem; background: rgba(2,6,23,0.6); border: 1px solid rgba(51,65,85,0.8); border-radius: 0.75rem; color: #fff; transition: all 0.2s; }
.input-field::placeholder { color: #64748b; }
.input-field:focus { outline: none; border-color: rgba(14,165,233,0.6); box-shadow: 0 0 0 3px rgba(14,165,233,0.15); }
.input-field option { background-color: #0f172a; color: #fff; }
.label-field { display: block; font-size: 0.75rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.select-field { appearance: none; cursor: pointer; }

.badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.625rem; border-radius: 9999px; }
.badge-sky { background: rgba(14,165,233,0.15); color: #7dd3fc; border: 1px solid rgba(14,165,233,0.2); }
.badge-green { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.2); }
.badge-yellow { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.2); }
.badge-red { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }

.alert { padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; border: 1px solid; }
.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-error { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #fca5a5; }
.alert-info { background: rgba(14,165,233,0.1); border-color: rgba(14,165,233,0.3); color: #7dd3fc; }

.navbar-brand-logo {
  height: 2rem;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .navbar-brand-logo {
    height: 2.25rem;
    max-width: 11rem;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-brand:hover { opacity: 0.85; }
.footer-brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
}
.footer-brand-tagline {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.125rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 41, 59, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-bottom-copy {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.25rem;
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #e2e8f0; }
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .footer-bottom-links { justify-content: flex-end; }
}

.nav-link { font-size: 0.875rem; font-weight: 500; color: #94a3b8; transition: color 0.2s; text-decoration: none; position: relative; }
.nav-link:hover { color: #fff; }
.nav-link-active { color: #38bdf8 !important; font-weight: 600; }
.nav-link-active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: linear-gradient(to right, #38bdf8, #22d3ee); border-radius: 9999px; }

.list-item { background: rgba(15,23,42,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(30,41,59,0.8); border-radius: 1rem; padding: 1.25rem; transition: all 0.3s; }
.list-item:hover { border-color: rgba(14,165,233,0.25); transform: translateY(-2px); }

.stat-card { background: rgba(15,23,42,0.7); border: 1px solid rgba(30,41,59,0.8); border-radius: 1rem; padding: 1.5rem; text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: #64748b; margin-top: 0.25rem; }

.page-hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(14,165,233,0.15), transparent 70%); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.6s ease-out forwards; }

.admin-sidebar-link { display: block; padding: 0.625rem 0.75rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 600; color: #94a3b8; text-decoration: none; transition: all 0.2s; }
.admin-sidebar-link:hover { background: rgba(30,41,59,0.8); color: #fff; }
.admin-sidebar-link-active { background: rgba(14,165,233,0.1); color: #38bdf8; border-left: 2px solid #38bdf8; }
.admin-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.admin-table th { padding: 0.75rem; text-align: left; color: #64748b; font-weight: 600; text-transform: uppercase; font-size: 10px; border-bottom: 1px solid #1e293b; }
.admin-table td { padding: 0.75rem; border-bottom: 1px solid rgba(30,41,59,0.5); color: #cbd5e1; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
