#exam-registration-form {
  font-family: "Segoe UI", sans-serif;
  background-color: #f3e3dc;
  padding: 40px;
  border-radius: 12px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  height: 100vh; /* Full viewport height */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#original_price {
  color: #b30000;
  text-decoration: line-through;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 2px;
  display: none;
}
#validate_coupon_btn {
  font-size: 0.95em;
  padding: 5px 12px;
  height: 32px;
  line-height: 1.1;
  border-radius: 4px;
}
.coupon-congrats-msg {
  display: inline-block;
  color: #28a745;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 6px;
  opacity: 0;
  animation: fadeInCongrats 0.7s forwards;
}
@keyframes fadeInCongrats {
  from { opacity: 0; transform: translateY(-10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Celebration Banner */
#coupon-congrats-banner {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #ffb347, #ffcc33, #ffb347);
  color: #b30000;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 24px 0 18px 0;
  z-index: 9999;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border-bottom: 3px solid #f26522;
  transition: top 0.7s cubic-bezier(.68,-0.55,.27,1.55);
  letter-spacing: 1px;
}
#coupon-congrats-banner.active {
  top: 0;
}
/* Simple confetti effect */
.coupon-confetti {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 10000;
}
.coupon-confetti span {
  position: absolute;
  width: 12px;
  height: 18px;
  border-radius: 3px;
  opacity: 0.8;
  animation: confetti-fall 1.2s linear forwards;
}
@keyframes confetti-fall {
  0% { transform: translateY(-40px) scale(1) rotate(0deg); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(120px) scale(0.8) rotate(360deg); opacity: 0; }
}
.invalid-highlight {
  border: 2px solid #b30000 !important;
  animation: shake 0.2s 2;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

#exam-registration-form h1 {
  text-align: center;
  margin-bottom: 10px;
}

#exam-registration-form h3 {
  text-align: center;
  margin-top: 0;
  font-weight: normal;
  margin-bottom: 30px;
}

/* Progress Bar */
.exam-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.exam-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #ddd;
  z-index: 1;
}

.exam-progress-step {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #666;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

.exam-progress-step.active {
  background: #f26522;
  color: white;
  border-color: #f26522;
}

.exam-progress-step.completed {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.exam-progress-label {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

/* Form Sections */
.exam-form-section {
  display: none;
  animation: fadeIn 0.5s ease;
}

.exam-form-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.exam-section {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 18px 10px 18px;
  margin-bottom: 24px;
  background: #fafbfc;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.exam-section h2 {
  margin-top: 0;
  font-size: 1.2em;
  color: #1a237e;
  margin-bottom: 16px;
  text-align: left;
}

.exam-row { 
  display: flex; 
  gap: 16px; 
  margin-bottom: 16px; 
  flex-wrap: wrap; 
}

.exam-row > div { 
  flex: 1 1 0; 
  min-width: 180px; 
}

.exam-row label { 
  display: block; 
  font-weight: 500; 
  margin-bottom: 4px; 
}

.exam-row input, 
.exam-row select, 
.exam-row textarea { 
  width: 100%; 
  padding: 6px 8px; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
}

.exam-required { 
  color: #b30000; 
  margin-left: 2px; 
}

.exam-logo-wrap { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin-bottom: 24px; 
}

.exam-logo { 
  max-width: 220px; 
  width: 100%; 
  height: auto; 
  display: block; 
}

/* Navigation Buttons */
.exam-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 15px;
}

.exam-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.exam-btn-primary {
  background: #f26522;
  color: white;
}

.exam-btn-primary:hover {
  background: #d2400f;
}

.exam-btn-secondary {
  background: #6c757d;
  color: white;
}

.exam-btn-secondary:hover {
  background: #545b62;
}

.exam-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Payment Section */
.exam-payment-section {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}
.exam-payment-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  align-items: center;
}

.exam-payment-row > div {
  flex: 1;
}

.exam-amount-display {
  font-size: 18px;
  font-weight: bold;
  color: #28a745;
  padding: 10px;
  background: #d4edda;
  border-radius: 4px;
  text-align: center;
}

/* Loading Spinner */
.exam-loading {
  display: none;
  text-align: center;
  padding: 20px;
}

.exam-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #f26522;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error/Success Messages */
.exam-message {
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  display: none;
}

.exam-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.exam-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
/* Coupon Save Label */
.coupon-save-label {
  display: none;
  background: #90EE90;
  color: black;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 6px;
/*   padding: 8px 10px; */
  margin: 18px 0 0 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(40,167,69,0.08);
  letter-spacing: 0.5px;
}
@keyframes blast1 { 100% { transform: translate(61px, 7px) rotate(390deg); opacity: 0; } }
@keyframes blast2 { 100% { transform: translate(60px, 15px) rotate(420deg); opacity: 0; } }
@keyframes blast3 { 100% { transform: translate(59px, 23px) rotate(450deg); opacity: 0; } }
@keyframes blast4 { 100% { transform: translate(57px, 30px) rotate(480deg); opacity: 0; } }
@keyframes blast5 { 100% { transform: translate(53px, 37px) rotate(510deg); opacity: 0; } }
@keyframes blast6 { 100% { transform: translate(49px, 44px) rotate(540deg); opacity: 0; } }
@keyframes blast7 { 100% { transform: translate(44px, 51px) rotate(570deg); opacity: 0; } }
@keyframes blast8 { 100% { transform: translate(38px, 56px) rotate(600deg); opacity: 0; } }
@keyframes blast9 { 100% { transform: translate(31px, 61px) rotate(630deg); opacity: 0; } }
@keyframes blast10 { 100% { transform: translate(24px, 66px) rotate(660deg); opacity: 0; } }
@keyframes blast11 { 100% { transform: translate(16px, 69px) rotate(690deg); opacity: 0; } }
@keyframes blast12 { 100% { transform: translate(8px, 72px) rotate(360deg); opacity: 0; } }
@keyframes blast13 { 100% { transform: translate(-1px, 73px) rotate(390deg); opacity: 0; } }
@keyframes blast14 { 100% { transform: translate(-10px, 73px) rotate(420deg); opacity: 0; } }
@keyframes blast15 { 100% { transform: translate(-19px, 72px) rotate(450deg); opacity: 0; } }
@keyframes blast16 { 100% { transform: translate(-28px, 70px) rotate(480deg); opacity: 0; } }
@keyframes blast17 { 100% { transform: translate(-37px, 67px) rotate(510deg); opacity: 0; } }
@keyframes blast18 { 100% { transform: translate(-46px, 63px) rotate(540deg); opacity: 0; } }
@keyframes blast19 { 100% { transform: translate(-54px, 58px) rotate(570deg); opacity: 0; } }
@keyframes blast20 { 100% { transform: translate(-61px, 51px) rotate(600deg); opacity: 0; } }
@keyframes blast21 { 100% { transform: translate(-68px, 44px) rotate(630deg); opacity: 0; } }
@keyframes blast22 { 100% { transform: translate(-74px, 36px) rotate(660deg); opacity: 0; } }
@keyframes blast23 { 100% { transform: translate(-78px, 27px) rotate(690deg); opacity: 0; } }
@keyframes blast24 { 100% { transform: translate(-82px, 17px) rotate(360deg); opacity: 0; } }
@keyframes blast25 { 100% { transform: translate(-85px, 7px) rotate(390deg); opacity: 0; } }
@keyframes blast26 { 100% { transform: translate(-86px, -3px) rotate(420deg); opacity: 0; } }
@keyframes blast27 { 100% { transform: translate(-86px, -14px) rotate(450deg); opacity: 0; } }
@keyframes blast28 { 100% { transform: translate(-85px, -24px) rotate(480deg); opacity: 0; } }
@keyframes blast29 { 100% { transform: translate(-82px, -35px) rotate(510deg); opacity: 0; } }
@keyframes blast30 { 100% { transform: translate(-78px, -45px) rotate(540deg); opacity: 0; } }
@keyframes blast31 { 100% { transform: translate(-73px, -55px) rotate(570deg); opacity: 0; } }
@keyframes blast32 { 100% { transform: translate(-66px, -64px) rotate(600deg); opacity: 0; } }
@keyframes blast33 { 100% { transform: translate(-59px, -72px) rotate(630deg); opacity: 0; } }
@keyframes blast34 { 100% { transform: translate(-50px, -80px) rotate(660deg); opacity: 0; } }
@keyframes blast35 { 100% { transform: translate(-40px, -86px) rotate(690deg); opacity: 0; } }
@keyframes blast36 { 100% { transform: translate(-30px, -91px) rotate(360deg); opacity: 0; } }
@keyframes blast37 { 100% { transform: translate(-19px, -95px) rotate(390deg); opacity: 0; } }
@keyframes blast38 { 100% { transform: translate(-7px, -98px) rotate(420deg); opacity: 0; } }
@keyframes blast39 { 100% { transform: translate(5px, -99px) rotate(450deg); opacity: 0; } }
@keyframes blast40 { 100% { transform: translate(10px, -59px) rotate(480deg); opacity: 0; } }
@keyframes blast41 { 100% { transform: translate(18px, -58px) rotate(510deg); opacity: 0; } }
@keyframes blast42 { 100% { transform: translate(25px, -57px) rotate(540deg); opacity: 0; } }
@keyframes blast43 { 100% { transform: translate(32px, -54px) rotate(570deg); opacity: 0; } }
@keyframes blast44 { 100% { transform: translate(39px, -50px) rotate(600deg); opacity: 0; } }
@keyframes blast45 { 100% { transform: translate(46px, -46px) rotate(630deg); opacity: 0; } }
@keyframes blast46 { 100% { transform: translate(52px, -41px) rotate(660deg); opacity: 0; } }
@keyframes blast47 { 100% { transform: translate(57px, -35px) rotate(690deg); opacity: 0; } }
@keyframes blast48 { 100% { transform: translate(62px, -28px) rotate(360deg); opacity: 0; } }
@keyframes blast49 { 100% { transform: translate(66px, -20px) rotate(390deg); opacity: 0; } }
@keyframes blast50 { 100% { transform: translate(69px, -12px) rotate(420deg); opacity: 0; } }
