:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.15);
  --success: #059669;
  --success-dark: #047857;
  --success-light: #ecfdf5;
  --danger: #dc2626;
  --danger-dark: #b91c1c;
  --danger-light: #fef2f2;
  --warning: #d97706;
  --warning-dark: #b45309;
  --warning-light: #fffbeb;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.navbar .brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: white;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar .brand:hover { color: white; }
.navbar .brand svg { opacity: 0.9; }
.navbar nav { display: flex; align-items: center; gap: 0.25rem; }
.navbar nav a {
  color: var(--gray-400);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.navbar nav a:hover { color: white; background: rgba(255, 255, 255, 0.08); }
.navbar nav a.active { color: white; background: rgba(255, 255, 255, 0.12); }
.navbar .user-info { display: flex; align-items: center; gap: 0.75rem; }
.navbar .user-info span {
  color: var(--gray-400);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}
.navbar .user-info form { display: inline; }
.navbar .user-info button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  padding: 0.3rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
}
.navbar .user-info button:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   CONTAINER
   ============================================ */
.container { max-width: 1140px; margin: 0 auto; padding: 2rem; }

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: flashIn 0.3s ease-out;
}
@keyframes flashIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.flash-error {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid #fecaca;
}
.flash-success {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid #a7f3d0;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow); }
.card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.page-header h1 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.025em;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #3730a3);
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-success {
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: white;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}
.btn-success:hover {
  background: linear-gradient(135deg, var(--success-dark), #065f46);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}
.btn-danger {
  background: linear-gradient(135deg, var(--danger), var(--danger-dark));
  color: white;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}
.btn-danger:hover {
  background: linear-gradient(135deg, var(--danger-dark), #991b1b);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}
.btn-warning {
  background: linear-gradient(135deg, var(--warning), var(--warning-dark));
  color: white;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}
.btn-warning:hover {
  background: linear-gradient(135deg, var(--warning-dark), #92400e);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}
.btn-outline {
  background: white;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  box-shadow: var(--shadow);
}
.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.8rem; border-radius: 8px; }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; border-radius: 12px; }
.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 8px;
}
.btn-ghost {
  background: transparent;
  color: var(--gray-500);
  border: none;
  box-shadow: none;
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-700); box-shadow: none; }

/* ============================================
   TABLES
   ============================================ */
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
}
th {
  font-weight: 600;
  color: var(--gray-500);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0.85rem;
}
td { border-bottom: 1px solid var(--gray-100); }
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: var(--gray-50); }
tbody tr:last-child td { border-bottom: none; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  background: white;
  transition: all var(--transition);
  color: var(--gray-800);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--gray-400);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Custom checkbox */
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Custom file input */
input[type="file"] {
  font-size: 0.85rem;
  color: var(--gray-600);
}
input[type="file"]::file-selector-button {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  margin-right: 0.75rem;
  transition: all var(--transition);
}
input[type="file"]::file-selector-button:hover {
  background: var(--gray-200);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}
.badge-available { background: var(--success-light); color: var(--success); }
.badge-unavailable { background: var(--danger-light); color: var(--danger); }
.badge-conditional { background: var(--warning-light); color: var(--warning); }
.badge-pending { background: var(--gray-100); color: var(--gray-500); }
.badge-expired { background: var(--gray-100); color: var(--gray-500); }
.badge-active { background: var(--primary-light); color: var(--primary); }
.badge-rating {
  background: var(--gray-100);
  color: var(--gray-600);
  margin: 0.1rem;
  font-weight: 500;
  font-size: 0.7rem;
}

/* ============================================
   STAT CARDS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.stat-card:nth-child(1)::before { background: var(--primary); }
.stat-card:nth-child(2)::before { background: var(--success); }
.stat-card:nth-child(3)::before { background: var(--warning); }
.stat-card:nth-child(4)::before { background: #8b5cf6; }
.stat-card .stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.35rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 50%, var(--primary-dark) 100%);
}
.login-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.15);
}
.login-card h1 {
  text-align: center;
  margin-bottom: 0.35rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}
.login-card p {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.login-card .btn { width: 100%; justify-content: center; }

/* ============================================
   AVAILABILITY RESPONSE PAGE
   ============================================ */
.response-page {
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
  padding: 0 1rem;
}
.response-page h1 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.response-page .subtitle {
  color: var(--gray-500);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.response-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.response-buttons .btn {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
  min-width: 150px;
  border-radius: 14px;
}
.response-page .details { text-align: left; margin: 1.5rem 0; }
.response-page .details dt {
  font-weight: 600;
  color: var(--gray-500);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.response-page .details dd { margin-bottom: 0.85rem; font-size: 1rem; color: var(--gray-800); }

/* ============================================
   UPLOAD PREVIEW TABLE
   ============================================ */
.preview-table td.invalid { color: var(--danger); }
.preview-table tr.invalid { background: var(--danger-light); }

/* ============================================
   ADMIN PAGE
   ============================================ */
.admin-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.admin-section:last-child { border-bottom: none; padding-bottom: 0; }
.admin-section:first-child { padding-top: 0; }
.section-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.checkbox-label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: background var(--transition);
  color: var(--gray-700);
}
.checkbox-label:hover { background: var(--gray-50); }
.upload-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.upload-row:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.table-scroll { overflow-x: auto; }

/* Event groups - grouped competitions by name */
.event-group {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.event-group:last-child { margin-bottom: 0; }
.event-group-header {
  background: var(--gray-50);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.event-group-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  letter-spacing: -0.01em;
}
.event-group table { margin: 0; }
.event-group th { background: white; }
.event-group tbody tr:last-child td { border-bottom: none; }

/* Discipline date grid for Add Event form */
.discipline-dates-grid {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 0.5rem;
}
.discipline-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.discipline-date-row:last-child { border-bottom: none; }
.discipline-date-row:hover { background: var(--gray-50); }
.discipline-date-sub {
  padding-left: 2rem;
  background: var(--gray-50);
}
.discipline-date-sub:hover { background: var(--gray-100); }
.discipline-date-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  min-width: 180px;
}
.discipline-date-sub .discipline-date-label {
  font-weight: 500;
  color: var(--gray-600);
  font-size: 0.85rem;
}
.discipline-date-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.discipline-date-inputs input[type="date"] {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--gray-800);
  background: white;
  transition: all var(--transition);
}
.discipline-date-inputs input[type="date"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.discipline-date-inputs input[type="date"]:hover {
  border-color: var(--gray-400);
}

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--gray-500);
}
.empty-state svg { margin-bottom: 1rem; opacity: 0.4; }
.empty-state p { font-size: 0.95rem; margin-bottom: 0.5rem; }

/* ============================================
   UTILITIES
   ============================================ */
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 0.85rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 0.5rem; }
.inline-flex { display: inline-flex; align-items: center; }

/* Delete form inline */
.delete-form { display: inline; }
.delete-form button {
  background: none;
  border: 1px solid transparent;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all var(--transition);
}
.delete-form button:hover {
  color: var(--danger);
  background: var(--danger-light);
  border-color: #fecaca;
}

.confirm-action { cursor: pointer; }

/* Chief judge assign dropdown in events table */
.chief-assign-form { display: inline; }
.chief-assign-select {
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: inherit;
  color: var(--gray-700);
  background: white;
  cursor: pointer;
  min-width: 140px;
  transition: all var(--transition);
}
.chief-assign-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.chief-assign-select:hover { border-color: var(--gray-400); }

/* Chief judge discipline rows */
.chief-discipline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: background var(--transition);
}
.chief-discipline-row:hover { background: var(--gray-50); }
.chief-discipline-info { flex: 1; min-width: 0; }
.chief-discipline-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}
.chief-discipline-stats { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chief-discipline-action { flex-shrink: 0; }
.chief-email-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.chief-select {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--gray-700);
  background: white;
  min-width: 200px;
}
.chief-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.chief-custom-email {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--gray-700);
  width: 200px;
}
.chief-custom-email:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Rating grid for judge forms */
.rating-grid {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 0.35rem;
}
.rating-grid-header {
  display: grid;
  grid-template-columns: 1fr 160px;
  padding: 0.5rem 1rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.rating-row {
  display: grid;
  grid-template-columns: 1fr 160px;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.rating-row:last-child { border-bottom: none; }
.rating-row:hover { background: var(--gray-50); }
.rating-discipline-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}
.rating-level-select {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--gray-700);
  background: white;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition);
}
.rating-level-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.rating-level-select:hover { border-color: var(--gray-400); }
.rating-level-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: var(--gray-200);
  color: var(--gray-600);
  margin-left: 0.25rem;
  vertical-align: middle;
}
.rating-fai {
  background: #dbeafe;
  color: #2563eb;
  font-weight: 700;
}

/* Toggle button active states for availability response */
.toggle-btn { transition: all 0.15s ease; }
.toggle-btn.active-choice { transform: scale(1.05); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .container { padding: 1rem; }
  .navbar { padding: 0 1rem; }
  .navbar nav { gap: 0; }
  .navbar nav a { padding: 0.35rem 0.5rem; font-size: 0.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .response-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .upload-row { flex-direction: column; align-items: flex-start; }
  .discipline-date-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .discipline-date-label { min-width: auto; }
  .chief-discipline-row { flex-direction: column; }
  .chief-email-row { flex-wrap: wrap; }
  .chief-select { min-width: 100%; }
}
