@import url('https://fonts.googleapis.com/css?family=Noto+Serif|Open+Sans:300,400');

/* di calc styles */
.di-calc .big{
    font-size:30px;
    font-weight:700;
    color: #002d73;
    padding: 0 2px;
}
.di-calc .topPrice{
  padding-bottom: 8px;
  line-height: 40px;
}
.di-calc .btn br{
  border-bottom: 1px solid black;
  display: block;
  content: "";
  margin-bottom: 8px;
}

.di-calc .slidervalue {
    font-size:28px;
    font-weight:700;
    position:absolute;
    right:40px;
    margin-top:-38px;
}

.di-calc label{
    font-size:20px;
    font-weight: 600;
    width: 100%;
}

.di-calc .slidervalue:before{
    content:'$';
}

.di-calc .ui-widget-header{
    background: #61ccdc;
}

.di-calc .ui-slider{
    margin-bottom:30px;
}

.di-calc .sliderprompt{
    display:block!important;
    font-size: 20px;
    color: #333;
     margin: 4px 0 12px;
}

.di-calc .slidervalue.no_currency:before{
	content:"";
}
.ltd-choice-btn .btn{
    white-space:normal;
    margin-bottom:10px;
    border-radius: 4px;
    font-weight: 600;
    color: #000;
    background-color: #e3f2f4;
    background-image: none;
    border-color: #999;
    display: block;
    padding:  6px 16px;
    font-size: 16px;

}
.ltd-choice-btn .btn:hover{
    background-color:#a4d2d8;
}

.di-calc .answer{
	margin-top: -58px;
}
/* journey beautification below this point*/

/* padding spacing*/
.ltd-calculator {
	color: #333;
	line-height: 1.5em;
}

.ltd-calculator h1{
	color: #333;
	line-height: 1.5em;
}
.ltd-calculator h6{
margin-bottom: 0;
}
.well-left label{
    margin-top: -4px;
}
.no_currency{
    display: none;
}
@media (min-width: 480px) {
.no_currency{
    display: inline-block;
}

@media(max-width: 400px){
     .navbar .navbar-brand img{
        width: 130px;
        height: auto;
    }
}

/* Big screen: 1200px to 1500px */
@media (min-width: 1200px) and (max-width: 1500px) {
  .customize__header {
    padding: 15px 50px;
  }

  .total__rate {
    padding: 0 70px 18px;
  }

  .total__monthly__rate {
    padding: 18px 70px;
  }

  .card {
    flex: 0 0 calc(33.33% - 15px);
  }
}

/* Normal screen: 992px to 1200px */
@media (min-width: 992px) and (max-width: 1200px) {
  .customize__header {
    padding: 15px 40px;
  }

  .total__rate {
    padding: 0 60px 18px;
  }

  .total__monthly__rate {
    padding: 18px 60px;
  }

  .card {
    flex: 0 0 calc(33.33% - 10px);
  }

  .hero__thumb {
    right: 90px;
    width: 450px;
  }
  .hero__area__wrapper {
    padding: 60px 0px 60px 80px;
  }
  .hero__wrapper__content h1 {
    font-size: 24px;
    line-height: 34px;
  }
  .hero__thumb {
    width: 430px;
  }
}

/* Tablet screen: 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .customize__header {
    padding: 15px 30px;
  }

  .total__rate {
    padding: 0 50px 18px;
  }

  .total__monthly__rate {
    padding: 18px 50px;
  }

  .btn.btn-outline-light,
  .btn.btn-fill {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .card {
    flex: 0 0 calc(50% - 10px);
  }

  .hero__wrapper__content h1 {
    color: var(--dark_blue);
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-top: 16px;
  }
  .hero__thumb {
    right: 70px;
    width: 350px;
  }
  .hero__area__wrapper {
    padding: 50px 0px;
  }
  .form__area {
    padding: 30px 0;
  }

  .input__field.income label,
  .input__field.dob label {
    font-size: 12px;
  }
  .footer__menu {
    gap: 20px;
  }
}

/* Small screen: under 768px */
@media (max-width: 767px) {
  .btn.btn-outline-light,
  .coverage__amount,
  .btn.btn-fill {
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

/* Adjustments for focus styles */
.productField input[type="radio"]:focus + label,
input[type=file]:focus, 
input[type=checkbox]:focus, 
input[type=radio]:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.productField input[type="radio"]:focus + label {
  border: 2px solid #005fcc !important; 
  padding: 5px;
  border-radius: 0;
}

.productField input[type="radio"]:focus + label {
  border: 2px solid #1D2A4C;
}

/* Responsive Stepper CSS */
.responsive-stepper {
    display: none; 
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 992px) {

    .original-stepper {
        display: none;
    }
    .responsive-stepper {
        display: flex; 
    }

    .responsive-stepper h3 {
        font-size: 16px;
        color: var(--dark_blue);
        margin-bottom: 10px;
    }

    .responsive-stepper span {
        font-size: 14px;
        color: #333;
    }
}

@media (min-width: 768px) and (max-width: 992px) {

    .responsive-stepper h3 {
        font-size: 18px; 
    }

    .responsive-stepper span {
        font-size: 16px; 
    }
}

@media (max-width: 767px) {
    .form__navigation,
    .responsive-stepper {
        display: none;
    }
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.card-label {
  font-size: 16px;
  font-weight: bold;
}

/* Large Mobile screen: 480px to 767px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .container {width:450px}
}
/* Default to hidden */
.health-questions {
    display: none;
}

/* Show on responsive devices (example: devices with width less than 768px) */
@media (max-width: 767px) {
    .health-questions {
        display: inline;
    }
}

@media screen and (max-width: 768px) {
  .center-mobile {
    text-align: center !important;
  }
}
/* .fixed-bottom {
    position: relative !important;
}

@media (max-width: 768px) {
    .fixed-bottom {
        position: relative !important;
    }
} */


/* SLIDER START */
/* Overrides Jquery CSS */
.ui-widget-content,
.ui-slider .ui-slider-handle.ui-state-default,
.ui-widget-content .ui-slider-handle.ui-state-default,
.ui-widget-header .ui-slider-handle.ui-state-default {
    background: #767676 !important;
    border: none !important;
    border-radius: 4px !important; 
    height: 8px !important;
    cursor: pointer !important;
    font-weight: normal !important;
    color: inherit !important;
}

/* Slider container */
.ui-slider.ui-widget-content {
    position: relative;
    text-align: left;
    margin: 20px 0 !important;
    height: 8px !important;
    cursor: pointer;
    background: #404040 !important;
    width: 100% !important;
}

/* Slider track */
.ui-slider .ui-slider-track {
    position: relative;
    border: none;
    background: #404040 !important;
    height: 8px !important;
    border-radius: 4px !important; 
    margin: 10px 0 !important;
    overflow: hidden;
    cursor: pointer;
}

/* Slider range (filled part) */
.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    display: block;
    border: none;
    background: #1262d3 !important;
    top: 0;
    height: 100%;
    border-radius: 4px !important; 
}

/* Slider handle */
.ui-slider .ui-slider-handle,
.ui-slider .ui-slider-handle.ui-state-default,
.ui-widget-content .ui-slider-handle.ui-state-default,
.ui-widget-header .ui-slider-handle.ui-state-default {
    position: absolute !important;
    z-index: 2;
    width: 28px !important;
    height: 28px !important;
    cursor: grab !important;
    background: #00366b !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    top: 50% !important;
    margin-top: -14px !important;
    margin-left: -14px !important;
    transition: all 0.2s ease, transform 0.1s ease;
    font-weight: normal !important;
    color: inherit !important;
    box-sizing: border-box !important;
}

/* Glow effect */
.ui-slider .ui-slider-handle:before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: radial-gradient(circle, rgba(21, 112, 239, 0.4) 0%, rgba(21, 112, 239, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Pulsing effect on hover */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(21, 112, 239, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(21, 112, 239, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(21, 112, 239, 0);
    }
}

/* Hover effect for handle */
.ui-slider .ui-slider-handle:hover,
.ui-slider .ui-slider-handle.ui-state-hover {
    background: #1262d3 !important;
    animation: pulse 1.5s infinite;
}

/* Active effect for handle */
.ui-slider .ui-slider-handle.ui-state-active {
    background: #0F51A7 !important;
    transform: scale(1.2);
    cursor: grabbing !important;
}

.ui-slider .ui-slider-handle.ui-state-active:before {
    opacity: 1;
}

/* Hover effect for track */
.ui-slider:hover .ui-slider-track {
    background: #1262d3 !important;
}

/* Hover effect for range */
.ui-slider:hover .ui-slider-range {
    background: #1262d3 !important;
}

/* Focus styles for accessibility */
.ui-slider:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.8); /* Higher contrast focus ring */
    outline: none !important;
}

/* Remove outline on active/focus state */
.ui-slider .ui-slider-handle:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 150, 255, 1); /* High contrast focus on handle */
}

/* Magnetic snap effect */
@keyframes snap {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.ui-slider .ui-slider-handle.snap {
    animation: snap 0.3s ease-out;
}

/* Ensure consistent sizing across all devices */
@media screen and (max-width: 1200px) {
    .ui-slider.ui-widget-content,
    .ui-slider .ui-slider-track {
        width: 100% !important;
        height: 8px !important;
        border-radius: 4px !important;
    }

    .ui-slider .ui-slider-handle {
        width: 28px !important;
        height: 28px !important;
        top: 50% !important;
        margin-top: -14px !important;
        margin-left: -14px !important;
        border: 2px solid white !important;
    }
}
/* SLIDER END */

