input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: black !important;
}

.academic-popup-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(33, 33, 33, 0.20);
    backdrop-filter: blur(5.5px);
    z-index: 1000;

}


/* CROSSS BUTTON------------------> */

svg.academic-popup-close-btn {
    position: absolute;
    top: 20px;
    cursor: pointer;
    right: 18px;
}

.academic-popup-close-btn {
    cursor: pointer;
}

/* .academic-popup-close-btn path {
    transition: fill 0.3s ease;
}

.academic-popup-close-btn:hover path {
    fill: red;
} */


/* POPUP SUCCESS MESSAGE-----------------> */



.academic-popup-success-message {
    position: fixed;
    bottom: 40px;
    width: 100%;

    justify-content: center;
    z-index: 1001;
    margin: 0;
    height: 72px;
}

.academic-popup-success-message-container {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 27px 26px;
    border-radius: 7px;
    background: #666666;
}

.academic-popup-success-message-container>p {
    color: #FFFFFF;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}



/* POP UP-------------> */



.academic-popup {
    position: fixed;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    top: 50%;
    left: 50%;
    max-width: 582px;
    width: 100%;
    border-radius: 14px;
    background-color: #ffffff;
    margin: 0;
    transform: translate(-50%, -50%);
    padding: 30px 28px;
    height: 600px;
}

.academic-popup-steps {
    display: flex;
    margin: 30px 0px 15px 0px;
    align-items: center;
    justify-content: center;
    gap: 35px;
    width: 100%;
}


.select-solution-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 104;
}

.count-select-solution {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter;
    font-size: 17px;
    font-weight: 500;
}


.select-solution-line {
    height: 2px;
    width: 150px;
    background: #C9C9C9;
    z-index: 103;
    position: absolute;
    top: 75px;
    left: 220px;
    transition: background-color 0.5s ease;
}

.select-solution-line.active {
    background: #0077ff;
    animation: fillLine 0.5s ease forwards;
}

.count-select-solution.active {
    background: linear-gradient(141deg, #07F 14.36%, #BADAFF 86.44%);
    color: #FFF;
    color: #ffffff;
}

.count-select-solution.inactive {
    border: 1px solid #C9C9C9;
    color: #C9C9C9;
    background-color: white;
}

.select-solution-text {
    color: #212121;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.select-solution-text.active {
    color: #212121;
}

.select-solution-text.inactive {
    color: #C9C9C9;
}


.academic-popup-header-heading>h4 {
    color: #212121;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 8px;
}

.academic-popup-header-subheading>p {
    color: #9E9E9E;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.08px;
    margin: 0;
    margin-top: 12px;
}


.academic-popup-form-section-heading>h4 {
    color: #212121;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-top: 24px;
}


.academic-popup-form-buttons-container {
    margin-top: 16px;
    height: 100%;
}


.academic-popup-form-buttons-container>ul {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 14px;
    list-style: none;
    padding: 0 5px;
}

.academic-popup-form-section {
    margin-top: 20px;
}

.academic-popup-form-buttons-container>ul>li {
    border-radius: 24px;
    border: 1px solid #9E9E9E;
    width: 250px;
    height: 47px;
    text-align: center;
    color: #9E9E9E;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.academic-popup-form-buttons-container>ul>li.active {
    color: #0077ff;
    border-radius: 24px;
    border: 1px solid #0077ff;
}

.academic-popup-button-step1 {
    display: flex;
    justify-content: center;
    width: 100%;

}


.academic-popup-button-step1>input {
    border-radius: 5px;
    background: #666666;
    width: 450px;
    padding: 18px 25px;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: not-allowed;
    border: none;
}

.academic-popup-button-step1>input.active {
    background-color: #0077ff;
    cursor: pointer;
}


/* --------------2nd STEP STYLE--------------------------- */

.error {
    color: red;
    font-size: 10px !important;
    font-weight: 400;
    font-family: 'Inter';
    text-align: start;
    margin-bottom: 6px !important;
    margin-left: 0px !important;
}


.academic-popup-form-step2 {
    margin-top: 18px;
    height: 100%;
    min-height: 190px;
    max-height: 190px;
    padding-bottom: 2px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #0077ff transparent;
}

/* For WebKit browsers (Chrome, Safari, Edge) */
.academic-popup-form-step2::-webkit-scrollbar {
    width: 6px;
    /* Width of the scrollbar */
}

.academic-popup-form-step2::-webkit-scrollbar-track {
    background: transparent;
    /* Background color of the scrollbar track */
}

.academic-popup-form-step2::-webkit-scrollbar-thumb {
    background-color: #0077ff;
    /* Scrollbar thumb color */
    border-radius: 4px;
    /* Rounded corners for the scrollbar thumb */
}

.academic-popup-form-name-phone {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: start;
    width: 98%;
}


.academic-pop-up-form-name>label,
.academic-pop-up-form-phone>label,
.academic-pop-up-form-email>label,
.academic-pop-up-form-select>label,
.academic-pop-up-query>label {
    color: #666666;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.academic-pop-up-form-name,
.academic-pop-up-form-phone,
.academic-pop-up-form-email,
.academic-pop-up-form-select,
.academic-pop-up-query {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: start;
    justify-content: start;
    width: 100%;
}

.academic-pop-up-form-email {
    margin-top: 2px;
}


.academic-pop-up-form-select>.input-container-svg>select {
    appearance: none;
    padding: 0;
    margin: 0;
}



.input-container-svg {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.input-container-svg>svg {
    position: absolute;
    right: 5%;
}

.academic-pop-up-form-name>input,
.academic-pop-up-form-phone>input,
.academic-pop-up-form-email>input,
.academic-pop-up-form-select>.input-container-svg>select,
.academic-pop-up-query>textarea {
    width: 97%;
    border-radius: 4px;
    border: 0.6px solid #DEDEDE;
    background: #ffffff;
    height: 45px;
    padding-left: 10px;
    padding-right: 6px;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 500;
    color: #212121;
}



.academic-pop-up-query>textarea {
    resize: none;
    padding-top: 2px;
    height: 55px;
}

input:focus,
.academic-pop-up-query>textarea:focus,
.academic-pop-up-form-select>.input-container-svg>select:focus {
    outline: none;
}

.academic-popup-button-step2 {
    justify-content: center;
    margin-top: 5px;
}

.academic-popup-button-step2>button {

    border-radius: 5px;
    background: #666666;
    width: 465px;
    padding: 18px 25px;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: not-allowed;
    border: none;
}

.academic-popup-button-step2>button.active {
    background-color: #0077ff;
    cursor: pointer;
}

.academic-popup-footer-step2 {
    width: 100%;
}

.academic-popup-footer-step2-subheading>p {
    color: #9E9E9E;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin: 0;
    margin-top: 8px;
}

.academic-popup-footer-step2-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}


@media screen and (max-width: 767px) {


    .academic-popup {
        height: 550px;
    }


    .academic-popup-form-step2 {
        min-height: 160px;
        max-height: 160px;
        height: 100%;
        padding-bottom: 3px;
        overflow-y: scroll;
        scrollbar-width: thin;
        /* For Firefox */
        scrollbar-color: #0077ff transparent;
        /* Thumb and track color for Firefox */
    }

    /* For WebKit browsers (Chrome, Safari, Edge) */
    .academic-popup-form-step2::-webkit-scrollbar {
        width: 8px;
        /* Width of the scrollbar */
    }

    .academic-popup-form-step2::-webkit-scrollbar-track {
        background: transparent;
        /* Background color of the scrollbar track */
    }

    .academic-popup-form-step2::-webkit-scrollbar-thumb {
        background-color: #0077ff;
        /* Scrollbar thumb color */
        border-radius: 4px;
        /* Rounded corners for the scrollbar thumb */
    }



    .academic-popup-form-buttons-container>ul {
        gap: 8px;
        min-height: 200px;
        max-height: 200px;
        height: 100%;
        overflow-y: scroll;
        scrollbar-width: thin;
        /* For Firefox */
        padding-bottom: 3px;
        scrollbar-color: #0077ff transparent;
        /* Thumb and track color for Firefox */
    }

    /* For WebKit browsers (Chrome, Safari, Edge) */
    .academic-popup-form-buttons-container>ul::-webkit-scrollbar {
        width: 8px;
        /* Width of the scrollbar */
    }

    .academic-popup-form-buttons-container>ul::-webkit-scrollbar-track {
        background: transparent;
        /* Background color of the scrollbar track */
    }

    .academic-popup-form-buttons-container>ul::-webkit-scrollbar-thumb {
        background-color: #0077ff;
        /* Scrollbar thumb color */
        border-radius: 4px;
        /* Rounded corners for the scrollbar thumb */
    }

    .academic-popup-header-heading>h4 {
        font-size: 18px;
    }

    .academic-popup-header-subheading>p {
        font-size: 14px;
    }

    .academic-popup-form-section-heading>h4 {
        font-size: 16px;
        margin-top: 18px;
    }

    .academic-popup-form-buttons-container>ul {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
    }

    .count-select-solution {
        height: 24px;
        width: 24px;
        font-size: 13px;
    }

    .select-solution-text {
        font-size: 14px;
    }

    .academic-popup-steps {
        margin: 20px 0px 6px 0px;
    }

    .academic-popup-form-buttons-container>ul>li {
        height: 40px;
        font-size: 12px;
        width: 98%;
        gap: 8px;
    }


    .academic-popup-button-step1>input,
    .academic-popup-button-step2>button {
        width: 283px;
        margin: auto;
        font-size: 14px;
        padding: 13px 12px;
    }



    .academic-popup-button-step1 {
        margin-top: 12px;
    }

    .academic-popup-close-btn {
        height: 20px;
        width: 20px;
    }

    .academic-popup {
        margin: auto 20px;
        max-width: 390px;
        padding: 16px;
        width: 100%;
        transform: translate(-56%, -50%);
        gap: 10px;
        height: 520px;
        justify-content: space-evenly;
    }

    .select-solution-line {
        top: 64px;
        left: 125px;
        font-weight: 400;
    }


    .select-solution-line.active {
        top: 58px;
    }


    .academic-pop-up-form-name>input,
    .academic-pop-up-form-phone>input,
    .academic-pop-up-form-email>input,
    .academic-pop-up-form-select>.input-container-svg>select,
    .academic-pop-up-query>textarea {
        font-size: 12px;
    }

    .academic-popup-form-section {
        margin-top: 8px;
    }

}


@media screen and (max-width: 450px) {
    .academic-popup {
        max-width: 90%;
        margin: auto 20px;
    }

    .select-solution-line,
    .select-solution-line.active {
        left: 127px;
    }

}


@media screen and (max-width: 430px) {

    .academic-popup {
        gap: 12px;
    }

    .academic-popup-form-step2 {
        min-height: 150px;
        max-height: 150px;
        height: 100%;
        overflow-y: scroll;
        scrollbar-width: thin;
        /* For Firefox */
        scrollbar-color: #0077ff transparent;
        /* Thumb and track color for Firefox */
    }

    .academic-popup {
        height: 485px;
        justify-content: space-between;
    }


    .select-solution-line,
    .select-solution-line.active {
        left: 122px;
        top: 47px;
    }

}

@media screen and (max-width: 415px) {
    .select-solution-line {
        left: 115px;
    }

    .select-solution-line.active {
        left: 115px;
    }
}

@media screen and (max-width: 400px) {
    .select-solution-line.active {
        left: 105px;
    }

    .select-solution-line {
        left: 105px;
    }
}

@media screen and (max-width: 390px) {


    .academic-popup-button-step2,
    .academic-popup-footer-step2 {
        margin-top: 12px;
    }

    .academic-popup-form-step2 {
        min-height: 145px;
        max-height: 145px;
    }

    .academic-popup {
        gap: 8px;
    }
}

@media screen and (max-width: 380px) {

    .academic-popup-button-step1>input,
    .academic-popup-button-step2>button {

        width: 220px;
        padding: 11px 12px;
    }

    .select-solution-line {
        left: 95px;
    }

    .academic-popup-steps {
        gap: 30px;
    }

    .select-solution-line {
        width: 145px;
    }
}

@media screen and (max-width: 380px) {

    .academic-popup-form-step2 {
        margin-top: 6px;
    }
}

@media screen and (max-width: 365px) {
    .academic-popup {
        height: 500px;
    }

    .academic-pop-up-button-step2>input {
        padding: 14px 12px;
    }

    .academic-popup-form-buttons-container>ul {
        min-height: 175px;
        max-height: 175px;
    }
}

@media screen and (max-width: 360px) {

    .select-solution-line.active,
    .select-solution-line {
        left: 90px;
    }
}

/* -----------------------STEP-2 FORM------------------------- */


@media screen and (max-width: 767px) {


    .academic-pop-up-form-name>label,
    .academic-pop-up-form-phone>label,
    .academic-pop-up-form-email>label,
    .academic-pop-up-form-select>label,
    .academic-pop-up-query>label {
        font-size: 12px;
    }

    .academic-pop-up-form-name>input,
    .academic-pop-up-form-phone>input,
    .academic-pop-up-form-email>input,
    .academic-pop-up-form-select>.input-container-svg>select,
    .academic-pop-up-query>textarea {
        height: 36px;
    }

    .academic-pop-up-query>textarea {
        height: 40px;
    }

    .count-select-solution>svg {
        height: 11px;
        width: 12px;
    }

    .academic-popup-footer-step2-subheading>p {
        font-size: 14px;
        margin-top: 0px;
    }

    .step2-icon>a>svg {
        width: 35px;
        height: 35px;
    }

    .academic-popup-footer-step2-icons {
        margin-top: 14px;
    }

    .academic-popup-form-name-phone {
        flex-direction: column;
        gap: 2px;
        width: 100%;
    }

    .academic-pop-up-form-name,
    .academic-pop-up-form-phone,
    .academic-pop-up-form-email,
    .academic-pop-up-form-select,
    .academic-pop-up-query>textarea {
        gap: 4px;
    }

}


/* ------------------SUCCESS MESSAGE RESPONSIVENESS------------------------------- */


@media screen and (max-width: 620px) {

    .academic-popup-success-message-container>p {
        font-size: 14px;
        text-align: start;
    }

    .academic-popup-success-message-container>svg {
        width: 24px;
        height: 24px;
    }

    .academic-popup-success-message {
        height: auto;
    }

    .academic-popup-success-message-container {
        padding: 14px 18px;
    }

    .input-container-svg>svg {
        width: 8px;
    }

}

@media screen and (max-width: 440px) {

    .academic-popup-success-message-container>p {
        font-size: 12px;
    }

}

@media screen and (max-width: 390px) {
    .academic-popup-success-message-container {
        width: 88%;
        margin: auto;
        align-items: start;
    }
}