/* Quiz Selection Styles for Host Interface */

/* Quiz Selection Card */
#quiz-selection-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%),
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 255, 255, 0.1) 0%,
      transparent 70%
    );
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3), 0 0 60px rgba(0, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

#quiz-selection-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.8),
    rgba(0, 255, 255, 0.4),
    rgba(0, 255, 255, 0.8),
    transparent
  );
}

#quiz-selection-card::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff00;
}

#quiz-selection-card .title {
  font-size: 1.8rem;
  font-weight: 300;
  color: #00ffff;
  margin-bottom: 0.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: "Courier New", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  position: relative;
}

.biometric-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 2rem;
  text-align: center;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes biometric-scan {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

@keyframes status-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.current-quiz-display {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 2rem;
  justify-self: center;
  position: relative;
}

.quiz-preview-container {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.quiz-preview-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.quiz-preview-info {
  flex: 1;
}

.quiz-preview-info h3 {
  color: #00ffff;
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  font-family: "Courier New", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.quiz-preview-meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-family: "Courier New", monospace;
}

.quiz-preview-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Biometric Action Buttons - Match existing style */
.biometric-action-btn {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: #00ffff;
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Courier New", monospace;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biometric-action-btn.primary {
  background: linear-gradient(135deg, #0a4d4d 0%, #166666 100%);
  border-color: #00ffff;
}

.biometric-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.biometric-action-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #00ffff;
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  transform: translateY(-2px);
}

.biometric-action-btn.primary:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.biometric-action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.biometric-action-btn:hover:not(:disabled)::before {
  left: 100%;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.biometric-action-btn:hover .btn-glow {
  left: 100%;
}

.btn-icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1rem;
}

.btn-text {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.quiz-selection-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  gap: 1rem;
}

/* Quiz Selection Modal */
.quiz-selection-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.quiz-selection-modal-content {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border: 2px solid rgba(0, 255, 255, 0.5);
  border-radius: 1rem;
  width: 90%;
  max-width: 1000px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3), 0 0 80px rgba(0, 255, 255, 0.1);
}

.quiz-selection-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.8),
    rgba(0, 255, 255, 0.4),
    rgba(0, 255, 255, 0.8),
    transparent
  );
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
}

.modal-header h2 {
  color: #00ffff;
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-close-btn {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 107, 107, 0.5);
  color: #ff6b6b;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-family: "Courier New", monospace;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.modal-close-btn:hover {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #ff6b6b;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.8);
}

.modal-body {
  padding: 2rem;
}

/* Quiz Cards Grid */
.quiz-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.1);
}

.quiz-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.quiz-card:hover {
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.2);
  transform: translateY(-2px);
}

.quiz-card:hover::before {
  left: 100%;
}

.quiz-card.selected {
  border-color: #00ffff;
  background: linear-gradient(135deg, #0a4d4d 0%, #166666 100%);
  box-shadow: 0 6px 25px rgba(0, 255, 255, 0.4);
}

.quiz-card-image {
  position: relative;
  flex-shrink: 0;
}

.quiz-card-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.selected-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}

.quiz-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quiz-card-title {
  color: #00ffff;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 0.5rem 0;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.quiz-card-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quiz-card-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.quiz-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-family: "Courier New", monospace;
}

.quiz-card-select-btn {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: #00ffff;
  padding: 0.4rem 0.8rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 400;
  transition: all 0.3s ease;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.quiz-card-select-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.quiz-card-select-btn:hover::before {
  left: 100%;
}

.quiz-card-select-btn:hover {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #00ffff;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

.quiz-card-select-btn.selected {
  background: linear-gradient(135deg, #0a4d4d 0%, #166666 100%);
  color: white;
  border-color: #00ffff;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

/* Quiz Pagination */
.quiz-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-btn {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: #00ffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  line-height: 1;
}

.pagination-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.pagination-btn:hover:not(:disabled)::before {
  left: 100%;
}

.pagination-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #00ffff;
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-number-btn {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-family: "Courier New", monospace;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.page-number-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.page-number-btn:hover::before {
  left: 100%;
}

.page-number-btn:hover {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: rgba(0, 255, 255, 0.6);
  color: #00ffff;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

.page-number-btn.active {
  background: linear-gradient(135deg, #0a4d4d 0%, #166666 100%);
  color: white;
  border-color: #00ffff;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.pagination-dots {
  color: rgba(255, 255, 255, 0.5);
  padding: 0 0.5rem;
  font-family: "Courier New", monospace;
}

/* Quiz Preview Modal */
.quiz-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.quiz-preview-modal-content {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border: 2px solid rgba(0, 255, 255, 0.5);
  border-radius: 1rem;
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3), 0 0 80px rgba(0, 255, 255, 0.1);
}

.quiz-preview-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.8),
    rgba(0, 255, 255, 0.4),
    rgba(0, 255, 255, 0.8),
    transparent
  );
}

.quiz-preview-details {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  padding-bottom: 0;
}

.quiz-preview-image-container {
  flex-shrink: 0;
}

.preview-modal-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.quiz-preview-info-container {
  flex: 1;
}

.quiz-preview-info-container h3 {
  color: #00ffff;
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
  font-family: "Courier New", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
}

.quiz-preview-info-container p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.quiz-preview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.quiz-stat {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.quiz-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.5),
    transparent
  );
}

@keyframes stat-scan {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.quiz-stat .stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quiz-stat .stat-value {
  color: #00ffff;
  font-weight: 400;
  font-size: 1rem;
  font-family: "Courier New", monospace;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.preview-questions-list {
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  padding: 2rem;
}

.preview-questions-list h5 {
  color: #00ffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: "Courier New", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
}

.preview-question-full {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.05);
}

.preview-question-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.3),
    transparent
  );
}

@keyframes question-scan {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
  20%,
  80% {
    opacity: 1;
  }
  50% {
    transform: translateX(100%);
  }
}

.preview-question-full h6 {
  color: #00ffff;
  font-size: 1rem;
  margin: 0 0 1rem 0;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
}

.preview-question-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.answer-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.answer-choice {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.1)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.25rem;
  padding: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.answer-choice.correct-answer {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 0, 0.1),
    rgba(0, 200, 0, 0.2)
  );
  border-color: rgba(0, 255, 0, 0.5);
  color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.correct-answer-text {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 0, 0.1),
    rgba(0, 200, 0, 0.2)
  );
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 0.25rem;
  padding: 1rem;
  color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.no-preview {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  padding: 2rem;
  font-family: "Courier New", monospace;
}

/* Loading State */
.loading {
  text-align: center;
  color: #00ffff;
  font-size: 1.1rem;
  padding: 2rem;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  position: relative;
}

.loading::after {
  content: "...";
  animation: loading-dots 1.5s ease-in-out;
}

@keyframes loading-dots {
  0%,
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.error {
  text-align: center;
  color: #ff6b6b;
  font-size: 1rem;
  padding: 2rem;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.1),
    rgba(255, 0, 0, 0.1)
  );
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  #quiz-selection-card {
    max-width: 95%;
    padding: 1.5rem;
    margin: 1rem;
  }

  #quiz-selection-card .title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .quiz-preview-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .quiz-preview-image {
    width: 100px;
    height: 100px;
  }

  .quiz-preview-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .quiz-selection-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .quiz-selection-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .quiz-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .quiz-card-image img {
    width: 60px;
    height: 60px;
  }

  .quiz-preview-details {
    flex-direction: column;
    padding: 1.5rem;
  }

  .quiz-preview-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .answer-choices {
    grid-template-columns: 1fr;
  }

  .pagination-btn,
  .page-number-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .biometric-action-btn {
    min-width: 120px;
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  #quiz-selection-card {
    padding: 1rem;
    margin: 0.5rem;
  }

  .quiz-preview-image {
    width: 80px;
    height: 80px;
  }

  .quiz-selection-modal-content {
    width: 98%;
  }

  .modal-header {
    padding: 0.75rem 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .quiz-preview-stats {
    grid-template-columns: 1fr;
  }

  .biometric-action-btn {
    min-width: 100px;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
}
