/* ===== NAV XP ===== */
.nav-xp {
  background: linear-gradient(135deg, #5b5ef4, #7209b7);
  color: white; font-weight: 800; font-size: 0.8rem;
  padding: 0.3rem 0.8rem; border-radius: 50px;
}

/* ===== HERO ===== */
.ep-hero {
  padding: 3rem 4rem 2rem; text-align: center;
  background: linear-gradient(145deg, #eef0ff 0%, #fce7ff 50%, #fff0e8 100%);
}
.ep-hero h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 0.5rem; }
.ep-hero p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== CONTAINER / SECTION ===== */
.ep-container { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; }
.ep-section { background: var(--bg); }
.ep-section:nth-child(even) { background: white; }

/* ===== CARD ===== */
.ep-card {
  background: white; border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); border: 2px solid rgba(91,94,244,0.08);
}
.ep-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.ep-card-title {
  font-size: 1.3rem; font-weight: 900; text-align: left;
  background: none; -webkit-text-fill-color: var(--text);
  margin-bottom: 0.5rem;
}
.ep-card-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }

/* ===== EXAM PICKER ===== */
.ep-exam-picker {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem; margin-bottom: 1.5rem;
}
.ep-exam-option {
  padding: 1.2rem 0.8rem; border-radius: 16px;
  border: 2.5px solid #e8eaff; background: #fafbff;
  text-align: center; cursor: pointer;
  transition: all 0.25s ease;
}
.ep-exam-option:hover {
  border-color: #5b5ef4; background: #f0f2ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(91,94,244,0.15);
}
.ep-exam-option.selected {
  border-color: #5b5ef4; background: linear-gradient(135deg, #5b5ef4, #7209b7);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(91,94,244,0.3);
}
.ep-exam-option.selected .ep-exam-icon,
.ep-exam-option.selected .ep-exam-name,
.ep-exam-option.selected .ep-exam-when { color: white; }
.ep-exam-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.ep-exam-name { font-weight: 900; font-size: 0.88rem; margin-bottom: 0.15rem; }
.ep-exam-when { font-size: 0.72rem; color: #94a3b8; font-weight: 700; }

/* ===== EXAM DETAILS ===== */
.ep-details {
  border-top: 2px solid #f0f2ff; padding-top: 1.5rem;
  animation: fadeSlideDown 0.3s ease;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ep-details-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ep-details-badge {
  background: linear-gradient(135deg, #5b5ef4, #7209b7);
  color: white; font-weight: 900; font-size: 0.82rem;
  padding: 0.35rem 0.9rem; border-radius: 50px;
}
.ep-details-lang {
  font-weight: 800; font-size: 0.88rem; color: #64748b;
}
.ep-auto-tag {
  font-size: 0.68rem; font-weight: 700;
  background: #ecfdf5; color: #059669;
  padding: 0.15rem 0.5rem; border-radius: 50px;
  margin-left: 0.4rem;
}
.ep-countdown-inline {
  font-size: 1.4rem; font-weight: 900;
  padding: 0.5rem 1rem; border-radius: 14px;
  background: #fafbff; border: 2px solid #e8eaff;
  text-align: center;
}

/* ===== SYLLABUS CHIPS ===== */
.ep-syllabus-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ep-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.85rem; border-radius: 50px;
  background: #f0f2ff; border: 1.5px solid #e8eaff;
  font-size: 0.82rem; font-weight: 700; color: #334155;
}
.ep-chip-custom {
  background: #fef7f0; border-color: #fed7aa;
  color: #c2410c;
}
.ep-chip-x {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: #94a3b8; padding: 0;
  line-height: 1; transition: color 0.15s;
}
.ep-chip-x:hover { color: #ef4444; }
.ep-input-sm {
  padding: 0.55rem 0.85rem; font-size: 0.85rem;
}

/* ===== ACTIONS ===== */
.ep-actions {
  display: flex; gap: 0.75rem; margin-top: 1.25rem;
  align-items: center;
}
.ep-reset-btn {
  font-size: 0.85rem; padding: 0.65rem 1.2rem;
}

/* ===== FORM ===== */
.ep-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.ep-field { margin-bottom: 0.5rem; }
.ep-field label {
  display: flex; align-items: center; gap: 0.3rem;
  font-weight: 800; font-size: 0.82rem;
  margin-bottom: 0.35rem; color: var(--text);
}
.ep-select, .ep-input {
  width: 100%; padding: 0.7rem 1rem;
  border: 2px solid #e8eaff; border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-size: 0.92rem; font-weight: 700;
  color: var(--text); background: white; outline: none;
  transition: border-color 0.2s; appearance: none;
}
.ep-select:focus, .ep-input:focus { border-color: var(--primary); }
.ep-schedule-btn { margin-top: 0.5rem; }

/* ===== COUNTDOWN ===== */
.ep-countdown {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white; font-weight: 900; font-size: 0.85rem;
  padding: 0.4rem 1rem; border-radius: 50px;
  box-shadow: 0 4px 16px rgba(247,37,133,0.3);
}

/* ===== PLAN GRID ===== */
.ep-plan-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.plan-day {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; border-radius: var(--radius);
  border: 2px solid #eeeeff; transition: all 0.2s;
}
.plan-day:hover { border-color: rgba(91,94,244,0.2); transform: translateX(4px); }
.plan-day-num {
  min-width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.88rem; flex-shrink: 0;
}
.plan-day-info { flex: 1; }
.plan-day-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 0.2rem; }
.plan-day-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.plan-day-tag {
  font-size: 0.7rem; font-weight: 800;
  padding: 0.2rem 0.6rem; border-radius: 50px;
  background: rgba(6,214,160,0.12); color: #059669;
  display: inline-block; margin-top: 0.3rem;
}
.plan-motivation {
  text-align: center; font-weight: 800; font-size: 1rem;
  color: #5b5ef4; padding: 1.25rem; margin-top: 0.5rem;
  background: #f5f6ff; border-radius: 14px;
}

/* ===== MOCK TEST ===== */
.ep-mock-section { background: linear-gradient(160deg, #f0f2ff 0%, #fce4ff 100%) !important; }
.mock-progress { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.mock-bar {
  flex: 1; height: 8px; background: #eeeeff;
  border-radius: 50px; overflow: hidden;
}
.mock-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.4s ease; width: 10%;
}
.mock-count { font-size: 0.82rem; font-weight: 800; color: var(--muted); }
.mock-question {
  font-size: 1.15rem; font-weight: 800; margin-bottom: 1.25rem;
  color: var(--text); line-height: 1.6;
}
.mock-options { display: flex; flex-direction: column; gap: 0.6rem; }
.mock-opt {
  padding: 0.85rem 1.2rem; border-radius: 14px;
  border: 2px solid #e8eaff; background: white;
  font-weight: 700; font-size: 0.92rem; cursor: pointer;
  transition: all 0.18s; text-align: left;
  font-family: 'Nunito', sans-serif; color: var(--text);
}
.mock-opt:hover { border-color: var(--primary); background: #f5f6ff; transform: translateX(4px); }
.mock-opt.correct { background: #ecfdf5; border-color: var(--green); }
.mock-opt.wrong { background: #fef2f2; border-color: #f87171; }
.mock-feedback {
  text-align: center; font-weight: 800; font-size: 0.95rem;
  margin-top: 1rem; min-height: 1.5rem;
}
.mock-result-card { text-align: center; padding: 2rem 0; }
.mock-score {
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.mock-msg { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }

/* ===== REVISION SHEET ===== */
.ep-revision-sheet { background: white !important; }
.ep-sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.sheet-card {
  background: var(--bg); border-radius: var(--radius-lg); padding: 1.5rem;
  border: 2px solid #eeeeff; transition: all 0.3s;
}
.sheet-card:hover { border-color: rgba(91,94,244,0.2); transform: translateY(-4px); box-shadow: var(--shadow); }
.sheet-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.sheet-card h4 { font-size: 1rem; font-weight: 900; margin-bottom: 0.75rem; }
.sheet-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.sheet-list li {
  font-size: 0.85rem; color: var(--muted); line-height: 1.6;
  padding-left: 1rem; position: relative;
}
.sheet-list li::before {
  content: '•'; position: absolute; left: 0;
  color: var(--primary); font-weight: 900;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ep-hero { padding: 2rem 1.5rem 1.5rem; }
  .ep-hero h1 { font-size: 1.6rem; }
  .ep-container { padding: 1.5rem 1rem; }
  .ep-card { padding: 1.25rem; }
  .ep-form-row { grid-template-columns: 1fr; }
  .ep-exam-picker { grid-template-columns: repeat(2, 1fr); }
  .ep-sheet-grid { grid-template-columns: 1fr; }
  .plan-day { flex-direction: column; gap: 0.5rem; }
  .ep-actions { flex-direction: column; }
}
