@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    max-width: 100%; 
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 400;
  }



:root {
    --primary-Bg : rgb(255, 255, 255);
    --primary-color: rgb(6, 26, 33);
    --max-width: 1440px;
}



body {
    background-color: var(--primary-Bg);
    color : var(--primary-color);
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    min-width: 100vw;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* height: 100vh; */
    padding: 1rem;
    /* max-width: var(--max-width); */
    /* margin: auto; */
    gap: 32px;
}

.hero_verify {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.verify_mail_container {
    position: relative;
    background-color: rgb(183, 203, 208);
    border: 10px solid var(--Color-Styles-Primary-primary-50, #E8EEF0);
    border-radius: 28px;
    width: 56px;
    height: 56px;
}

/* loading page for student sign up style */
.loading-rotation {
    animation: spin 2s linear infinite; /* Here we set animation name to spin which is used below @keyframes */
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-container {
    width: 80%;
    background-color: rgb(232, 238, 240);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar {
    width: 0;
    height: 10px;
    background-color: rgb(23, 86, 104);
    animation: fill 3s forwards;
}

@keyframes fill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.stopped-spinning {
    animation: none; /* This is a style that removes animation from any previously animated element  */
}     



/* student_sign_up_done styles */
.set-begin {
    color: #5D6679;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.408px;
}

.set-begin > span {
    color: var(--Key-Colors-Primary, #175668);
    font-family: 'Montserrat';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.408px;    
}

.student-sign-up-done-button {
    color: white;
    padding: 12px 20px;
    justify-content: center;
    /* align-items: center; */
    align-self: stretch;
    width: 400px;
    border-radius: 40px;
    border: none;
    background: #175668;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.408px;
    cursor: pointer;
}

.password-reset-done-button {
    color: white;
    padding: 12px 20px;
    justify-content: center;
    /* align-items: center; */
    align-self: stretch;
    width: 300px ;
    border-radius: 40px;
    border: none;
    background: #175668;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.408px;
    cursor: pointer;
}

.all-set-p {
    display: flex;
    flex-direction: column;
    gap: 12px;
}








/*emial; verify continued*/

.verify_mail_img {
    position: absolute;
    padding: 8px;
    color: rgba(23, 86, 104, 1);
}

.title {
    font-family: 'Gilroy';
    font-size: 32px ;
    text-align: center;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.408px;
}

.begin {
    color: var(--Color-Styles-Grey-grey-600, #5D6679);
    font-family: "Montserrat";
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.408px;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    align-self: stretch;
    gap: 6px;
}

.otp-wrap {
    position: relative;
}

.otp-wrap input {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 5px;
    border: 2px solid ccc;
    padding: 0;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Gray-50, #F9FAFB);
    transition: border-color 0.3s;

}

.otp-wrap input:focus {
    border: 0.5px solid rgb(148, 177, 186);
    box-shadow: 0 0 5px rgb(232, 238, 240);
    outline: none;
    transform: scale(1.05);
}

.otp-wrap input.filled {
    border: 1px solid var(--Color-Styles-Primary-primary-200, #94B1BA);

}

.otp-wrap .asterisk {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    pointer-events: none;
    font-size: 48px;
    font-family: 'inter';
    font-weight: 500;
    font-style: normal;
    user-select: none;
    transition: opacity 0.3s;
}

.otp-wrap .asterisk.hide {
    opacity: 0;
    visibility: hidden;
  }

.wrap-input {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  

.verify-button {
    padding: 12px 20px;
    font-size: 1rem;
    cursor: not-allowed;
    transition: background-color 0.3s;
    width: 100%;
    /* max-width: 350px; */
    border: none;
    border-radius: 40px;
    background: var(--Color-Styles-Primary-primary-50, #E8EEF0);
    color: var(--Color-Styles-Grey-grey-300, #989FAD);
    font-family: 'Gilroy';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.408px;
}

.verify-button.active {
    background-color: rgb(23, 86, 104);
    color: white;
    cursor: pointer;
}


.not-receive-email {
    text-align: center;
    color: var(--Key-Colors-Primary-text, #061A21);
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.408px;
}

.not-receive-email button {
    color: var(--Key-Colors-Primary, #175668);
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; 
    letter-spacing: -0.408px;
    cursor: pointer;
    background-color: white;
    border: none;
}

/*Modal styles*/
#modal{
    background-color: white;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 334px;
    /* height: 100px; */
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px 0px rgba(10, 36, 44, 0.10);

    color: var(--Key-Colors-Success, #24A375);
    font-family: 'Montserrat';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.408px;
    /* background-color: red; */

    /* create animation */
    animation-name: animatemodal;
    animation-duration: .4s;
}



#modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
}

/* Modal Animations */

@keyframes animatemodal {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 20%;
        opacity: 1;
    }
}

/*end*/

.back-to-sign-up{
    display: flex;
    gap: 8px;
    text-decoration: none;
    color: var(--Key-Colors-Secondary-Text, #5D6679);
    cursor: pointer;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.408px;
}

a {
    text-decoration: none;
}

/*forget Password styles*/

#signup-form {
    display: flex;
    flex-direction: column;
    /* align-self: stretch; */
    gap: 24px;
}

.forgot-email {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 360px;
}

.forgot-email label {
    color:#344054;
    font-family: 'Inter';
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}
  
.forgot-email input {
    width: 100%;
    padding: 10px 14px 10px 14px;
    border: none;
    border-radius: 8px;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--White, #FFF);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    color: var(--Gray-500, #667085);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.forgot-begin {
    color: var(--Key-Colors-Secondary-Text, #5D6679);
    text-align: center;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.41px;
}

.forgot-email input:focus {
    outline: none;
    box-shadow: none;
    border-color: #ccc;
}

/*  Error styling */

.error {
    border-color: red;
}

.error-message {
    color: red;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-top: 2px;
    margin-bottom: 10px;
}




@media (max-width: 768px) {
    .title {
        font-size: 24px;
    }
    .begin {
        font-size: 14px;
    }
    .set-begin {
        font-size: 14px;
    }
    .forgot-begin {
        font-size: 14px;
    }
    .otp-wrap input  {
        width: 64px;
        height: 64px;
    }
    
}
