html {
  scroll-behavior: smooth;
}
/* Registration Plan Card & Billing styling */
:not(.dark) .reg-plan-card {
  border: 2px solid #e2e8f0 !important;
  background-color: #ffffff !important;
}
:not(.dark) .reg-plan-card.selected {
  border-color: #6366f1 !important;
  background-color: rgba(99, 102, 241, 0.08) !important;
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2), 0 4px 6px -4px rgba(99, 102, 241, 0.2) !important;
}
.dark .reg-plan-card {
  border: 2px solid #222f44 !important;
  background-color: #131a26 !important;
}
.dark .reg-plan-card.selected {
  border-color: #818cf8 !important;
  background-color: rgba(129, 140, 248, 0.08) !important;
  box-shadow: 0 10px 15px -3px rgba(129, 140, 248, 0.3), 0 4px 6px -4px rgba(129, 140, 248, 0.3) !important;
}
:not(.dark) #reg-plan-card-0 {
  border: 2px solid #fee2e2 !important;
}
:not(.dark) #reg-plan-card-0.promo-off {
  border: 2px solid #e2e8f0 !important;
}
:not(.dark) #reg-plan-card-0.selected {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.08) !important;
  box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.2), 0 4px 6px -4px rgba(239, 68, 68, 0.2) !important;
}
:not(.dark) #reg-plan-card-0.promo-off.selected {
  border-color: #6366f1 !important;
  background-color: rgba(99, 102, 241, 0.08) !important;
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2), 0 4px 6px -4px rgba(99, 102, 241, 0.2) !important;
}
.dark #reg-plan-card-0 {
  border: 2px solid #450a0a !important;
}
.dark #reg-plan-card-0.promo-off {
  border: 2px solid #222f44 !important;
}
.dark #reg-plan-card-0.selected {
  border-color: #f87171 !important;
  background-color: rgba(248, 113, 113, 0.08) !important;
  box-shadow: 0 10px 15px -3px rgba(248, 113, 113, 0.3), 0 4px 6px -4px rgba(248, 113, 113, 0.3) !important;
}
.dark #reg-plan-card-0.promo-off.selected {
  border-color: #818cf8 !important;
  background-color: rgba(129, 140, 248, 0.08) !important;
  box-shadow: 0 10px 15px -3px rgba(129, 140, 248, 0.3), 0 4px 6px -4px rgba(129, 140, 248, 0.3) !important;
}
#reg-plan-card-0.selected .corner-ribbon {
  display: none !important;
}
/* Progress bar transitions */
.progress-bar-fill {
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom slider track filled styling */
input[type="range"].custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  outline: none;
  background: #e2e8f0;
  background-image: linear-gradient(to right, #6366f1 0%, #6366f1 var(--value-percent, 50%), #e2e8f0 var(--value-percent, 50%), #e2e8f0 100%);
  transition: transform 0.1s ease;
}

.dark input[type="range"].custom-slider {
  background: #1e293b;
  background-image: linear-gradient(to right, #818cf8 0%, #818cf8 var(--value-percent, 50%), #1e293b var(--value-percent, 50%), #1e293b 100%);
}

input[type="range"].custom-slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

input[type="range"].custom-slider::-moz-range-track {
  box-shadow: none;
  border: none;
  background: transparent;
}

input[type="range"].custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease-in-out, background-color 0.15s;
}

.dark input[type="range"].custom-slider::-webkit-slider-thumb {
  background: #818cf8;
  border-color: #0b0f19;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.6);
}

input[type="range"].custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: #4f46e5;
}

.dark input[type="range"].custom-slider::-webkit-slider-thumb:hover {
  background: #6366f1;
}

input[type="range"].custom-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease-in-out, background-color 0.15s;
}

.dark input[type="range"].custom-slider::-moz-range-thumb {
  background: #818cf8;
  border-color: #0b0f19;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.6);
}

input[type="range"].custom-slider::-moz-range-thumb:hover {
  transform: scale(1.25);
  background: #4f46e5;
}
