/* Registration page supplementary styles */

/* Bouncing arrow + pulse for WhatsApp CTA */
.blink-arrow {
  animation: bounce 0.8s ease-in-out infinite;
  color: var(--accent);
  font-weight: 700;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232,106,60,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px 4px rgba(232,106,60,0.3); }
}
@keyframes slotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
  50% { box-shadow: 0 0 12px 3px rgba(232,106,60,0.35); }
}

.reg-stepper {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.reg-stepper-inner {
  padding: 24px 32px;
}
.reg-step-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
  opacity: 0.4;
  transition: opacity 0.15s;
}
.reg-step-btn.done,
.reg-step-btn.current {
  opacity: 1;
  cursor: pointer;
}
.reg-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  color: var(--muted);
}
.reg-step-btn.current .reg-step-circle {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.reg-step-btn.done .reg-step-circle {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Date selection cards */
.date-card,
.grade-card {
  text-align: left;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid var(--line-strong);
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.15s;
}
.date-card.selected,
.grade-card.selected {
  border-color: var(--accent);
  background: rgba(232,106,60,0.06);
}
.date-card .check,
.grade-card .check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* Course pick cards */
.course-pick {
  text-align: left;
  padding: 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.course-pick:hover {
  border-color: var(--line-strong);
}
.course-pick.picked {
  border-color: var(--accent);
  background: rgba(232,106,60,0.06);
}
.course-pick.sold-out {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Diet option buttons */
.diet-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.diet-btn.active {
  border: 2px solid var(--accent);
  background: rgba(232,106,60,0.10);
}

/* Summary row */
.summary-row {
  padding: 12px 0;
  border-bottom: 1px dotted var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Payment method cards */
.pay-method {
  text-align: left;
  padding: 18px;
  border-radius: 12px;
  border: 2px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}
.pay-method.active {
  border-color: var(--accent);
  background: rgba(232,106,60,0.06);
}

/* Cart sidebar */
.cart-sidebar {
  position: sticky;
  top: 90px;
}

/* Total bar */
.total-bar {
  padding: 20px 24px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Success page */
.success-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

/* Incomplete date tab arrow indicator */
.tab-arrow {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--danger, #c0392b);
  font-size: 14px;
  animation: tab-bounce 0.8s ease-in-out infinite;
  pointer-events: none;
}
.date-tab-incomplete {
  border-bottom-color: var(--danger, #c0392b) !important;
}
@keyframes tab-bounce {
  0%, 100% { top: -16px; }
  50% { top: -10px; }
}

/* Responsive */
@media (max-width: 860px) {
  .reg-stepper-inner {
    padding: 16px 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .reg-step-label { display: none; }
  .cart-sidebar { position: static; }
}
