/* ==========================================================================
   Manulife Insurance Planning - Custom Styles
   ========================================================================== */

/* Custom Range Slider Thumb & Track */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #00A75D;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 167, 93, 0.45);
  margin-top: -8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(0, 167, 93, 0.65);
}

input[type="range"]::-moz-range-thumb {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #00A75D;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 12px rgba(0, 167, 93, 0.45);
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
}

/* Custom Radio Checked State */
.custom-radio:checked + label {
  border-color: #00A75D;
  background-color: #ecfdf5;
  color: #00843D;
  font-weight: 700;
}

/* Modal Smooth Transitions */
#success-modal {
  transition: opacity 0.25s ease-out;
}

#modal-box {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out;
}
