/* ==========================================================================
   SANTRI AWARDS 2026 - NEOBRUTALISM DESIGN SYSTEM
   High contrast, tactile surfaces, solid drop shadows, responsive layout.
   ========================================================================== */

:root {
  --bg-canvas: #FFFDF5;
  --ink: #121212;
  --surface: #FFFFFF;
  --gold: #FFDE59;
  --mint: #34D399;
  --coral: #FF6B6B;
  --sky: #67E8F9;
  --purple: #C084FC;
  --border-thick: 3px solid var(--ink);
  --border-medium: 2.5px solid var(--ink);
  --border-thin: 2px solid var(--ink);
  --shadow-sm: 3px 3px 0px var(--ink);
  --shadow-md: 5px 5px 0px var(--ink);
  --shadow-lg: 8px 8px 0px var(--ink);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-canvas);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* Container */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
  background-color: var(--gold);
  border-bottom: var(--border-thick);
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-badge {
  background-color: var(--coral);
  color: #FFFFFF;
  padding: 3px 10px;
  border: var(--border-thin);
  border-radius: 4px;
  font-size: 0.8rem;
  box-shadow: 2px 2px 0px var(--ink);
}

.nav-link-btn {
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: var(--border-thin);
  padding: 4px 12px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 2px 2px 0px var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.nav-link-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--ink);
}

.nav-link-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--ink);
}

/* Header Section */
.hero-header {
  margin: 32px 0 24px;
  text-align: center;
}

.hero-box {
  background: var(--surface);
  border: var(--border-thick);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background-color: var(--coral);
  color: #FFFFFF;
  border: var(--border-medium);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto 20px;
  color: #2D3748;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.stat-pill {
  background: var(--bg-canvas);
  border: var(--border-medium);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sticky Category Quick Jump Navigator */
.sticky-nav-container {
  position: sticky;
  top: 12px;
  z-index: 40;
  margin-bottom: 24px;
}

.category-nav-bar {
  background: var(--surface);
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-nav-title {
  font-weight: 900;
  font-size: 0.8rem;
  white-space: nowrap;
  text-transform: uppercase;
  padding-right: 8px;
  border-right: 2px solid var(--ink);
}

.category-nav-pill {
  background: var(--bg-canvas);
  border: var(--border-thin);
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.category-nav-pill:hover {
  background: var(--gold);
  transform: translate(-1px, -1px);
}

.category-nav-pill.filled {
  background: var(--mint);
  color: #000;
}

.category-nav-pill.active {
  outline: 2px dashed var(--ink);
  outline-offset: 2px;
}

/* Card Styles */
.neo-card {
  background: var(--surface);
  border: var(--border-thick);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neo-card:focus-within {
  box-shadow: var(--shadow-lg);
}

/* Form Styles */
.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: var(--border-thick);
}

.section-badge {
  background: var(--ink);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-label {
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-required {
  color: var(--coral);
  font-weight: 900;
}

.form-hint {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
}

.neo-input,
.neo-select,
.neo-textarea {
  font-family: var(--font-main);
  background: #FFFFFF;
  border: var(--border-medium);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all 0.15s ease;
  width: 100%;
}

.neo-input:focus,
.neo-select:focus,
.neo-textarea:focus {
  background-color: #FFFDF0;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px var(--ink);
}

.neo-textarea {
  min-height: 84px;
  resize: vertical;
}

/* Category Card Specifics */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.category-number-badge {
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: var(--border-thin);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

.category-tag-badge {
  background: var(--gold);
  border: var(--border-thin);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 6px;
  box-shadow: 2px 2px 0px var(--ink);
}

.category-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
  width: 100%;
}

.category-description {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 14px;
  background: #F8FAFC;
  padding: 10px 14px;
  border-left: 4px solid var(--ink);
  border-radius: 0 6px 6px 0;
  border: var(--border-thin);
}

/* Real Life Example Box */
.example-box {
  background: #EFF6FF;
  border: var(--border-thin);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 2px 2px 0px var(--ink);
}

.example-box-header {
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1D4ED8;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.example-box-content {
  font-size: 0.88rem;
  color: #1E293B;
  font-style: italic;
  line-height: 1.5;
}

/* Autocomplete Container */
.autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: var(--border-thick);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}

.autocomplete-dropdown.show {
  display: block;
}

.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1.5px solid #E2E8F0;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.1s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: var(--gold);
}

.autocomplete-item-dept {
  font-size: 0.75rem;
  background: #FFFFFF;
  border: 1px solid var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}

.autocomplete-empty {
  padding: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 600;
}

.autocomplete-custom-add {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: var(--mint);
  border-top: var(--border-thin);
  border-left: none;
  border-right: none;
  border-bottom: none;
  text-align: left;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

.autocomplete-custom-add:hover {
  background: #10B981;
  color: #FFFFFF;
}

/* Selected Ustadz Badge */
.selected-ustadz-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  border: var(--border-medium);
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}

.remove-selected-btn {
  background: var(--coral);
  color: #FFFFFF;
  border: var(--border-thin);
  border-radius: 4px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Action Buttons */
.neo-btn {
  font-family: var(--font-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  border: var(--border-thick);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.neo-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.neo-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--ink);
}

.neo-btn-primary {
  background: var(--gold);
}

.neo-btn-success {
  background: var(--mint);
}

.neo-btn-danger {
  background: var(--coral);
  color: #FFFFFF;
}

.neo-btn-outline {
  background: var(--surface);
}

.neo-btn-block {
  width: 100%;
}

.neo-btn-lg {
  font-size: 1.2rem;
  padding: 16px 32px;
  border-radius: 10px;
}

/* Bottom Bar / Submit Area */
.submit-card {
  background: var(--gold);
  border: var(--border-thick);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin-top: 32px;
}

.submit-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.submit-card p {
  font-weight: 600;
  margin-bottom: 20px;
  color: #334155;
}

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 18, 18, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--surface);
  border: 4px solid var(--ink);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 10px 10px 0px var(--ink);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-thick);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 900;
}

.modal-close-btn {
  background: var(--coral);
  color: #FFFFFF;
  border: var(--border-thin);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--surface);
  border: var(--border-thick);
  border-radius: 8px;
  padding: 14px 20px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.2s ease forwards;
  max-width: 360px;
}

.toast.success {
  background: var(--mint);
}

.toast.error {
  background: var(--coral);
  color: #FFFFFF;
}

.toast.info {
  background: var(--sky);
}

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

/* Admin Dashboard Specifics */
.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  background: var(--surface);
  border: var(--border-thick);
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.admin-tab-btn.active {
  background: var(--gold);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-table-container {
  overflow-x: auto;
  border: var(--border-thick);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
}

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

.admin-table th {
  background: var(--gold);
  border-bottom: var(--border-thick);
  border-right: 1.5px solid var(--ink);
  padding: 12px 14px;
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1.5px solid #E2E8F0;
  border-right: 1.5px solid #E2E8F0;
  font-size: 0.9rem;
  font-weight: 600;
}

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

.podium-card {
  border: var(--border-thick);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.podium-rank-1 {
  background: #FEF08A;
  border-left: 8px solid #CA8A04;
}

.podium-rank-2 {
  background: #F1F5F9;
  border-left: 8px solid #94A3B8;
}

.podium-rank-3 {
  background: #FFEDD5;
  border-left: 8px solid #EA580C;
}

/* Bulk Input Helper */
.bulk-preview-box {
  background: #F8FAFC;
  border: var(--border-thin);
  border-radius: 6px;
  padding: 12px;
  margin-top: 10px;
  font-size: 0.85rem;
  max-height: 180px;
  overflow-y: auto;
  font-family: monospace;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-box {
    padding: 20px 16px;
  }
  .category-card-title {
    font-size: 1.15rem;
  }
  .neo-btn-lg {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .toast {
    max-width: 100%;
  }
}

/* ==========================================================================
   SURVEY HORIZONTAL WIZARD & STEP NAVIGATION
   ========================================================================== */

.wizard-progress-track {
  height: 12px;
  background: #E2E8F0;
  border: var(--border-medium);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.wizard-progress-fill {
  height: 100%;
  background: var(--mint);
  width: 0%;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-right: 2px solid var(--ink);
}

.wizard-step-card {
  display: none;
}

.wizard-step-card.active {
  display: block;
}

.wizard-step-card.slide-right {
  animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wizard-step-card.slide-left {
  animation: slideInLeft 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(40px);
    opacity: 0.2;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-40px);
    opacity: 0.2;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.wizard-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: var(--border-thick);
  flex-wrap: wrap;
}

.wizard-step-indicator-text {
  font-weight: 900;
  font-size: 0.95rem;
  background: var(--surface);
  border: var(--border-thin);
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

/* Disabled button styling for Neobrutalism */
.neo-btn:disabled,
.neo-btn[disabled] {
  background: #E2E8F0 !important;
  color: #94A3B8 !important;
  border-color: #94A3B8 !important;
  box-shadow: 2px 2px 0px #CBD5E1 !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.8;
}

.incomplete-warning-box {
  background: #FEF2F2;
  border: 2px solid #EF4444;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #991B1B;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.complete-success-box {
  background: #F0FDF4;
  border: 2px solid #10B981;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #065F46;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Receipt & Confirmation View Styles */
.receipt-box {
  background: #FFFFFF;
  border: var(--border-thick);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

/* Quick Reason Chips (Inspirasi Alasan Santri) */
.reason-chips-container {
  margin-top: 8px;
  margin-bottom: 6px;
}

.reason-chips-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.reason-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reason-chip-btn {
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  background: #F8FAFC;
  color: #1E293B;
  border: 1.5px solid #121212;
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
  box-shadow: 1.5px 1.5px 0px #121212;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reason-chip-btn:hover {
  background: var(--gold);
  transform: translate(-1px, -1px);
  box-shadow: 2.5px 2.5px 0px #121212;
}

.reason-chip-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0.5px 0.5px 0px #121212;
}

/* Upgraded Selected Ustadz Card */
.selected-ustadz-card {
  background: #FFFDF0;
  border: var(--border-thick);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  animation: popIn 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.selected-ustadz-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 220px;
}

.ustadz-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0px var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--ink);
  flex-shrink: 0;
}

.selected-ustadz-text .label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #047857;
  display: flex;
  align-items: center;
  gap: 4px;
}

.selected-ustadz-text .name {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 2px;
}

.change-ustadz-btn {
  font-family: var(--font-main);
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--ink);
  transition: all 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.change-ustadz-btn:hover {
  background: var(--coral);
  color: #FFFFFF;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--ink);
}

/* Category Drawer / Quick Modal Grid */
.category-drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.drawer-cat-card {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 2px 2px 0px var(--ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.12s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.drawer-cat-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px var(--ink);
}

.drawer-cat-card.active {
  border-color: #2563EB;
  background: #EFF6FF;
}

.drawer-cat-card.filled {
  border-left: 6px solid #10B981;
}

.drawer-cat-card.unfilled {
  border-left: 6px solid #F59E0B;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Certificate Participation Styling */
.certificate-frame {
  background: #FFFDF0;
  border: 4px solid var(--ink);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 8px 8px 0px var(--ink);
  position: relative;
  overflow: hidden;
}

.certificate-header-seal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px dashed #121212;
  padding-bottom: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

/* Admin UX Enhancements */
.admin-search-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-search-input {
  flex: 1;
  min-width: 220px;
  padding: 8px 14px;
  font-size: 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 2px 2px 0px var(--ink);
  outline: none;
}

.admin-search-input:focus {
  border-color: #2563EB;
  box-shadow: 3px 3px 0px var(--ink);
}

.admin-filter-select {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 2px 2px 0px var(--ink);
  cursor: pointer;
}

@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .top-bar, 
  .hero-header, 
  .sticky-nav-container, 
  #survey-form, 
  .modal-overlay, 
  .toast-container, 
  .no-print {
    display: none !important;
  }
  #submission-confirmation-view {
    display: block !important;
    box-shadow: none !important;
    border: 2px solid #000000 !important;
    padding: 16px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
  }
  details[open], details {
    border: 1px solid #94A3B8 !important;
  }
}


