/* public/assets/css/seo_pages/seo_register_modal.css */

#seoRegisterModal {
    display: none;
}

.seo-register-modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    overflow: hidden;
    z-index: 9999;
}

.seo-register-modal::before {
    content: "";
    display: block;
    width: 100vw;
    height: 100vh;
    border-radius: 1440px;
    background: rgba(0, 0, 0, 0.671);
    filter: blur(298px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.register_modal-content {
    background-color: #fefefe;
    width: 60vw;
    max-width: 920px;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2rem;
}

.close {
    color: #000000;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 223;

    width: 10px;
    height: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 0, 0, 0.288);
    padding: 1rem;
    border-radius: 50%;
}


.modal-body {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 1rem;
    min-height: 60vh;
    height: max-content;
    max-height: 90vh;
}

.modal_body_left {
    background-image: url("../../../assets/img/seo_pages/images/intrestGraphic.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    min-height: 100%;
}

.modal_body_right {
    padding: 2.5rem;
    position: relative;
}

.form-group {
    margin-bottom: 15px;
}


#studentName {
    background: url("https://www.sparkl.ac/assets/img/icons/profile.svg") no-repeat scroll 0px 5px;
    padding-left: 28px;
}


#email {
    background: url("https://www.sparkl.ac/assets/img/icons/sms.svg") no-repeat scroll 0px 5px;
    padding-left: 28px;
}



.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    outline: none;
    border: none;
    border-bottom: 1px solid #E9EBEC;
    margin-bottom: 0rem;
}

.register_form_heading {
    width: 60%;
    margin-bottom: 1.5rem;

}

#sendOtpBtn,
#verifyOtpBtn {
    border-radius: 12px;
    background: var(--Button-Gradient, linear-gradient(0deg, #F9C935 0%, #FFDA57 100%));
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: fit-content;
    margin-left: auto;
    display: flex;
    justify-self: flex-end;

    color: var(--Neutral-Black, #1A1A1A);
    text-align: center;

    /* Button/Medium */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 125% */
    letter-spacing: -0.08px;

    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
}

#sendOtpBtn:hover,
#verifyOtpBtn:hover {
    background-color: #e0a800;
}

.otp-inputfields {
    display: flex;
    justify-content: space-evenly;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    color: var(--Neutral-Black, #1A1A1A);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -0.24px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.otp-input:focus {
    border-color: #4F4F4F;
}

.error-text {
    color: red;
    margin-top: 5px;
    padding-left: 0 !important;
}


/* ======================================================================== */

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.3rem 0 0.5rem 0;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #E9EBEC;
    outline: none;
    margin-bottom: 0rem;


}

.form-group select {
    cursor: pointer;
}

/* ================== */

input:-moz-autofill,
select:-moz-autofill {
    background-color: transparent !important;
    color: #000 !important;
    box-shadow: 0 0 0px 1000px transparent inset !important;
}


/* Autofill styles for inputs */
input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
    background-color: transparent !important;
    /* reset yellow autofill */
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    box-shadow: 0 0 0px 1000px transparent inset !important;
    /* force background */
    transition: background-color 5000s ease-in-out 0s;
    /* avoid flicker */
}

/* Optional: focus state when autofilled */
input:-webkit-autofill:focus,
select:-webkit-autofill:focus,
textarea:-webkit-autofill:focus {
    border-color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

/* intl-tel-input styles */
.iti {
    width: 100%;
}

.iti__flag-container {
    border-bottom: 1px solid #E9EBEC;
}

.iti__selected-flag {
    padding: 0.3rem 0 0.5rem 0;
    border-bottom: 1px solid #E9EBEC;
    z-index: 1;
}

.iti__country-list {
    z-index: 10000;
}

#mobile {
    padding-left: 80px !important;
    /* Adjust based on flag container width */
}


/* Button Loader Styles */
.button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.circular-loader {
    animation: rotate 2s linear infinite;
    height: 100%;
    width: 100%;
    transform-origin: center center;
}

.loader-path {
    stroke-dasharray: 125.664;
    /* 2 * π * r where r = 20 */
    stroke-dashoffset: 62.832;
    /* 50% of stroke-dasharray */
    stroke: #1A1A1A;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 125.664;
    }

    50% {
        stroke-dashoffset: 62.832;
        transform: rotate(180deg);
    }

    100% {
        stroke-dashoffset: 125.664;
        transform: rotate(360deg);
    }
}

.verification-description_modal {
    color: var(--Neutral-Dark-Grey, #4F4F4F);

    /* Heading H8- 16px/Regular */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
    letter-spacing: -0.16px;

    width: 70%;
}

/* Change button styles */
.change-btn {
    color: #008578;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
}

.change-btn:hover {
    color: #03645b;
}

/* OTP Timer Container - Position at bottom left */
.otp-timer-container {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

#resend-button {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    border: none;
    background: none;
    color: #008578;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

#resend-button:hover {
    color: #03645b;
}

#resend-button:disabled {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: none;
}