/* HackerDNA Quiz Design - Integrated with Application Theme */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

/* Quiz Progress Section */
.quiz-progress-section {
  background: linear-gradient(135deg, rgba(115, 103, 240, 0.05), rgba(139, 124, 246, 0.02));
  border: 1px solid rgba(115, 103, 240, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.quiz-progress-section h5 {
  font-weight: 600;
  color: var(--bs-body-color);
}

.quiz-completed {
  opacity: 0.7;
  border: 1px solid rgba(40, 199, 111, 0.3);
  background: rgba(40, 199, 111, 0.05);
}

.quiz-completed .quiz-question-wrapper {
  opacity: 0.8;
}

/* Quiz Section Header */
.quiz-section-header {
  background: linear-gradient(135deg, rgba(115, 103, 240, 0.1), rgba(139, 124, 246, 0.05));
  border: 1px solid rgba(115, 103, 240, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.quiz-section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7367f0, #8b7cf6, #7367f0);
  border-radius: 0.75rem 0.75rem 0 0;
}

.quiz-header-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #7367f0, #8b7cf6);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  box-shadow: 0 4px 12px rgba(115, 103, 240, 0.3);
}

.quiz-header-icon i {
  font-size: 2rem;
  color: white;
}

.quiz-header-content {
  flex: 1;
}

.quiz-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #cfd3ec;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.quiz-section-subtitle {
  font-size: 1.125rem;
  color: #a8aaae;
  margin: 0;
  font-weight: 500;
}

.quiz-section-description {
  color: #b6bee3;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.quiz-section-description strong {
  color: #cfd3ec;
  font-weight: 600;
}

.quiz-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.quiz-feature-item {
  display: inline-flex;
  align-items: center;
  background: rgba(67, 73, 104, 0.2);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #b6bee3;
  border: 1px solid rgba(67, 73, 104, 0.3);
  transition: all 0.2s ease;
}

.quiz-feature-item:hover {
  background: rgba(115, 103, 240, 0.1);
  border-color: rgba(115, 103, 240, 0.3);
  color: #cfd3ec;
}

.quiz-feature-item i {
  color: #7367f0;
}

/* Responsive adjustments for header */
@media (max-width: 768px) {
  .quiz-section-header {
    padding: 1.5rem;
  }
  
  .quiz-section-header .d-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .quiz-header-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .quiz-section-title {
    font-size: 1.75rem;
  }
  
  .quiz-section-subtitle {
    font-size: 1rem;
  }
  
  .quiz-features {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .quiz-section-header {
    padding: 1rem;
  }
  
  .quiz-section-title {
    font-size: 1.5rem;
  }
  
  .quiz-features {
    gap: 0.5rem;
  }
  
  .quiz-feature-item {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }
}

/* Copy Protection Notification Animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.copy-protection-notification {
  user-select: none;
  pointer-events: none;
}

.copy-notification-content {
  display: flex;
  align-items: center;
}

/* Header Container - Dark Theme */
.quiz-header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(37, 41, 60, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(67, 73, 104, 0.3);
  padding: 1rem;
}

/* Progress Bar - HackerDNA Style */
.quiz-progress-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quiz-progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(67, 73, 104, 0.3);
  border-radius: 0.375rem;
  overflow: hidden;
  position: relative;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7367f0, #8b7cf6);
  border-radius: 0.375rem;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.quiz-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: progress-shine 3s infinite;
}

@keyframes progress-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.quiz-close-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(234, 84, 85, 0.3);
  background: rgba(234, 84, 85, 0.1);
  color: #ea5455;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-close-btn:hover {
  background: rgba(234, 84, 85, 0.2);
  border-color: rgba(234, 84, 85, 0.5);
  box-shadow: 0 2px 8px rgba(234, 84, 85, 0.2);
}

.quiz-close-btn:active {
  transform: scale(0.98);
}

/* Stats Bar - HackerDNA Style */
.quiz-stats-bar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.75rem;
  background: rgba(67, 73, 104, 0.1);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.quiz-stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #cfd3ec;
}

.quiz-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.quiz-stat-icon.streak {
  background: linear-gradient(135deg, #ff9f43, #ffb347);
  color: white;
  animation: subtle-pulse 3s infinite;
}

.quiz-stat-icon.xp {
  background: linear-gradient(135deg, #7367f0, #8b7cf6);
  color: white;
}

.quiz-stat-icon.hearts {
  background: linear-gradient(135deg, #ea5455, #ff6b7a);
  color: white;
  animation: subtle-pulse 2s infinite;
}

@keyframes subtle-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.quiz-stat-value {
  color: #cfd3ec;
  font-weight: 700;
}

/* Main Container */
.quiz-main-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  min-height: auto;
}

/* Question Container - Integrated with Card */
.quiz-question-container {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  animation: slide-up 0.4s ease-out;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Question Counter */
.quiz-question-counter {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(67, 73, 104, 0.2);
  border-radius: 0.375rem;
  display: inline-block;
  width: auto;
}

/* Question Text */
.quiz-question-wrapper {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.quiz-question-text {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  margin: 0 0 1rem 0;
  animation: question-appear 0.6s ease-out 0.1s both;
}

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

.quiz-xp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #7367f0, #8b7cf6);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
  animation: xp-pulse 3s infinite;
}

@keyframes xp-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3); }
  50% { transform: scale(1.02); box-shadow: 0 4px 12px rgba(115, 103, 240, 0.4); }
}

/* Answer Options - HackerDNA Style */
.quiz-answers-container {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.quiz-answer-option {
  position: relative;
}

.quiz-radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-answer-label {
  display: block;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-answer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(67, 73, 104, 0.3);
  border-radius: 0.5rem;
  background: rgba(67, 73, 104, 0.1);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.quiz-answer-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(115, 103, 240, 0.1), transparent);
  transition: left 0.3s ease;
}

.quiz-answer-content:hover {
  border-color: rgba(115, 103, 240, 0.5);
  background: rgba(115, 103, 240, 0.1);
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.2);
}

.quiz-answer-content:hover::before {
  left: 100%;
}

/* Disable hover effects when radio input is disabled (review mode) */
.quiz-radio-input:disabled + .quiz-answer-label {
  cursor: default;
}

.quiz-radio-input:disabled + .quiz-answer-label .quiz-answer-content:hover {
  border-color: rgba(67, 73, 104, 0.3);
  background: rgba(67, 73, 104, 0.1);
  box-shadow: none;
}

.quiz-radio-input:disabled + .quiz-answer-label .quiz-answer-content:hover::before {
  left: -100%;
}

.quiz-radio-input:checked + .quiz-answer-label .quiz-answer-content {
  border-color: #7367f0;
  background: linear-gradient(135deg, rgba(115, 103, 240, 0.2), rgba(139, 124, 246, 0.2));
  color: #cfd3ec;
  box-shadow: 0 4px 12px rgba(115, 103, 240, 0.3);
}

.quiz-answer-text {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
  color: #ffffff;
}

.quiz-answer-indicator {
  width: 24px;
  height: 24px;
  border-radius: 0.375rem;
  background: rgba(115, 103, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.quiz-radio-input:checked + .quiz-answer-label .quiz-answer-indicator {
  opacity: 1;
  transform: scale(1);
  background: rgba(115, 103, 240, 0.4);
}

.quiz-answer-indicator i {
  font-size: 1rem;
  color: #7367f0;
}

/* Feedback States */
.quiz-answer-content.correct {
  border-color: #28c76f !important;
  background: linear-gradient(135deg, rgba(40, 199, 111, 0.2), rgba(40, 199, 111, 0.3)) !important;
  color: #28c76f !important;
  animation: correct-bounce 0.4s ease-out;
}

.quiz-answer-content.incorrect {
  border-color: #ea5455 !important;
  background: linear-gradient(135deg, rgba(234, 84, 85, 0.2), rgba(234, 84, 85, 0.3)) !important;
  color: #ea5455 !important;
  animation: incorrect-shake 0.4s ease-out;
}

@keyframes correct-bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes incorrect-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Integrated Feedback Area */
.quiz-feedback-container {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid;
  animation: feedback-appear 0.4s ease-out;
}

.quiz-feedback-container.feedback-correct {
  background: rgba(40, 199, 111, 0.1);
  border-color: rgba(40, 199, 111, 0.3);
}

.quiz-feedback-container.feedback-incorrect {
  background: rgba(234, 84, 85, 0.1);
  border-color: rgba(234, 84, 85, 0.3);
}

@keyframes feedback-appear {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-feedback-content {
  text-align: center;
}

.quiz-feedback-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.quiz-feedback-icon {
  font-size: 1.5rem;
}

.quiz-feedback-icon.correct {
  color: #28c76f;
}

.quiz-feedback-icon.incorrect {
  color: #ea5455;
}

.quiz-feedback-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #cfd3ec;
}

.quiz-feedback-message {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: #b6bee3;
}

.quiz-feedback-explanation {
  background: rgba(67, 73, 104, 0.2);
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  border: 1px solid rgba(67, 73, 104, 0.3);
}

.quiz-feedback-explanation h6 {
  color: #cfd3ec;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.quiz-feedback-explanation p {
  color: #b6bee3;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.quiz-feedback-explanation p:last-child {
  margin-bottom: 0;
}

.quiz-feedback-points {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.quiz-feedback-points .alert {
  margin-bottom: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

.quiz-feedback-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

/* Submit Button - HackerDNA Style */
.quiz-submit-container {
  text-align: center;
  margin-top: 1.5rem;
}

.quiz-submit-btn {
  width: 100%;
  max-width: 200px;
  height: 44px;
  border: 1px solid rgba(67, 73, 104, 0.3);
  border-radius: 0.375rem;
  background: rgba(67, 73, 104, 0.2);
  color: #a8aaae;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: not-allowed;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.quiz-submit-btn:not(:disabled) {
  background: linear-gradient(135deg, #7367f0, #8b7cf6);
  color: white;
  cursor: pointer;
  border-color: #7367f0;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}

.quiz-submit-btn:not(:disabled):hover {
  box-shadow: 0 4px 12px rgba(115, 103, 240, 0.4);
  transform: translateY(-1px);
}

.quiz-submit-btn:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}

.quiz-submit-text {
  transition: opacity 0.2s ease;
}

.quiz-submit-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.quiz-submit-btn.loading .quiz-submit-text {
  opacity: 0;
}

.quiz-submit-btn.loading .quiz-submit-loader {
  opacity: 1;
}

.quiz-loader-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Result Card - Uses Application Card Styling */
#quiz-result-card {
  text-align: center;
  animation: result-appear 0.6s ease-out;
}

#quiz-result-card .card-body {
  padding: 1.5rem;
}

@keyframes result-appear {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#result-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: icon-bounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;
}

@keyframes icon-bounce {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#result-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #cfd3ec;
}

#result-explanation {
  background: rgba(67, 73, 104, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
  text-align: left;
  color: #b6bee3;
  line-height: 1.6;
  border: 1px solid rgba(67, 73, 104, 0.3);
}

#result-explanation h6 {
  color: #cfd3ec;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#next-question-btn {
  width: 100%;
  max-width: 200px;
  height: 44px;
  border: 1px solid #7367f0;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, #7367f0, #8b7cf6);
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}

#next-question-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(115, 103, 240, 0.4);
}

/* Quiz List - Uses Application Card Styling */
.quiz-list-item {
  margin-bottom: 1rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.quiz-list-item:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(15, 20, 34, 0.7);
}

.quiz-list-item .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #cfd3ec;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.quiz-list-item .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
}

.quiz-list-item .badge.bg-success {
  background: linear-gradient(135deg, #28c76f, #34ce7a) !important;
  color: white;
}

.quiz-list-item .badge.bg-primary {
  background: linear-gradient(135deg, #7367f0, #8b7cf6) !important;
  color: white;
}

.quiz-list-item .badge.bg-secondary {
  background: rgba(67, 73, 104, 0.3) !important;
  color: #a8aaae;
}

.quiz-list-item .btn-sm {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  border: 1px solid;
  transition: all 0.2s ease;
  font-size: 0.8125rem;
}

.quiz-list-item .btn-outline-primary {
  background: linear-gradient(135deg, #7367f0, #8b7cf6);
  color: white;
  border-color: #7367f0;
  box-shadow: 0 2px 8px rgba(115, 103, 240, 0.3);
}

.quiz-list-item .btn-outline-primary:hover {
  box-shadow: 0 4px 12px rgba(115, 103, 240, 0.4);
}

.quiz-list-item .btn-outline-secondary {
  background: rgba(67, 73, 104, 0.2);
  color: #a8aaae;
  border-color: rgba(67, 73, 104, 0.3);
}

.quiz-list-item .btn-outline-secondary:hover {
  background: rgba(67, 73, 104, 0.3);
  border-color: rgba(67, 73, 104, 0.5);
}

/* Quiz Table Mobile Optimizations */
@media (max-width: 992px) {
  .quiz-table-row {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .quiz-col-date,
  .quiz-col-status {
    display: none;
  }
  
  .quiz-col-actions {
    min-width: auto;
  }
  
  .quiz-question-info {
    position: relative;
  }
  
  .quiz-question-info::after {
    content: attr(data-date) " • " attr(data-status);
    display: block;
    font-size: 0.75rem;
    color: #a8aaae;
    margin-top: 0.25rem;
  }
}

@media (max-width: 768px) {
  .quiz-main-container {
    padding: 0;
  }
  
  .quiz-question-container {
    padding: 1rem;
  }
  
  .quiz-question-text {
    font-size: 1.25rem;
  }
  
  .quiz-stats-bar {
    gap: 1rem;
    padding: 0.5rem;
  }
  
  .quiz-stat-item {
    font-size: 0.8125rem;
  }
  
  .quiz-answer-content {
    padding: 0.875rem 1rem;
  }
  
  .quiz-answer-text {
    font-size: 0.875rem;
  }
  
  /* Quiz table mobile adjustments */
  .quiz-table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .quiz-col-date,
  .quiz-col-status,
  .quiz-col-actions {
    display: none;
  }
  
  .quiz-question-text {
    font-size: 0.875rem;
  }
  
  /* Integrated feedback mobile adjustments */
  .quiz-feedback-container {
    margin: 1rem 0;
    padding: 1rem;
  }
  
  .quiz-feedback-header {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .quiz-feedback-icon {
    font-size: 1.25rem;
  }
  
  .quiz-feedback-title {
    font-size: 1.125rem;
  }
  
  .quiz-feedback-explanation {
    padding: 0.75rem;
  }
  
  .quiz-answer-preview {
    margin-top: 0.5rem;
    padding: 0.5rem;
  }
  
  .quiz-choice {
    padding: 0.25rem 0;
    font-size: 0.75rem;
  }
  
  .quiz-explanation-preview {
    padding: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .quiz-explanation-title {
    font-size: 0.75rem;
  }
  
  .quiz-explanation-content {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .quiz-question-text {
    font-size: 1.125rem;
  }
  
  .quiz-stats-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .quiz-answer-content {
    padding: 0.75rem 0.875rem;
  }
  
  .quiz-answer-text {
    font-size: 0.8125rem;
  }
  
  /* Quiz table very small screens */
  .quiz-table-row {
    padding: 0.5rem;
  }
  
  .quiz-question-number {
    font-size: 0.75rem;
  }
  
  .quiz-question-text {
    font-size: 0.8125rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus States */
.quiz-close-btn:focus,
.quiz-submit-btn:focus,
.quiz-answer-label:focus {
  outline: 2px solid #7367f0;
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .quiz-answer-content {
    border-width: 2px;
  }
  
  .quiz-submit-btn:not(:disabled) {
    border-width: 2px;
  }
}

/* Additional Quiz Styling for Better Integration */
.quiz-main-container .card {
  border: 1px solid rgba(67, 73, 104, 0.3);
}

.quiz-main-container .card:hover {
  border-color: rgba(115, 103, 240, 0.3);
}

/* Ensure text colors are bright and visible */
.quiz-question-counter,
.quiz-question-text,
.quiz-answer-text {
  color: #e2e6f3 !important;
}

/* Override any conflicting styles */
.quiz-answer-content {
  color: #b6bee3;
}

.quiz-radio-input:checked + .quiz-answer-label .quiz-answer-content .quiz-answer-text {
  color: #cfd3ec;
}

/* Quiz Questions Table Styling */
.quiz-questions-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.quiz-table-header {
  background: rgba(67, 73, 104, 0.2);
  border-bottom: 2px solid rgba(67, 73, 104, 0.3);
}

.quiz-table-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(67, 73, 104, 0.2);
  transition: all 0.2s ease;
}

.quiz-table-header .quiz-table-row {
  font-weight: 600;
  color: #cfd3ec;
  background: rgba(67, 73, 104, 0.2);
}

.quiz-table-body .quiz-table-row:hover {
  background: rgba(67, 73, 104, 0.1);
}

/* Clickable quiz rows */
.quiz-row-clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-row-clickable:hover {
  background: rgba(67, 73, 104, 0.15) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quiz-row-clickable:active {
  transform: translateY(0);
}

/* Correct answer highlighting for individual quiz view */
.selected-answer,
div.selected-answer,
.quiz-answer-content.selected-answer,
div.quiz-answer-content.selected-answer {
  border: 2px solid #22c55e !important;
  background: #22c55e !important;
  color: white !important;
}

.selected-answer .quiz-answer-indicator,
.quiz-answer-content.selected-answer .quiz-answer-indicator {
  opacity: 1 !important;
  color: white !important;
}

.selected-answer .quiz-answer-text,
.quiz-answer-content.selected-answer .quiz-answer-text {
  color: white !important;
}

.selected-answer .quiz-answer-indicator,
div.selected-answer .quiz-answer-indicator,
.quiz-answer-content.selected-answer .quiz-answer-indicator,
div.quiz-answer-content.selected-answer .quiz-answer-indicator {
  opacity: 1 !important;
  transform: scale(1) !important;
  background: rgba(115, 103, 240, 0.4) !important;
  background-color: rgba(115, 103, 240, 0.4) !important;
  display: block !important;
  visibility: visible !important;
}

.selected-answer .quiz-answer-text,
div.selected-answer .quiz-answer-text,
.quiz-answer-content.selected-answer .quiz-answer-text,
div.quiz-answer-content.selected-answer .quiz-answer-text {
  color: #cfd3ec !important;
}

/* Individual Quiz Display - Correct Answer Enhancement */
.quiz-answer-content.correct-answer {
  background: linear-gradient(135deg, rgba(40, 199, 111, 0.2), rgba(40, 199, 111, 0.35)) !important;
  border: 3px solid #28c76f !important;
  box-shadow: 0 0 0 4px rgba(40, 199, 111, 0.3), 0 4px 12px rgba(40, 199, 111, 0.2) !important;
  transform: scale(1.02) !important;
  position: relative;
}

.quiz-answer-content.correct-answer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #28c76f, #20c997, #28c76f);
  border-radius: inherit;
  z-index: -1;
  animation: correctAnswerGlow 2s ease-in-out infinite alternate;
}

@keyframes correctAnswerGlow {
  0% { opacity: 0.5; }
  100% { opacity: 0.8; }
}

.quiz-answer-content.correct-answer .quiz-answer-text {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.quiz-answer-content.correct-answer .quiz-answer-indicator {
  background: #28c76f !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

.quiz-answer-content.correct-answer .quiz-answer-indicator i {
  color: white !important;
  font-size: 1rem !important;
  font-weight: bold !important;
}

.quiz-answer-correct .quiz-answer-indicator {
  background: #28c76f;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-answer-correct .quiz-answer-indicator i {
  color: white !important;
  font-size: 1rem;
  font-weight: bold;
}

.quiz-answer-letter {
  font-weight: 600;
  margin-right: 0.5rem;
  min-width: 1.5rem;
  display: inline-block;
}

.quiz-explanation-section .card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #334155;
  border-radius: 16px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(148, 163, 184, 0.1),
    inset 0 1px 0 rgba(148, 163, 184, 0.1);
  overflow: hidden;
  position: relative;
}

.quiz-explanation-section .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
  background-size: 400% 100%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.quiz-explanation-section .card-header {
  background: rgba(51, 65, 85, 0.5);
  border-bottom: 1px solid #475569;
  padding: 20px 24px;
}

.quiz-explanation-section .card-header h5 {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-explanation-section .card-header h5::before {
  content: '💡';
  font-size: 24px;
}

.quiz-explanation-content {
  color: #f8fafc;
  line-height: 1.9;
  font-size: 17px;
  padding: 24px;
  background: rgba(30, 41, 59, 0.3);
}

.quiz-explanation-content p {
  margin-bottom: 20px;
  color: #f8fafc;
  text-align: justify;
}

.quiz-explanation-content p:last-child {
  margin-bottom: 0;
}

.quiz-explanation-content strong {
  color: #60a5fa;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.quiz-explanation-content em {
  color: #a78bfa;
  font-style: italic;
}

.quiz-explanation-content code {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #fbbf24;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 15px;
  border: 1px solid #4338ca;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quiz-explanation-content pre {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #475569;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quiz-explanation-content pre code {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  color: #e2e8f0;
}

.quiz-explanation-content ul, .quiz-explanation-content ol {
  color: #f8fafc;
  margin-bottom: 20px;
  padding-left: 28px;
}

.quiz-explanation-content li {
  color: #e2e8f0;
  margin-bottom: 12px;
  position: relative;
}

.quiz-explanation-content ul li::marker {
  color: #22d3ee;
}

.quiz-explanation-content ol li::marker {
  color: #a78bfa;
  font-weight: 700;
}

.quiz-explanation-content blockquote {
  border-left: 4px solid #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #cbd5e1;
}

.quiz-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(67, 73, 104, 0.2);
}

@media (max-width: 576px) {
  .quiz-navigation {
    flex-direction: column;
    align-items: stretch;
  }
  
  .quiz-navigation .btn {
    width: 100%;
  }
}

.quiz-table-cell {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}

/* Column specific styling */
.quiz-col-question {
  justify-content: flex-start;
}

.quiz-col-date {
  justify-content: center;
  min-width: 120px;
}

.quiz-col-status {
  justify-content: center;
  min-width: 100px;
}

.quiz-col-actions {
  justify-content: flex-end;
  min-width: 120px;
}

/* Question info styling */
.quiz-question-info {
  width: 100%;
}

.quiz-question-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: #7367f0;
  margin-bottom: 0.25rem;
}

/* Table question text styling */
.quiz-questions-table .quiz-question-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #cfd3ec;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Row status styling */
.quiz-row-completed {
  background: rgba(40, 199, 111, 0.05);
  border-left: 3px solid #28c76f;
}

.quiz-row-available {
  background: rgba(115, 103, 240, 0.05);
  border-left: 3px solid #7367f0;
}

.quiz-row-practice {
  background: rgba(168, 170, 174, 0.05);
  border-left: 3px solid #a8aaae;
}

.quiz-row-guest {
  background: rgba(168, 170, 174, 0.03);
}

/* Status badge styling */
.quiz-status-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
}

.quiz-completion-indicator {
  margin-top: 0.25rem;
}

/* Date styling */
.quiz-date-text {
  font-size: 0.8125rem;
  color: #a8aaae;
  font-weight: 500;
}

/* Answer preview for guests */
.quiz-answer-preview {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: rgba(67, 73, 104, 0.1);
  border-radius: 0.375rem;
  border: 1px solid rgba(67, 73, 104, 0.2);
}

.quiz-choice {
  display: flex;
  align-items: center;
  padding: 0.375rem 0;
  font-size: 0.8125rem;
  color: #b6bee3;
}

.quiz-choice-letter {
  font-weight: 600;
  margin-right: 0.5rem;
  color: #a8aaae;
  min-width: 1.5rem;
}

.quiz-choice-correct {
  color: #28c76f;
  font-weight: 500;
}

.quiz-choice-correct .quiz-choice-letter {
  color: #28c76f;
}

/* Explanation preview for guests */
.quiz-explanation-preview {
  padding: 0.75rem;
  background: rgba(67, 73, 104, 0.15);
  border-radius: 0.375rem;
  border: 1px solid rgba(67, 73, 104, 0.3);
}

.quiz-explanation-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cfd3ec;
  margin-bottom: 0.5rem;
}

.quiz-explanation-content {
  font-size: 0.8125rem;
  color: #b6bee3;
  line-height: 1.5;
}

.quiz-explanation-content p {
  margin-bottom: 0.5rem;
}

.quiz-explanation-content p:last-child {
  margin-bottom: 0;
}

/* Full Width Quiz Questions Section */
.quiz-questions-full-width {
  width: 100%;
  margin: 2rem 0 0 0;
  padding: 0;
}

.quiz-questions-full-width .container-xxl {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.quiz-questions-full-width .card {
  background: #2f3349;
  border: 1px solid rgba(67, 73, 104, 0.3);
  box-shadow: 0 0.25rem 1rem rgba(15, 20, 34, 0.55);
  border-radius: 0.5rem;
}

.quiz-questions-full-width .card-header {
  background: rgba(67, 73, 104, 0.2);
  border-bottom: 1px solid rgba(67, 73, 104, 0.3);
  padding: 1.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
}

.quiz-questions-full-width .card-header h5 {
  color: #cfd3ec;
  font-weight: 600;
  font-size: 1.25rem;
}

/* Responsive adjustments for full width section */
@media (max-width: 1400px) {
  .quiz-questions-full-width .container-xxl {
    max-width: 1140px;
  }
}

@media (max-width: 1200px) {
  .quiz-questions-full-width .container-xxl {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .quiz-questions-full-width .container-xxl {
    max-width: 720px;
  }
  
  .quiz-questions-full-width {
    padding: 1.5rem 0;
  }
  
  .quiz-questions-full-width .card-header {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .quiz-questions-full-width .container-xxl {
    max-width: 540px;
    padding: 0 1rem;
  }
  
  .quiz-questions-full-width {
    padding: 1rem 0;
  }
  
  .quiz-questions-full-width .card-header {
    padding: 1rem;
  }
  
  .quiz-questions-full-width .card-header h5 {
    font-size: 1.125rem;
  }
}

@media (max-width: 576px) {
  .quiz-questions-full-width .container-xxl {
    max-width: 100%;
    padding: 0 0.75rem;
  }
  
  .quiz-questions-full-width .card-header {
    padding: 0.75rem;
  }
  
  .quiz-questions-full-width .card-header h5 {
    font-size: 1rem;
  }
}

/* Success Celebration Animations */
@keyframes successPulse {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(0.98);
  }
  75% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Glow effect for correct feedback */
.feedback-correct {
  animation: successGlow 0.8s ease-out;
  box-shadow: 0 0 20px rgba(40, 199, 111, 0.4) !important;
}

@keyframes successGlow {
  0% {
    box-shadow: 0 0 0 rgba(40, 199, 111, 0);
  }
  50% {
    box-shadow: 0 0 30px rgba(40, 199, 111, 0.6);
  }
  100% {
    box-shadow: 0 0 20px rgba(40, 199, 111, 0.4);
  }
}

/* XP Counter Animations */
.xp-counter {
  display: inline-block;
  font-size: 1.5em;
  color: #7367f0;
  text-shadow: 0 0 10px rgba(115, 103, 240, 0.5);
}

@keyframes xpPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    color: #ff9f43;
    text-shadow: 0 0 20px rgba(255, 159, 67, 0.8);
  }
  100% {
    transform: scale(1);
    color: #7367f0;
    text-shadow: 0 0 10px rgba(115, 103, 240, 0.5);
  }
}

@keyframes floatUpXP {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
  40% {
    transform: translate(-50%, -70px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -150px) scale(0.8);
    opacity: 0;
  }
}

.xp-points-container {
  animation: xpContainerPulse 0.6s ease-out;
}

@keyframes xpContainerPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* XP Badge Styling */
.xp-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #7367f0, #8b7cf6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 15px rgba(115, 103, 240, 0.4);
  animation: xpBadgeBounce 0.8s ease-out;
}

@keyframes xpBadgeBounce {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.2) rotate(10deg);
  }
  80% {
    transform: scale(0.9) rotate(-5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Daily Challenge Complete Screen */
.daily-complete-container {
  padding: 3rem 0;
  animation: fadeInUp 0.6s ease-out;
}

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

.daily-complete-card {
  background: linear-gradient(135deg, rgba(115, 103, 240, 0.05), rgba(40, 199, 111, 0.05));
  border: 2px solid rgba(115, 103, 240, 0.3);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(115, 103, 240, 0.2);
  position: relative;
  overflow: hidden;
}

.daily-complete-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(115, 103, 240, 0.1) 0%, transparent 70%);
  animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Trophy Container */
.trophy-container {
  position: relative;
  display: inline-block;
  animation: trophyFloat 3s ease-in-out infinite;
}

@keyframes trophyFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.trophy-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.4) 0%, transparent 70%);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.trophy-icon {
  font-size: 8rem;
  color: #ffc107;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.6));
  animation: trophyBounce 1s ease-out;
}

@keyframes trophyBounce {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.2) rotate(10deg);
  }
  80% {
    transform: scale(0.9) rotate(-5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.trophy-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 2rem;
  animation: sparkleFloat 2s ease-in-out infinite;
}

.sparkle-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 10%;
  right: 10%;
  animation-delay: 0.5s;
}

.sparkle-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 1s;
}

.sparkle-4 {
  bottom: 20%;
  right: 15%;
  animation-delay: 1.5s;
}

@keyframes sparkleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-15px) rotate(180deg) scale(1.2);
    opacity: 1;
  }
}

/* Title and Subtitle */
.daily-complete-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7367f0, #28c76f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: titleSlideIn 0.8s ease-out 0.2s both;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.daily-complete-subtitle {
  font-size: 1.2rem;
  color: var(--bs-body-color);
  opacity: 0.8;
  animation: titleSlideIn 0.8s ease-out 0.4s both;
}

/* XP Summary Card */
.xp-summary-card {
  background: white;
  border: 2px solid rgba(115, 103, 240, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  animation: cardPopIn 0.6s ease-out 0.6s both;
}

@keyframes cardPopIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.xp-summary-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bs-body-color);
  margin-bottom: 1.5rem;
}

.xp-summary-header i {
  font-size: 1.5rem;
}

.xp-summary-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.xp-total-counter {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7367f0, #28c76f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

@keyframes xpTotalPop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.xp-label {
  font-size: 2rem;
  font-weight: 600;
  color: #7367f0;
}

.xp-summary-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(115, 103, 240, 0.2);
}

.xp-detail-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.xp-detail-item i {
  font-size: 1.5rem;
}

/* Completion Progress */
.completion-progress {
  animation: fadeIn 1s ease-out 1s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--bs-body-color);
}

/* Daily Complete Actions */
.daily-complete-actions {
  animation: fadeIn 1s ease-out 1.2s both;
}

.daily-complete-actions .btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 2rem;
  box-shadow: 0 4px 15px rgba(115, 103, 240, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.daily-complete-actions .btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(115, 103, 240, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .daily-complete-card {
    padding: 2rem 1.5rem;
  }
  
  .trophy-icon {
    font-size: 5rem;
  }
  
  .daily-complete-title {
    font-size: 2rem;
  }
  
  .xp-total-counter {
    font-size: 3.5rem;
  }
  
  .xp-label {
    font-size: 1.5rem;
  }
}