/* 
   NEET Exam Simulator Page Custom Stylesheet
   GAAMA Education Service - 15-Step Flow Redesign
*/

:root {
  --neet-primary: #0D47A1;
  --neet-secondary: #1565C0;
  --neet-accent: #FFB300;
  --neet-success: #2E7D32;
  --neet-danger: #D32F2F;
  --neet-light: #F4F7FA;
  --neet-dark: #0A2540;
  --neet-white: #ffffff;
  --neet-shadow: 0 15px 35px rgba(13, 71, 161, 0.08);
  --neet-shadow-hover: 0 25px 50px rgba(13, 71, 161, 0.15);
  --neet-border-radius: 20px;
  --neet-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Phase container show/hide transitions */
.phase {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  animation: slideUpFadeStep 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.phase.active {
  display: block;
}

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

/* Background floating icons & particles */
.medical-bg-container {
  position: relative;
  overflow: hidden;
  background-color: var(--neet-light);
  min-height: 100vh;
}

.floating-icon-particle {
  position: absolute;
  color: rgba(13, 71, 161, 0.04);
  font-size: 3rem;
  pointer-events: none;
  z-index: 1;
  animation: floatAroundParticle 25s infinite linear;
}

@keyframes floatAroundParticle {
  0% { transform: translateY(100vh) rotate(0deg) scale(0.8); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-20vh) rotate(360deg) scale(1.2); opacity: 0; }
}

/* Welcome Screen Styling */
.welcome-card {
  text-align: center;
  padding: 60px 40px;
}

.neet-logo-anim-box {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background: radial-gradient(circle, #ffffff 0%, rgba(13,71,161,0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.1);
}

.neet-logo-anim-box::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border: 2px dashed rgba(13, 71, 161, 0.2);
  border-radius: 50%;
  animation: rotateGear 15s infinite linear;
}

@keyframes rotateGear {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.neet-logo-anim-box i {
  font-size: 3.5rem;
  color: var(--neet-primary);
  animation: medicalPulse 2s infinite ease-in-out;
}

@keyframes medicalPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(13,71,161,0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 15px rgba(13,71,161,0.2)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(13,71,161,0.4)); }
}

/* Button hover glows */
.btn-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.3);
}

.btn-glow:hover {
  box-shadow: 0 15px 35px rgba(13, 71, 161, 0.5);
  transform: translateY(-2px);
}

/* Stepper progress */
.step-stepper-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.step-stepper-container::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0; height: 3px;
  background: #e2e8f0;
  z-index: 1;
  transform: translateY(-50%);
}

.step-stepper-fill {
  position: absolute;
  top: 50%; left: 0; height: 3px;
  background: var(--neet-primary);
  z-index: 2;
  transform: translateY(-50%);
  transition: width 0.4s ease;
  width: 0%;
}

.step-stepper-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edf2f7;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #718096;
  position: relative;
  z-index: 3;
  transition: var(--neet-transition);
}

.step-stepper-node.active {
  background: var(--neet-primary);
  border-color: var(--neet-primary);
  color: var(--neet-white);
  box-shadow: 0 0 15px rgba(13, 71, 161, 0.3);
}

.step-stepper-node.completed {
  background: var(--neet-secondary);
  border-color: var(--neet-secondary);
  color: var(--neet-white);
}

/* Registration OTP Modal */
.otp-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.otp-card {
  background: var(--neet-white);
  padding: 35px;
  border-radius: var(--neet-border-radius);
  box-shadow: var(--neet-shadow-hover);
  max-width: 400px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(13, 71, 161, 0.1);
  animation: modalSlideIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

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

.otp-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 25px 0;
}

.otp-box {
  width: 50px;
  height: 50px;
  border: 2.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--neet-primary);
  outline: none;
  transition: var(--neet-transition);
}

.otp-box:focus {
  border-color: var(--neet-primary);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
}

/* Hall Ticket scanning effect */
.ht-print-wrapper {
  position: relative;
  overflow: hidden;
}

.ht-print-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, rgba(255, 179, 0, 0) 0%, #FFB300 50%, rgba(255, 179, 0, 0) 100%);
  box-shadow: 0 0 10px #FFB300, 0 0 20px #FFB300;
  z-index: 100;
  animation: scanningLaser 3s infinite ease-in-out;
}

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

.ht-print-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--neet-primary);
  font-size: 1.25rem;
}

/* Security check warning pulse */
.warning-pulse-card {
  border-left: 5px solid var(--neet-danger);
  background: #fff5f5;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
}

.warning-pulse-card i {
  font-size: 1.8rem;
  color: var(--neet-danger);
  animation: blinkAlert 1s infinite alternate;
}

@keyframes blinkAlert {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* Countdown overlay */
.countdown-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--neet-dark);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--neet-white);
  flex-direction: column;
}

.countdown-number {
  font-size: 8rem;
  font-weight: 800;
  color: var(--neet-accent);
  animation: countdownPulse 1s infinite linear;
}

@keyframes countdownPulse {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* Live Score Predictor Badge */
.score-predictor-badge {
  background: rgba(255, 179, 0, 0.15);
  border: 1px solid var(--neet-accent);
  color: var(--neet-accent);
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

/* Option Cards and checks */
.option-item-card {
  background: var(--neet-white);
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 25px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(13, 71, 161, 0.02);
}

.option-item-card:hover {
  border-color: var(--neet-secondary);
  background: #f8fafc;
  transform: translateX(8px);
  box-shadow: 0 10px 20px rgba(21, 101, 192, 0.08);
}

.option-item-card.selected {
  border-color: var(--neet-success);
  background: #f1fcf4;
  box-shadow: 0 10px 25px rgba(46, 125, 50, 0.15);
  transform: translateX(8px);
}

.option-content-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}

.option-label-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #4a5568;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--neet-transition);
  border: 1.5px solid #cbd5e1;
}

.option-item-card:hover .option-label-circle {
  border-color: var(--neet-secondary);
  color: var(--neet-secondary);
}

.option-item-card.selected .option-label-circle {
  background: var(--neet-success);
  color: white;
  border-color: var(--neet-success);
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

.option-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: transparent;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--neet-transition);
  flex-shrink: 0;
}

.option-item-card:hover .option-check-icon {
  border-color: var(--neet-secondary);
}

.option-item-card.selected .option-check-icon {
  background: #00c853;
  border-color: #00c853;
  color: white;
}

/* Question Text Box */
.question-text-box {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.75;
  font-weight: 600;
  color: var(--neet-dark);
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 14px;
  border-left: 6px solid var(--neet-primary);
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.04);
}

/* Auto submit screen */
.auto-submit-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 37, 64, 0.95);
  z-index: 15000;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  flex-direction: column;
  text-align: center;
}

.auto-submit-overlay i {
  font-size: 4.5rem;
  color: var(--neet-danger);
  margin-bottom: 25px;
  animation: medicalPulse 2s infinite ease-in-out;
}

/* Circular processing screen loader */
.processing-card {
  text-align: center;
  padding: 50px 30px;
}

.circular-loader-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
}

.circular-loader-svg {
  transform: rotate(-90deg);
  width: 150px;
  height: 150px;
}

.circular-loader-track {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 8;
}

.circular-loader-fill {
  fill: none;
  stroke: var(--neet-primary);
  stroke-width: 8;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 0.1s linear;
}

.circular-loader-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 800;
  color: var(--neet-dark);
}

/* Results circular score progress gauge */
.score-circle-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
}

.score-circle-svg {
  transform: rotate(-90deg);
  width: 180px;
  height: 180px;
}

.score-circle-fill {
  fill: none;
  stroke: var(--neet-primary);
  stroke-width: 12;
  stroke-dasharray: 528;
  stroke-dashoffset: 528;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.score-circle-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-circle-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--neet-primary);
  margin: 0;
  line-height: 1;
}

.score-circle-text span {
  font-size: 0.85rem;
  color: #718096;
  font-weight: 600;
  text-transform: uppercase;
}

/* Results Subject analysis progress bars */
.subject-analysis-bar {
  margin-bottom: 20px;
}

.subject-bar-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--neet-dark);
  margin-bottom: 8px;
}

.subject-bar-track {
  height: 10px;
  background: #edf2f7;
  border-radius: 10px;
  overflow: hidden;
}

.subject-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--neet-primary);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Rank & AI diagnostics cards */
.ai-badge {
  background: #eef6ff;
  border: 1.5px solid #b3d4ff;
  color: var(--neet-primary);
}

.diagnostic-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 15px;
}

.diagnostic-item.strength i { color: var(--neet-success); font-size: 1.2rem; margin-top: 3px; }
.diagnostic-item.weakness i { color: var(--neet-danger); font-size: 1.2rem; margin-top: 3px; }

/* College recommendations list grid */
.college-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.college-rec-card {
  background: var(--neet-light);
  border: 1px solid #edf2f7;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  color: var(--neet-secondary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: var(--neet-transition);
}

.college-rec-card:hover {
  transform: translateY(-3px);
  background: #eef6ff;
  border-color: var(--neet-primary);
}

/* Popup Lead counseling modal */
.counseling-popup-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(8px);
  z-index: 18000;
  display: none;
  align-items: center;
  justify-content: center;
}

.counseling-popup-card {
  background: var(--neet-white);
  padding: 40px;
  border-radius: var(--neet-border-radius);
  box-shadow: var(--neet-shadow-hover);
  max-width: 500px;
  width: 100%;
  text-align: center;
  border: 2px solid var(--neet-primary);
  animation: modalSlideIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.counseling-popup-card i {
  font-size: 3.5rem;
  color: var(--neet-accent);
  margin-bottom: 20px;
}

.counseling-popup-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neet-dark);
  margin-bottom: 12px;
}

.counseling-popup-card p {
  color: #4a5568;
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.counseling-btn-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media(min-width: 480px) {
  .counseling-btn-group {
    grid-template-columns: 1fr 1fr;
  }
  .counseling-btn-group .btn:first-child {
    grid-column: span 2;
  }
}

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

/* 1. Security Alert Proctor Overlay Fix */
#securityOverlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 37, 64, 0.98);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  flex-direction: column;
  text-align: center;
}

#securityOverlay i {
  font-size: 5rem;
  color: var(--neet-danger);
  margin-bottom: 25px;
  animation: medicalPulse 2s infinite ease-in-out;
}

#securityOverlay h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
}

#securityOverlay p {
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 5px auto;
  line-height: 1.6;
}

/* 2. Stepper Card Container */
.stepper-card {
  background: var(--neet-white);
  border-radius: var(--neet-border-radius);
  padding: 45px 40px;
  box-shadow: var(--neet-shadow);
  border: 1px solid rgba(13, 71, 161, 0.05);
  margin-bottom: 30px;
  animation: slideUpFadeStep 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* 3. Registration Form Inputs */
.anim-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  text-align: left;
}

.anim-item label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neet-dark);
  margin-bottom: 8px;
}

.anim-item input,
.anim-item select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  color: var(--neet-dark);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.anim-item input::placeholder {
  color: #94a3b8;
}

.anim-item input:focus,
.anim-item select:focus {
  border-color: var(--neet-primary);
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
  background: #ffffff;
}

/* 4. Level Selection Cards */
.level-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.level-card {
  background: var(--neet-white);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 25px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
  box-shadow: 0 4px 6px rgba(13, 71, 161, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.level-card:hover {
  border-color: var(--neet-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(13, 71, 161, 0.06);
}

.level-card.selected {
  border-color: var(--neet-primary);
  background: rgba(13, 71, 161, 0.03);
  box-shadow: 0 12px 25px rgba(13, 71, 161, 0.1);
  border-width: 2.5px;
}

.level-card i {
  font-size: 2.2rem;
  color: var(--neet-primary);
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.level-card:hover i {
  transform: scale(1.1);
}

.level-card.selected i {
  color: var(--neet-secondary);
}

.level-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--neet-dark);
  margin: 0;
}

.level-card p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.level-card .badge-info {
  margin-top: 5px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--neet-primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.level-card.selected .badge-info {
  background: var(--neet-primary);
  color: white;
}

/* 5. Question Palette Box Colors */
.q-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-height: 250px;
  overflow-y: auto;
  padding: 5px;
}

.palette-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f8fafc;
  border: 2px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.palette-box:hover {
  border-color: var(--neet-primary);
  background: #e2e8f0;
  color: var(--neet-dark);
}

.palette-box.active {
  border-color: var(--neet-primary);
  background: #ffffff;
  color: var(--neet-primary);
  box-shadow: 0 0 10px rgba(13, 71, 161, 0.35);
}

.palette-box.answered {
  background: #e8f5e9;
  border-color: #2e7d32;
  color: #2e7d32;
}

.palette-box.answered.active {
  box-shadow: 0 0 10px rgba(46, 125, 50, 0.45);
}

.palette-box.review {
  background: #ffe8cc;
  border-color: #f57c00;
  color: #e65100;
}

.palette-box.review.active {
  box-shadow: 0 0 10px rgba(245, 124, 0, 0.45);
}

.palette-box.visited {
  background: #ffebee;
  border-color: #d32f2f;
  color: #c62828;
}

/* 6. Scorecard Certificate Report Image Styling */
.report-card-box {
  background: #ffffff;
  border: 12px double #0d47a1;
  border-radius: 20px;
  padding: 40px;
  max-width: 620px;
  margin: 0 auto 30px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 45px rgba(13, 71, 161, 0.12);
}

.report-card-box::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 2px solid #ff9100;
  pointer-events: none;
}

.report-card-header {
  border-bottom: 3px double #0d47a1;
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.report-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0d47a1;
  margin-top: 5px;
  margin-bottom: 2px;
  letter-spacing: 1px;
}

.report-card-subtitle {
  font-size: 0.9rem;
  color: #ff9100;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 5px;
}

.report-card-score-badge {
  background: #1b5e20;
  border: 3px solid #ff9100;
  padding: 20px 35px;
  border-radius: 15px;
  display: inline-block;
  margin: 20px 0;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(27, 94, 32, 0.25);
  position: relative;
}

.report-card-score-value {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
  z-index: 10;
}

.report-card-score-label {
  font-size: 0.8rem;
  color: #c8e6c9 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 10;
}

.report-card-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
  background: #f8fafc;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.report-card-ad-box {
  background: linear-gradient(135deg, #fffdf5 0%, #fff9db 100%);
  border: 1.5px solid #ffe57f;
  border-left: 6px solid #ff9100;
  padding: 18px 22px;
  border-radius: 10px;
  margin-top: 25px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(255, 145, 0, 0.05);
}

.report-card-ad-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-card-ad-text {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.5;
}

/* 7. Language Switcher Styles */
.lang-switch-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3px 6px;
  backdrop-filter: blur(10px);
  margin-right: 15px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
  line-height: 1.2;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--neet-accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 112, 67, 0.4);
}

/* Language mode toggles */
body.lang-en-mode .lang-ta {
  display: none !important;
}
body.lang-ta-mode .lang-en {
  display: none !important;
}

/* 8. Screenshot & Video Protection print block */
@media print {
  body {
    display: none !important;
  }
}

/* Custom Checkboxes for Proctor Checklist (Phase 5) */
.neet-checkbox-label {
  display: flex;
  gap: 15px;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--neet-dark);
  font-weight: 600;
  align-items: flex-start;
}

.neet-custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 26px !important;
  height: 26px !important;
  border: 2.5px solid #cbd5e1 !important;
  border-radius: 6px !important;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white !important;
  flex-shrink: 0;
  margin-top: 0 !important;
}

.neet-custom-checkbox:checked {
  background: #00c853 !important;
  border-color: #00c853 !important;
}

.neet-custom-checkbox:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 0.95rem;
}

/* Exam footer and buttons */
.exam-footer {
  border-top: 1px solid #edf2f7;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exam-footer-left,
.exam-footer-right {
  display: flex;
  gap: 10px;
}

.exam-footer .btn {
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--neet-transition);
}

.exam-footer .btn-review {
  border-color: #f59e0b;
  color: #d97706;
  background: transparent;
}

.exam-footer .btn-review:hover {
  background: #f59e0b;
  color: white;
}

.exam-footer .btn-clear {
  border-color: #cbd5e1;
  color: #4b5563;
  padding: 12px 20px;
  background: transparent;
}

.exam-footer .btn-clear:hover {
  background: #cbd5e1;
  color: white;
}

.exam-footer .btn-prev {
  background: transparent;
  border-color: #cbd5e1;
  color: #4b5563;
}

.exam-footer .btn-prev:hover {
  background: #cbd5e1;
  color: white;
}

.exam-footer .btn-save {
  background: var(--neet-primary);
  color: white;
}

.exam-footer .btn-save:hover {
  background: var(--neet-secondary);
}

/* Mobile Responsive Styling */
@media (max-width: 768px) {
  /* Stepper card padding reduction for more space */
  .stepper-card {
    padding: 25px 20px !important;
  }

  /* Option card padding adjustment */
  .option-item-card {
    padding: 14px 18px !important;
    margin-bottom: 12px !important;
  }
  
  .option-label-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }
  
  .option-check-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.8rem !important;
  }

  /* Convert exam layout to vertical stack */
  .exam-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
  }

  .grid-panel {
    padding-left: 0 !important;
    border-left: none !important;
    border-top: 1px solid #edf2f7 !important;
    padding-top: 25px !important;
  }

  /* Stack footer buttons */
  .exam-footer {
    flex-direction: column-reverse !important; /* Navigation buttons at the bottom */
    gap: 15px !important;
    align-items: stretch !important;
    padding-top: 20px !important;
  }

  .exam-footer-left,
  .exam-footer-right {
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
  }

  .exam-footer .btn {
    flex: 1 !important;
    padding: 12px 15px !important;
    font-size: 0.85rem !important;
  }

  /* Adjust checkbox label text size */
  .neet-checkbox-label {
    font-size: 0.95rem !important;
    gap: 10px !important;
  }

}

/* NEET Lead Capture Form Styles */
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.lead-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  color: var(--neet-dark);
  background: white;
  transition: all 0.3s;
}

.lead-input:focus {
  border-color: var(--neet-primary);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.lead-input[readonly] {
  background: #f1f5f9 !important;
  border-color: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}



@media (max-width: 480px) {
  .lead-grid {
    grid-template-columns: 1fr !important;
  }
}


