/* ===== FONTS & VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1B3A6B;
  --primary-dark: #122a52;
  --primary-light: #2A4E8C;
  --gold: #C9A227;
  --gold-light: #F0C040;
  --light-bg: #F0F4FF;
  --card-bg: #FFFFFF;
  --text-dark: #1E2A3A;
  --text-mid: #4A5568;
  --text-light: #718096;
  --border: #DDE3EF;
  --success: #27AE60;
  --danger: #E53E3E;
  --warning: #D69E2E;
  --shadow-sm: 0 2px 8px rgba(27,58,107,0.08);
  --shadow-md: 0 4px 20px rgba(27,58,107,0.12);
  --shadow-lg: 0 8px 40px rgba(27,58,107,0.16);
  --radius: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ===== NAVBAR ===== */
#mainNav {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  padding: 0.6rem 0;
}
.brand-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold-light);
}
.brand-name { font-weight: 700; font-size: 1rem; color: #fff; line-height: 1.2; }
.brand-sub { font-size: 0.65rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 0.5rem 0.8rem !important;
  border-radius: 8px;
  transition: all 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.15);
}
.navbar-brand { text-decoration: none; }

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2A5A9B 100%);
  color: white;
  padding: 2rem 0 1.75rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,162,39,0.25);
  border: 1px solid rgba(201,162,39,0.5);
  color: var(--gold-light);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}
.hero-title span { color: var(--gold-light); }
.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 480px;
}
.hero-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--primary-dark) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 20px rgba(201,162,39,0.4);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 10;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,162,39,0.5);
  color: var(--primary-dark) !important;
}
.hero-cta:disabled, .hero-cta.disabled {
  opacity: 0.6;
  pointer-events: none;
}
.hero-icon-big {
  font-size: 6rem;
  opacity: 0.15;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
}
.card-header-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: var(--radius) var(--radius) 0 0 !important;
  padding: 1rem 1.25rem;
  font-weight: 600;
}
.info-card {
  border-left: 4px solid var(--gold);
  padding: 1.2rem;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}
.status-open {
  background: rgba(39,174,96,0.12);
  color: var(--success);
  border: 1px solid rgba(39,174,96,0.3);
}
.status-closed {
  background: rgba(229,62,62,0.1);
  color: var(--danger);
  border: 1px solid rgba(229,62,62,0.3);
}
.status-pending {
  background: rgba(214,158,46,0.12);
  color: var(--warning);
  border: 1px solid rgba(214,158,46,0.3);
}

/* ===== STAT CARDS ===== */
.stat-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  border: none;
}
.stat-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.stat-value { font-size: 2rem; font-weight: 700; line-height: 1; }
.stat-label { color: var(--text-mid); font-size: 0.85rem; }

/* ===== CONTACT PERSON ===== */
.cp-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
}
.cp-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ===== SURVEY FORM ===== */
.survey-progress {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.progress-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--border);
  color: var(--text-mid);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--border);
  transition: all 0.3s;
}
.step-item.active .step-circle {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 3px rgba(27,58,107,0.2);
}
.step-item.done .step-circle {
  background: var(--success);
  color: white;
  box-shadow: 0 0 0 3px rgba(39,174,96,0.2);
}
.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
}
.step-item.active .step-label { color: var(--primary); }
.step-item.done .step-label { color: var(--success); }

.section-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.section-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: white;
}
.section-header .section-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.section-body { padding: 1.25rem 1.5rem; }

/* Identity fields */
.identity-field {
  margin-bottom: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.identity-field:last-child { border-bottom: none; padding-bottom: 0; }
.identity-field label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
  display: block;
}
.q-num { color: var(--primary); font-weight: 700; margin-right: 2px; }
.identity-field .required-star { color: var(--danger); margin-left: 3px; }
.form-control-custom {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  width: 100%;
}
.form-control-custom:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}

/* Radio button groups */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.radio-option {
  position: relative;
}
.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-option label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.88rem;
  transition: all 0.2s;
  background: white;
  color: var(--text-mid);
}
.radio-option input[type="radio"]:checked + label {
  border-color: var(--primary);
  background: var(--light-bg);
  color: var(--primary);
}
.radio-option label:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

/* Likert scale */
.likert-question {
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--light-bg);
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.likert-question:hover { background: #E8EEF8; }
.likert-question.answered { background: rgba(39,174,96,0.05); border-color: rgba(39,174,96,0.3); }
.likert-q-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.likert-scale {
  display: flex;
  gap: 0.4rem;
  flex-wrap: nowrap;
  align-items: stretch;
}
.likert-opt {
  position: relative;
  flex: 1;
  min-width: 0;
}
.likert-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.likert-opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.25rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  text-align: center;
  line-height: 1.2;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
.likert-opt label .score {
  font-weight: 700;
  font-size: 1.1rem;
}
.likert-opt label .desc {
  font-size: 0.62rem;
  color: var(--text-light);
  font-weight: 500;
}
.likert-opt:nth-child(1) input:checked + label { background: #FEE2E2; border-color: #F87171; color: #DC2626; }
.likert-opt:nth-child(1) label:hover { border-color: #F87171; }
.likert-opt:nth-child(2) input:checked + label { background: #FEF3C7; border-color: #F59E0B; color: #B45309; }
.likert-opt:nth-child(2) label:hover { border-color: #F59E0B; }
.likert-opt:nth-child(3) input:checked + label { background: #D1FAE5; border-color: #34D399; color: #065F46; }
.likert-opt:nth-child(3) label:hover { border-color: #34D399; }
.likert-opt:nth-child(4) input:checked + label { background: #DCFCE7; border-color: #16A34A; color: #14532D; }
.likert-opt:nth-child(4) label:hover { border-color: #16A34A; }

.likert-scale-header {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.category-icon { font-size: 0.9rem; }

/* Open questions */
.open-question {
  margin-bottom: 1.5rem;
}
.open-q-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}
.open-q-textarea {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  width: 100%;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s;
}
.open-q-textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.word-counter {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: right;
  margin-top: 4px;
}
.word-counter.near-limit { color: var(--warning); }
.word-counter.at-limit { color: var(--danger); font-weight: 600; }

/* Navigation buttons */
.nav-buttons {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.btn-prev {
  background: white;
  border: 2px solid var(--border);
  color: var(--text-mid);
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-prev:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-next {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 15px rgba(27,58,107,0.3);
  transition: all 0.2s;
}
.btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,58,107,0.4);
  color: white;
}
.btn-submit {
  background: linear-gradient(135deg, var(--success) 0%, #2ECC71 100%);
  color: white;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 15px rgba(39,174,96,0.35);
  font-size: 1rem;
  transition: all 0.2s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(39,174,96,0.45);
  color: white;
}

/* ===== ADMIN LAYOUT ===== */
.admin-wrapper {
  display: flex;
  min-height: calc(100vh - 64px);
}
.admin-sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  flex-shrink: 0;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
.admin-main {
  flex: 1;
  padding: 1.5rem;
  min-width: 0;
}
.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sidebar-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.sidebar-name { font-weight: 600; font-size: 0.95rem; }
.sidebar-role { font-size: 0.72rem; color: rgba(255,255,255,0.6); }

.sidebar-nav { padding: 1rem 0; }
.sidebar-section {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  padding: 0.75rem 1.25rem 0.25rem;
  text-transform: uppercase;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: 0;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.sidebar-link:hover {
  color: white;
  background: rgba(255,255,255,0.1);
  border-left-color: rgba(255,255,255,0.4);
}
.sidebar-link.active {
  color: white;
  background: rgba(255,255,255,0.15);
  border-left-color: var(--gold);
}
.sidebar-link .icon {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
}

/* ===== ADMIN TABLES ===== */
.table-custom {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-custom table {
  margin: 0;
  width: 100%;
}
.table-custom thead tr {
  background: var(--light-bg);
  border-bottom: 2px solid var(--border);
}
.table-custom thead th {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
}
.table-custom tbody td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.table-custom tbody tr:last-child td { border-bottom: none; }
.table-custom tbody tr:hover { background: var(--light-bg); }

/* ===== PAGE HEADER ===== */
.page-header {
  margin-bottom: 1.5rem;
}
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}
.page-subtitle {
  color: var(--text-mid);
  font-size: 0.88rem;
}

/* ===== MODALS ===== */
.modal-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.modal-header .btn-close { filter: invert(1); }
.modal-content { border: none; border-radius: var(--radius); }
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.form-control, .form-select {
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  transition: border-color 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(27,58,107,0.25);
}
.btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(27,58,107,0.35);
  color: white;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--primary-dark);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s;
}
.btn-gold:hover {
  transform: translateY(-1px);
  color: var(--primary-dark);
}
.btn-danger-custom {
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
}

/* ===== THANK YOU ===== */
.ty-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--light-bg);
}
.ty-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
}
.ty-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #2ECC71);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.6rem;
  color: white;
}
.ty-title { font-size: 1.4rem; font-weight: 700; color: var(--success); margin-bottom: 0.2rem; }
.ty-sub { font-size: 0.95rem; font-weight: 600; color: var(--primary); margin-bottom: 0.6rem; }
.ty-msg { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.5; }
.ty-contacts { background: #F8FAFF; border: 1px solid var(--border); border-radius: 10px; padding: 0.65rem 0.9rem; margin-bottom: 1rem; text-align: left; }
.ty-contacts-label { font-size: 0.75rem; font-weight: 600; color: var(--text-light); margin-bottom: 0.5rem; }
.ty-contacts-list { display: flex; flex-direction: column; gap: 0.5rem; }
.ty-contact-item { display: flex; align-items: center; gap: 0.6rem; }
.ty-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--primary-light)); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.ty-contact-info { font-size: 0.8rem; line-height: 1.3; }
.ty-contact-info strong { display: block; color: var(--text-dark); }
.ty-wa { color: #25D366; text-decoration: none; font-size: 0.75rem; }
.ty-btn { display: block; background: linear-gradient(135deg,var(--primary-dark),var(--primary-light)); color: white !important; border: none; border-radius: 10px; padding: 0.65rem 1rem; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: opacity 0.2s; }
.ty-btn:hover { opacity: 0.9; }

/* ===== LOGIN ===== */
.login-wrapper {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.login-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
}
.login-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: white;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.login-header-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.6rem;
  font-size: 1.2rem;
}
.login-body { padding: 1.25rem 1.5rem; }

/* ===== FOOTER ===== */
.footer-custom {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.footer-custom a { color: rgba(255,255,255,0.7); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-wrapper { display: block; }
  .admin-main { padding: 1rem; }
  .hero-icon-big { display: none; }
  .likert-opt label .desc { font-size: 0.6rem; }
  .ty-card { padding: 1.25rem 1rem; }
  .section-body { padding: 0.9rem 1rem; }
  .section-header { padding: 0.9rem 1rem; }
  .identity-field { padding: 0.55rem 0; }
}

@media (max-width: 480px) {
  .likert-opt label { padding: 0.4rem 0.1rem; }
  .likert-opt label .score { font-size: 0.9rem; }
  .likert-opt label .desc { font-size: 0.55rem; }
}

/* Sidebar toggle for mobile */
.mobile-sidebar-btn {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: var(--shadow-md);
  font-size: 1.2rem;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .mobile-sidebar-btn { display: flex; }
}

.section-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 50%, transparent 100%);
  border: none;
  border-radius: 2px;
  margin: 1.5rem 0;
  opacity: 0.3;
}

/* Alert customizations */
.alert {
  border: none;
  border-radius: var(--radius);
  font-size: 0.88rem;
}

/* Badge styles */
.badge-section {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-a { background: #EEF2FF; color: var(--primary); }
.badge-b { background: #FFF7ED; color: #C2410C; }
.badge-c { background: #F0FFF4; color: #276749; }

/* Pulse animation for active status */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
  margin-right: 4px;
}
