/* ============================================
   COMMUNITY & PARTICIPANT MANAGEMENT SYSTEM STYLES
   ============================================ */

/* --- Profile Completion Meter --- */
.profile-completion {
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
}

.completion-bar-wrapper {
  margin-top: var(--space-2);
}

.completion-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
}

.completion-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.completion-bar-fill {
  height: 100%;
  background: var(--gemini-gradient);
  border-radius: var(--radius-pill);
  transition: width 0.5s ease-out;
}

/* --- Participant Portal --- */
.participant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .participant-grid {
    grid-template-columns: 320px 1fr;
  }
}

.qr-identity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-6);
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.qr-identity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gemini-gradient-h);
}

.qr-photo {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 3px solid var(--g-blue);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.qr-container {
  padding: var(--space-4);
  background: #FFFFFF; /* High contrast for scanning in dark mode */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-medium);
  width: 200px;
  height: 200px;
}

.qr-identity-id {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

.profile-avatar-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-6);
}

.profile-avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 3.5px dashed var(--border-medium);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-base);
}

.profile-avatar-preview:hover {
  border-color: var(--g-blue);
  color: var(--g-blue);
}

.profile-avatar-input {
  display: none;
}

.profile-avatar-hint {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-2);
}

/* --- Staff Dashboard Layout --- */
.staff-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.staff-nav-tabs {
  display: flex;
  gap: var(--space-2);
  border-bottom: 2px solid var(--border-light);
  margin-bottom: var(--space-6);
}

.staff-tab-btn {
  padding: var(--space-3) var(--space-6);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.staff-tab-btn:hover {
  color: var(--text-primary);
}

.staff-tab-btn.active {
  color: var(--g-blue);
  border-bottom-color: var(--g-blue);
}

/* --- QR Code Camera Viewfinder Overlay --- */
.scanner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  padding: var(--space-4);
  backdrop-filter: blur(8px);
}

.scanner-container {
  width: 100%;
  max-width: 500px;
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-medium);
}

.scanner-header {
  padding: var(--space-4) var(--space-6);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scanner-viewfinder {
  width: 100%;
  aspect-ratio: 1;
  background: #000000;
  position: relative;
}

.scanner-viewfinder #reader {
  width: 100% !important;
  height: 100% !important;
}

.scanner-viewfinder #reader video {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

.scanner-controls {
  padding: var(--space-4) var(--space-6);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: var(--space-4);
}

.scanner-history {
  padding: var(--space-4) var(--space-6);
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid var(--border-light);
  background: var(--bg-elevated);
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: var(--fs-xs);
  border-bottom: 1px solid var(--border-light);
}

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

.scanner-target-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

.scanner-target-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--g-red);
  box-shadow: 0 0 8px var(--g-red);
  animation: scanRadar 2s linear infinite;
}

@keyframes scanRadar {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* --- Checklist Styling --- */
.checklist-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  transition: var(--transition-base);
}

.checklist-card:hover {
  border-color: var(--border-medium);
}

.checklist-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.checklist-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.checklist-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.checklist-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-medium);
  transition: .3s;
  border-radius: 24px;
}

.checklist-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.checklist-switch input:checked + .checklist-slider {
  background-color: var(--status-success);
}

.checklist-switch input:checked + .checklist-slider:before {
  transform: translateX(24px);
}

/* --- Status Badges --- */
.badge-status {
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.badge-status.pending {
  background: var(--status-warning-bg);
  color: #B07A00;
}

.badge-status.verified {
  background: var(--status-success-bg);
  color: var(--status-success);
}

.badge-status.rejected {
  background: var(--status-error-bg);
  color: var(--status-error);
}

/* --- Custom Admin checklist items builder --- */
.custom-checklist-builder {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.custom-checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* --- Custom Charts --- */
.analytics-meter-row {
  margin-bottom: var(--space-4);
}

.analytics-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.analytics-meter-track {
  height: 10px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.analytics-meter-bar {
  height: 100%;
  background: var(--g-blue);
  border-radius: var(--radius-pill);
  transition: width 0.8s ease-in-out;
}

.analytics-meter-bar.success {
  background: var(--status-success);
}

.analytics-meter-bar.warning {
  background: var(--status-warning);
}

.analytics-meter-bar.error {
  background: var(--status-error);
}

/* ============================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   ============================================ */

/* Keep navbar login button visible on mobile */
@media (max-width: 768px) {
  .navbar-actions .nav-login-btn {
    display: flex !important;
    padding: var(--space-2) var(--space-3) !important;
    font-size: var(--fs-xs) !important;
  }
}

/* Verifier checklist card and verification controls on mobile */
.verifier-student-card {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  background: var(--bg-secondary);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  border: 1px solid var(--border-light);
}

.verification-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 480px) {
  .verifier-student-card {
    flex-direction: column;
    text-align: center;
  }
  
  .verification-actions {
    grid-template-columns: 1fr;
  }
}

/* Responsive Table Stacking for Staff & Verifier Logs */
@media (max-width: 600px) {
  .table-wrapper table.table thead {
    display: none;
  }

  .table-wrapper table.table tr {
    display: block;
    margin-bottom: var(--space-4);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .table-wrapper table.table td[data-label] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-light);
    text-align: right;
    font-size: var(--fs-sm);
  }

  .table-wrapper table.table td[data-label]::before {
    content: attr(data-label);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
    font-size: var(--fs-xs);
    text-align: left;
    margin-right: var(--space-4);
  }

  .table-wrapper table.table td[data-label]:last-child {
    border-bottom: none;
    background: var(--bg-secondary);
  }
}

/* QR Code Scanner overlay adjustments on small screens */
@media (max-width: 400px) {
  .scanner-target-box {
    width: 180px;
    height: 180px;
  }
  .scanner-container {
    border-radius: var(--radius-lg);
  }
}

/* ============================================
   STUDENT DASHBOARD STYLING ENHANCEMENTS
   ============================================ */

.student-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.student-stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.student-stat-card .icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.student-stat-card.blue .icon-wrapper { background: var(--g-blue); }
.student-stat-card.green .icon-wrapper { background: var(--g-green); }
.student-stat-card.yellow .icon-wrapper { background: var(--g-yellow); }

.student-stat-card .stat-info {
  display: flex;
  flex-direction: column;
}

.student-stat-card .stat-num {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: 1.2;
}

.student-stat-card .stat-label {
  font-size: var(--fs-xxs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.digital-id-badge {
  background: rgba(66, 133, 244, 0.1);
  color: var(--g-blue);
  border: 1px solid rgba(66, 133, 244, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.completion-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

.checklist-item.done {
  color: var(--status-success);
}

/* ============================================
   3D ID CARD FLIP & COMPONENT STYLING
   ============================================ */

.id-card-viewport {
  perspective: 1000px;
  width: 300px;
  height: 460px;
  margin: 0 auto;
  cursor: pointer;
}

.id-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

/* Toggle flip on click or hover */
.id-card-viewport.flipped .id-card-inner,
.id-card-viewport:hover .id-card-inner {
  transform: rotateY(180deg);
}

.id-card-front, .id-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
}

.id-card-back {
  transform: rotateY(180deg);
}

/* Card layout details */
.id-card-header {
  background: var(--gemini-gradient-h);
  padding: var(--space-4) var(--space-3);
  color: #FFFFFF;
  text-align: center;
  position: relative;
}

.id-card-header h5 {
  font-size: 9px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.id-card-header p {
  font-size: 8px;
  margin: 2px 0 0 0;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.id-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  position: relative;
}

/* Hologram sticker */
.id-card-hologram {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
  background-size: 400% 400%;
  opacity: 0.6;
  animation: holoAnimation 4s ease infinite;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

@keyframes holoAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Gold smart chip */
.id-card-chip {
  width: 34px;
  height: 26px;
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  border-radius: 6px;
  margin-bottom: var(--space-2);
  align-self: flex-start;
  position: relative;
  border: 1px solid #d35400;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
}

.id-card-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.id-photo-container {
  position: relative;
  margin-bottom: var(--space-3);
}

.id-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--g-blue);
  box-shadow: var(--shadow-md);
}

.id-photo-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--status-success);
  color: #FFFFFF;
  border: 2px solid var(--bg-elevated);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.id-details {
  text-align: center;
  width: 100%;
}

.id-name {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.id-title {
  font-size: var(--fs-xxs);
  color: var(--g-blue);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.id-meta-row {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--fs-xxs);
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-3);
  margin-top: var(--space-2);
}

.id-meta-item strong {
  color: var(--text-primary);
}

/* Card footer logos */
.id-card-footer-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-2) var(--space-4);
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
  box-sizing: border-box;
}

.id-card-footer-logos img {
  height: 18px;
}

/* Back Side Details */
.id-back-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.id-back-instructions {
  font-size: 8px;
  color: var(--text-tertiary);
  line-height: 1.4;
  margin-top: var(--space-3);
  text-align: center;
  max-width: 240px;
}

/* --- Gamified Badges --- */
.digital-id-badge.basic {
  background: rgba(66, 133, 244, 0.1);
  color: var(--g-blue);
  border: 1px solid rgba(66, 133, 244, 0.2);
}

.digital-id-badge.bronze {
  background: rgba(205, 127, 50, 0.15);
  color: #cd7f32;
  border: 1px solid rgba(205, 127, 50, 0.3);
}

.digital-id-badge.silver {
  background: rgba(192, 192, 192, 0.15);
  color: #8E8E93;
  border: 1px solid rgba(192, 192, 192, 0.3);
}

.digital-id-badge.gold {
  background: rgba(255, 215, 0, 0.15);
  color: #D4AF37;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.digital-id-badge.platinum {
  background: rgba(229, 228, 226, 0.15);
  color: #7A7A7A;
  border: 1px solid rgba(229, 228, 226, 0.3);
}


/* Mobile-specific rules have been moved to responsive.css */

/* ============================================
   STAFF PORTAL (COORDINATOR & VERIFIER) V2 STYLES
   ============================================ */

.staff-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.staff-stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.staff-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.staff-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.staff-stat-icon.blue { background: var(--status-info-bg); color: var(--g-blue); }
.staff-stat-icon.green { background: var(--status-success-bg); color: var(--status-success); }
.staff-stat-icon.yellow { background: var(--status-warning-bg); color: #B06000; }
.staff-stat-icon.red { background: var(--status-error-bg); color: var(--status-error); }

.staff-stat-info .stat-val {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--text-primary);
}

.staff-stat-info .stat-lbl {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: var(--fw-medium);
}

/* Enhanced Session Card */
.staff-session-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.staff-session-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--g-blue);
}

.staff-session-card.status-active::before { background: var(--g-green); }
.staff-session-card.status-completed::before { background: var(--text-tertiary); }
.staff-session-card.status-pending::before { background: var(--g-yellow); }

.staff-session-card:hover {
  border-color: var(--g-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.staff-session-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.staff-session-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: 0;
}

.staff-session-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

.staff-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.staff-meta-item .material-icons-round {
  font-size: 16px;
  color: var(--g-blue);
}

/* Progress bar inside session card */
.session-progress-wrapper {
  margin: var(--space-3) 0 var(--space-4);
}

.session-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.session-progress-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.session-progress-fill {
  height: 100%;
  background: var(--gemini-gradient);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

/* Verifier Filter Chips */
.staff-filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-4);
  scrollbar-width: none;
}

.staff-filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--g-blue);
  color: var(--g-blue);
}

.filter-chip.active {
  background: var(--g-blue);
  color: white;
  border-color: var(--g-blue);
}

/* Verifier Student List Card (Mobile-first alternate to table) */
.verifier-student-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.verifier-student-card-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  transition: all var(--transition-fast);
}

.verifier-student-card-item:hover {
  border-color: var(--g-blue);
  box-shadow: var(--shadow-sm);
}

.verifier-student-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 2px solid var(--border-medium);
  flex-shrink: 0;
}

.verifier-student-info {
  flex: 1;
  min-width: 0;
}

.verifier-student-info h6 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verifier-student-info p {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Checklist Cards V2 */
.checklist-card-v2 {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.checklist-card-v2.checked {
  border-color: var(--status-success);
  background: rgba(52, 168, 83, 0.04);
}

.checklist-switch-v2 {
  position: relative;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.checklist-switch-v2 input { opacity: 0; width: 0; height: 0; }

.checklist-slider-v2 {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border-medium);
  transition: 0.3s;
  border-radius: 34px;
}

.checklist-slider-v2:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.checklist-switch-v2 input:checked + .checklist-slider-v2 {
  background-color: var(--status-success);
}

.checklist-switch-v2 input:checked + .checklist-slider-v2:before {
  transform: translateX(22px);
}


