/* ════════════════════════════════════════════
   SMARTTUTORS — Enrollment Form Modal
   Glassmorphic · Premium · Responsive
   ════════════════════════════════════════════ */

/* ─── Modal Overlay ─── */
.enroll-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.enroll-modal[hidden] {
  display: none;
}

/* ─── Backdrop ─── */
.enroll-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 35, 0.65);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  opacity: 0;
  transition: opacity 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.enroll-modal.open .enroll-backdrop {
  opacity: 1;
}

/* ─── Card ─── */
.enroll-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 28px;
  box-shadow:
    0 40px 100px rgba(124, 58, 237, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  transform: translateY(32px) scale(0.96);
  opacity: 0;
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.3) transparent;
}

.enroll-card::-webkit-scrollbar { width: 5px; }
.enroll-card::-webkit-scrollbar-track { background: transparent; }
.enroll-card::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #7C3AED, #FF6B6B);
  border-radius: 3px;
}

.enroll-modal.open .enroll-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dark .enroll-card {
  background: rgba(12, 18, 42, 0.96);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* ─── Decorative Top Gradient Bar ─── */
.enroll-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #7C3AED, #A855F7 40%, #FF6B6B);
  border-radius: 28px 28px 0 0;
}

/* ─── Card Header ─── */
.enroll-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px 0;
}

.enroll-header-text {}

.enroll-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.dark .enroll-eyebrow {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(168, 85, 247, 0.35);
  color: #A855F7;
}

.enroll-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 6px;
}

.dark .enroll-title { color: white; }

.enroll-subtitle {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.dark .enroll-subtitle { color: rgba(255, 255, 255, 0.5); }

/* ─── Close Button ─── */
.enroll-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(124, 58, 237, 0.06);
  border-radius: 12px;
  cursor: pointer;
  color: #64748b;
  transition: all var(--transition);
  margin-top: 2px;
}

.enroll-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: rotate(90deg) scale(1.1);
}

.dark .enroll-close {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}

.dark .enroll-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* ─── Form Body ─── */
.enroll-body {
  padding: 24px 32px 32px;
}

/* ─── Form Grid ─── */
.enroll-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.enroll-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .enroll-row { grid-template-columns: 1fr; }
  .enroll-header { padding: 20px 20px 0; }
  .enroll-body  { padding: 20px 20px 24px; }
}

/* ─── Field Group ─── */
.enroll-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.enroll-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dark .enroll-label { color: rgba(255, 255, 255, 0.85); }

.enroll-label .required-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: -2px;
}

/* ─── Input / Select ─── */
.enroll-input,
.enroll-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(248, 250, 252, 0.9);
  border: 1.5px solid rgba(124, 58, 237, 0.14);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--navy);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.dark .enroll-input,
.dark .enroll-select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  color-scheme: dark;
}

.enroll-input:focus,
.enroll-select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12), 0 2px 8px rgba(124, 58, 237, 0.1);
  background: white;
}

.dark .enroll-input:focus,
.dark .enroll-select:focus {
  border-color: #A855F7;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.enroll-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.enroll-input::placeholder { color: #94a3b8; }
.dark .enroll-input::placeholder { color: rgba(255, 255, 255, 0.3); }

/* ─── Select Wrapper (custom arrow) ─── */
.enroll-select-wrap {
  position: relative;
}

.enroll-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--violet);
  pointer-events: none;
  transition: transform var(--transition);
}

.enroll-select {
  padding-right: 40px;
  cursor: pointer;
}

/* ─── Divider ─── */
.enroll-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}

.enroll-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(124, 58, 237, 0.1);
}

.dark .enroll-divider-line { background: rgba(255, 255, 255, 0.08); }

.enroll-divider-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  white-space: nowrap;
}

.dark .enroll-divider-label { color: #A855F7; }

/* ─── Subject Checkboxes ─── */
.enroll-subjects {}

.enroll-subject-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.enroll-subject-group {}

.enroll-subject-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.enroll-subject-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(124, 58, 237, 0.08);
}

.dark .enroll-subject-group-label {
  color: rgba(255, 255, 255, 0.35);
}

.enroll-subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

/* ─── Custom Checkbox ─── */
.enroll-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(248, 250, 252, 0.7);
  border: 1.5px solid rgba(124, 58, 237, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.dark .enroll-checkbox-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.enroll-checkbox-wrap:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.dark .enroll-checkbox-wrap:hover {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(124, 58, 237, 0.08);
}

/* Checked state */
.enroll-checkbox-wrap:has(input:checked) {
  border-color: var(--violet);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(255, 107, 107, 0.05));
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
  transform: translateY(-1px);
}

.dark .enroll-checkbox-wrap:has(input:checked) {
  border-color: #A855F7;
  background: rgba(124, 58, 237, 0.15);
}

/* Hide native checkbox */
.enroll-checkbox-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom checkbox box */
.enroll-checkbox-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(124, 58, 237, 0.3);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.dark .enroll-checkbox-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.enroll-checkbox-wrap:has(input:checked) .enroll-checkbox-box {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.enroll-checkbox-box svg {
  display: none;
  color: white;
}

.enroll-checkbox-wrap:has(input:checked) .enroll-checkbox-box svg {
  display: block;
}

.enroll-checkbox-text {
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.dark .enroll-checkbox-text { color: rgba(255, 255, 255, 0.65); }

.enroll-checkbox-wrap:has(input:checked) .enroll-checkbox-text {
  color: var(--violet);
  font-weight: 600;
}

.dark .enroll-checkbox-wrap:has(input:checked) .enroll-checkbox-text {
  color: #C084FC;
}

.enroll-checkbox-sub {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.dark .enroll-checkbox-sub { color: rgba(255, 255, 255, 0.3); }

/* ─── Submit Button ─── */
.enroll-submit-wrap {
  padding-top: 4px;
}

.enroll-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--gradient);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.42);
  letter-spacing: 0.01em;
}

.enroll-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.enroll-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(124, 58, 237, 0.54), 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.enroll-submit:hover::before { opacity: 1; }

.enroll-submit:active {
  transform: translateY(0) scale(0.99);
}

.enroll-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.enroll-submit-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.enroll-submit.loading .enroll-submit-text { display: none; }
.enroll-submit.loading .enroll-submit-spinner { display: block; }
.enroll-submit.loading .enroll-submit-icon { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Privacy Note ─── */
.enroll-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-top: 12px;
}

.dark .enroll-privacy { color: rgba(255, 255, 255, 0.3); }

/* ─── Success State ─── */
.enroll-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px 40px;
  animation: successReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successReveal {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.enroll-modal.success-state .enroll-body { display: none; }
.enroll-modal.success-state .enroll-success { display: flex; }
.enroll-modal.success-state .enroll-header { display: none; }

/* ─── Success Icon ─── */
.success-icon-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
}

.success-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.12;
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50%       { transform: scale(1.18); opacity: 0.06; }
}

.success-icon-inner {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
  animation: iconPop 0.5s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes iconPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.success-icon-inner svg {
  color: white;
  animation: checkDraw 0.4s 0.3s ease forwards;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

/* ─── Success Content ─── */
.success-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.18);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.dark .success-eyebrow {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(168, 85, 247, 0.35);
  color: #A855F7;
}

.success-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.dark .success-title { color: white; }

.success-msg {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 28px;
}

.dark .success-msg { color: rgba(255, 255, 255, 0.6); }

.success-msg strong { color: var(--violet); }
.dark .success-msg strong { color: #A855F7; }

/* ─── Success Details ─── */
.success-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.dark .success-details {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
}

.success-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}

.dark .success-detail-item { color: rgba(255, 255, 255, 0.75); }

.success-detail-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ─── Close CTA ─── */
.success-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gradient);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.38);
}

.success-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.5);
}

/* ─── Confetti Particles ─── */
.enroll-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  border-radius: 28px;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  border-radius: 2px;
  animation: confettiFall linear forwards;
  opacity: 0;
}

@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .enroll-card {
    border-radius: 20px;
    max-height: 96vh;
  }

  .enroll-subject-grid {
    grid-template-columns: 1fr 1fr;
  }

  .success-details {
    padding: 16px;
  }
}

@media (max-width: 380px) {
  .enroll-subject-grid {
    grid-template-columns: 1fr;
  }
}


/* ════════════════════════════════════════════
   SECURITY ADDITIONS
   Honeypot · Field Errors · Cooldown Banner
   ════════════════════════════════════════════ */

/* ─── Honeypot — visible to bots, invisible to humans ─── */
.enroll-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
  /* Intentionally NOT using display:none or visibility:hidden
     so that automated bots will still auto-fill the field */
}

/* ─── Inline Field Error Messages ─── */
.enroll-field-error {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: #ef4444;
  margin-top: 4px;
  padding-left: 2px;
  line-height: 1.4;
  animation: errorSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.dark .enroll-field-error { color: #f87171; }

/* Error state also applies to select */
.enroll-select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* ─── Rate-Limited Submit Button ─── */
.enroll-submit.rate-limited {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: none;
  cursor: not-allowed;
  transform: none !important;
}

.enroll-submit.rate-limited:hover {
  box-shadow: none;
  transform: none;
}

/* ─── Cooldown Banner ─── */
.enroll-cooldown-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 32px 0;
  padding: 16px 20px;
  background: linear-gradient(135deg,
    rgba(239, 68, 68, 0.07) 0%,
    rgba(245, 158, 11, 0.06) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.22);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Animation */
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition:
    opacity 360ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  /* Compact spacing — sits between header and form body */
  overflow: hidden;
}

.enroll-cooldown-banner[hidden] { display: none; }

.enroll-cooldown-banner.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dark .enroll-cooldown-banner {
  background: linear-gradient(135deg,
    rgba(239, 68, 68, 0.12) 0%,
    rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}

/* ─── Cooldown Icon ─── */
.cooldown-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(245,158,11,0.12));
  border: 1px solid rgba(239,68,68,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  animation: clockPulse 2s ease-in-out infinite;
}

@keyframes clockPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.1) rotate(-8deg); }
}

/* ─── Cooldown Text Content ─── */
.cooldown-content {
  flex: 1;
  min-width: 0;
}

.cooldown-title {
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 4px;
  line-height: 1.3;
}

.dark .cooldown-title { color: #f87171; }

.cooldown-msg {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.55;
}

.dark .cooldown-msg { color: rgba(255,255,255,0.5); }

/* ─── Countdown Timer Chip ─── */
.cooldown-timer-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.cooldown-timer-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dark .cooldown-timer-label { color: rgba(255,255,255,0.35); }

.cooldown-timer-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 999px;
  font-family: 'Outfit', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
  letter-spacing: 0.06em;
  animation: timerBlink 1s ease-in-out infinite;
}

.dark .cooldown-timer-chip {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.3);
  color: #f87171;
}

@keyframes timerBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.65; }
}

/* ─── Cooldown Banner spacing adjustments ─── */
.enroll-modal .enroll-cooldown-banner + .enroll-body {
  padding-top: 16px;
}

@media (max-width: 560px) {
  .enroll-cooldown-banner {
    margin: 0 20px;
    padding: 14px 16px;
    gap: 10px;
  }

  .cooldown-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}
