/* General Styles for Practice Area */
body {
  background: #f4f6fb;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.logo-container {
  text-align: center;
  margin-bottom: 25px;
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Practice Tests Landing Page Styles */
.practice-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.practice-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.practice-title {
  color: #333333;
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  margin-bottom: 10px;
}

.practice-subtitle {
  color: #666666;
  text-align: center;
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.exam-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.exam-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none !important;
  color: #333333;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}

.exam-link:hover {
  background: linear-gradient(90deg, #5f2cff, #3a0ca3);
  color: #ffffff;
  border-color: transparent;
  transform: translateX(5px);
}

.exam-info {
  display: flex;
  flex-direction: column;
}

.exam-number {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: #5f2cff;
  transition: color 0.2s ease;
}

.exam-link:hover .exam-number {
  color: rgba(255, 255, 255, 0.8);
}

.exam-arrow {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.exam-link:hover .exam-arrow {
  transform: translateX(3px);
}

.back-btn-container {
  text-align: center;
  margin-top: 30px;
}

.back-link {
  color: #666666;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #5f2cff;
}

/* Practice Quiz Page Styles */
.quiz-container {
  min-height: 100vh;
  padding: 40px 15px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.quiz-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.quiz-header {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.quiz-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #5f2cff, #3a0ca3);
}

.quiz-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5f2cff;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}

.quiz-title {
  color: #2d3748;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
}

.quiz-instructions {
  color: #718096;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.question-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  margin-bottom: 25px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.question-num {
  font-size: 13px;
  font-weight: 700;
  color: #a0aec0;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.question-text {
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  line-height: 1.5;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-label {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  color: #4a5568;
  transition: all 0.2s ease;
  margin-bottom: 0;
}

.option-label:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.option-input {
  margin-right: 15px;
  width: 18px;
  height: 18px;
  accent-color: #5f2cff;
  cursor: pointer;
}

.option-label.selected {
  background: #f0ebff;
  border-color: #5f2cff;
  color: #3a0ca3;
  font-weight: 600;
}

.question-card.correct-card {
  border-color: #48bb78;
  background: #f0fff4;
}

.question-card.wrong-card {
  border-color: #f56565;
  background: #fff5f5;
}

.option-label.correct-option {
  background: #c6f6d5;
  border-color: #48bb78;
  color: #22543d;
  font-weight: 600;
}

.option-label.wrong-option {
  background: #fed7d7;
  border-color: #f56565;
  color: #742a2a;
  font-weight: 600;
}

.feedback-msg {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-correct {
  background: #c6f6d5;
  color: #22543d;
}

.feedback-wrong {
  background: #fed7d7;
  color: #742a2a;
}

.action-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 15px;
}

.btn-submit {
  background: linear-gradient(135deg, #5f2cff, #3a0ca3);
  color: #ffffff;
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(95, 44, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 44, 255, 0.4);
  opacity: 0.95;
}

.btn-submit:disabled {
  background: #cbd5e0;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary-outline {
  background: transparent;
  border: 2px solid #a0aec0;
  color: #4a5568;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-secondary-outline:hover {
  background: #e2e8f0;
  color: #2d3748;
}

.score-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 30px;
  display: none;
  animation: slideDown 0.5s ease-out;
}

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

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.score-pass {
  background: linear-gradient(135deg, #48bb78, #38a169);
}

.score-fail {
  background: linear-gradient(135deg, #f56565, #e53e3e);
}

.score-status {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.score-desc {
  color: #718096;
  font-size: 15px;
  margin-bottom: 0;
}

.score-highlight {
  font-weight: 700;
  color: #2d3748;
}

.validation-alert {
  background: #fffaf0;
  border: 1px solid #fbd38d;
  color: #dd6b20;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
}
