.quest-popup{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 9;
    top: 0;
    display: none;
}


ul.countryList li a{
    color:black;
}

ul.countryList li:hover {
    background-color: #265999;
}

ul.countryList li:hover a{
   color:white;
}

ul.countryList::-webkit-scrollbar {
  width: 10px;
}

/* Track */
ul.countryList::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
ul.countryList::-webkit-scrollbar-thumb {
  background: #4372ad; 
}

/* Handle on hover */
ul.countryList::-webkit-scrollbar-thumb:hover {
  background: #265999; 
}

ul.countryList {
    background-color: #daebff;
}

.quest-popup.highlight{
    display: block;
} 

.quest-popup h3{
    font-family: 'Barlow';
    font-size: 24px;
}

.quest-popup h5{
    font-size: 18px;
    padding: 10px 0 20px 0;
    color: #6e6e6e;
    font-weight: 400;
}

.slno {
    min-height: 52px;
    max-width: 52px;
    max-height: 52px;
    min-width: 52px;
    border-radius: 32px;
    background: #DAEBFF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
    font-family: 'Barlow';
    font-size: 24px;

}

.main-question{
    margin-top: 13px;
    margin-bottom: 30px;
}


.nextSlide{
    border: none;
    display: flex;
    align-items: center;
    background: #265999;
    border-radius: 4px;
    padding: 8px 25px;
    transition: all ease 1s;
    color: white;
}


.quest-popup .slick-next  {
    width: 84px;
    height: 60px;
    border-radius: 44px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed;
    /* color: #265999; */
    /* border: 2px solid #265999;*/
    bottom: 25px;
    right: 100px;
    top:unset;
    cursor:pointer;
}

.quest-popup .slick-next  span{
    display:none;
}

.quest-popup .ques-sec {
    min-height: calc(75vh - 100px);
}

.quest-popup .slick-list {
    height: calc(75vh - 100px) !important;
}

.quest-popup .form-slider-wrapper{
    margin-top: 25vh;
}



.quest-popup .slick-prev  {
    width: 84px;
    height: 60px;
    border-radius: 44px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed;
    /* color: #265999; */
    /* border: 2px solid #265999;*/
    bottom: 25px;
    right: 43px;
    top:unset;
    cursor:pointer;
}

.slick-next.slick-disabled {
    opacity: .5;
    pointer-events: none;
    cursor: not-allowed;
}

.slick-prev.slick-disabled {
    opacity: .5;
    pointer-events: none; /* This makes the element unclickable */
    cursor: not-allowed; /* This changes the cursor to indicate it's not clickable */
}

.quest-popup .slick-prev  span{
    display:none;
}


.quest-popup .slick-prev {
    left: unset;
}

.quest-popup .slick-next:before {
    content: '';
    background-image: url(img/round-arrow.svg);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}

.quest-popup .slick-prev:before {
    content: '';
    background-image: url(img/round-arrow.svg);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}

.quest-popup .radio-group {
    display: flex;
    gap: 10px;
}

.quest-popup .custom-radio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    transition: background-color 0.3s ease;
    overflow: hidden;
    margin-bottom: 10px;
}

.quest-popup .custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.quest-popup .custom-radio .checkmark {
    display: none;
    margin-left: 10px;
    color: black;
}

.quest-popup .custom-radio .text {
    flex-grow: 1;
}

.quest-popup .custom-radio input[type="radio"]:checked ~ .text {
    color: #000;
}

.quest-popup .custom-radio input[type="radio"]:checked ~ .text::after {
    content: "";
    background: #005ac426;
    display: block;
    position: absolute;
    width: 100%;
    height: 45px;
    top: 0;
    left: 0;
    z-index: 0;
}

.quest-popup .custom-radio input[type="radio"]:checked ~ .checkmark {
    display: inline-block;
}

.quest-popup .custom-radio input[type="radio"]:checked ~ .text {
    color: #000;
}

.quest-popup input[type="text"],.quest-popup input[type="email"] {

    font-size: 24px;
    border: none;
    border-bottom: 1px solid black;
    color: #959595;

}

.quest-popup input[type="text"]::placeholder,.quest-popup input[type="email"]::placeholder {
    color: #bdbdbd;
    text-transform: capitalize;
    font-size: 18px;
}


.quest-popup input[type="text"]::placeholder,.quest-popup input[type="email"]::placeholder {
    color: #bdbdbd;
    text-transform: capitalize;
    font-size: 18px;
}

.quest-popup  input.spl[type="text"]::placeholder {
    color: #bdbdbd;
    text-transform: lowercase;
    font-size: 18px;
}


.quest-popup  textarea[type="text"]::placeholder {
    color: #bdbdbd;
    text-transform: capitalize;
    font-size: 18px;
}

.quest-popup input[type="text"]:focus,.quest-popup input[type="email"]:focus{
     border-bottom: 2px solid #265999;
     outline: none;
}

.quest-popup  textarea[type="text"] {

    font-size: 24px;
    border: none;
    border-bottom: 1px solid black;
    color: #959595;

}

.quest-popup textarea[type="text"]:focus{
     border-bottom: 2px solid #265999;
     outline: none;
}


.quest-popup .popup-close{
    position: fixed;
    top: 25px;
    right: 25px;
}

.quest-popup .popup-close span{
    /* background: #265999; */
    color: #265999;
    padding: 14px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
}

/*****************validation**********************/
.error {
    border: 2px solid red;
}
.val-error {
    display: none;
}
/*****************validation**********************/
#response p{
    color: #265999;
    font-weight: bold;
}
.existing-no{
    display: none;
}
/*****************country list**********************/
ul.countryList {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    display: none; /* Hide the list initially */
    box-shadow: 0 4px 16px #584f4f1c;
}
ul.countryList li {
    padding: 8px;
    cursor: pointer;
}

@media (max-width:768px) {


    .quest-popup .popup-close{
        position: fixed;
        top: 0;
        right: 0;
    }

    

    .ques-sec .d-flex{
        flex-direction: column;
    }

    .quest-popup .ques-sec {
        min-height: calc(90vh - 100px);
    }
    
    .quest-popup .slick-list {
        height: calc(90vh - 100px) !important;
    }

    .quest-popup .form-slider-wrapper{
        margin-top: 10vh;
    }

    

}

@media (max-width:576px) {

    .quest-popup .radio-group {
        max-height: calc(45vh - 100px);
        overflow: scroll;
    }

    .quest-popup h3 {
        font-family: 'Barlow';
        font-size: 20px;
    }

    .quest-popup .form-slider-wrapper{
        margin-top: 50px;
    }

    
    .quest-popup .ques-sec {
        min-height: calc(100vh - 150px);
    }
    
    .quest-popup .slick-list {
        height: calc(100vh - 150px) !important;
    }

}