@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap');

body.login-page {
    font-family: 'Sora', sans-serif;
}

.auth-form {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 750px;
    height: 85vh;
    margin: 25px auto;
    background: #FFFFFF;
    border: 1px solid rgba(15, 22, 42, 0.2);
    box-shadow: 0px 4px 10.2px #61B9EC;
    border-radius: 15px;
    padding: 30px 40px;
    gap: 20px;
    overflow-y: auto;
}

.wyt-login-box {
    display: flex;
    justify-content: center;
    width: 100% !important;
    max-width: 85% !important;
}

.wyt-login-box__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-height: 0;
}

.auth-form__icon-wrapper {
    box-sizing: border-box;
    width: 90px;
    height: 90px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.auth-form__icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.heading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 552px;
    flex-shrink: 0;
    min-height: 80px;
}

.auth-form__heading {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 28.8px;
    line-height: 1.2;
    text-align: center;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}

.auth-form__subheading {
    font-family: 'Sora', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16.2px;
    line-height: 22px;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
}

.login-form-fields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    min-height: 250px;
    margin-bottom: 25px;
}

.login-field-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.auth-form__label {
    font-family: 'Sora', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 14px;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

.auth-form__input {
    box-sizing: border-box;
    width: 100%;
    padding: 18px;
    height: 58px;
    background: #FAFAFA;
    border: 1px solid rgba(15, 22, 42, 0.2);
    border-radius: 10px;
    font-family: 'Sora', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16.2px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.5);
}

.auth-form__input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.auth-form__input:focus {
    outline: none;
    border-color: #004973;
}

.auth-form__reset {
    font-family: 'Sora', sans-serif;
    font-size: 14.4px;
    color: #004973;
    text-decoration: none;
    margin-top: 5px;
}

.auth-form__reset:hover {
    text-decoration: underline;
}

.login-button.auth-form__submit {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 11px 29px;
    gap: 6px;
    width: 100%;
    max-width: 600px;
    height: 40px;
    background: #004973!important;
    border: 1px solid #004973;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 14px;
    color: #FFFFFF!important;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    flex-shrink: 0;
}

.login-button.auth-form__submit:hover {
    background: #003a5c!important;
}

.field-error-message {
    color: #dc3545;
    font-size: 11.7px;
    margin-top: 4px;
    display: block;
    font-family: 'Sora', sans-serif;
}

.error-field {
    border: 2px solid #dc3545 !important;
}

body.login-page .wyt-login-box__inner {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

body.login-page .wyt-login-box {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

body.login-page .auth-form__heading {
    color: rgba(0, 0, 0, 0.8);
}

body.login-page .auth-form__subheading {
    color: rgba(0, 0, 0, 0.5);
}

body.login-page .auth-form__label {
    color: rgba(0, 0, 0, 0.7);
}

.register-link {
    color: rgba(0, 0, 0, 0.5) !important;
}

.link-input {
    color: rgba(0, 0, 0, 0.5) !important;
    font-weight: 700;
    text-decoration: underline;
}

.auth-page {
    justify-content: start!important;
}

@media (max-width: 768px) {
    .auth-form {
        padding: 30px 20px;
        height: 90vh;
    }

    .auth-form__heading {
        font-size: 21.6px!important;
    }

    .auth-form__subheading {
        font-size: 14.4px!important;
    }

    .auth-form__label {
        font-size: 16.2px!important;
    }

    .auth-form__input {
        font-size: 14.4px!important;
    }

    .login-button.auth-form__submit {
        font-size: 16.2px!important;
    }

    .heading-wrapper {
        margin-bottom: 20px!important;
    }
}

@media (max-width: 576px) {
    .auth-form {
        padding: 20px 15px;
    }

    .f-row {
        flex-direction: column;
        align-items: start;
    }

    .auth-form__icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .auth-form__icon {
        width: 50px;
        height: 45px;
    }

    .auth-form__heading {
        font-size: 18px;
    }

    .auth-form__subheading {
        font-size: 12.6px;
    }

    .auth-form__label {
        font-size: 14.4px;
    }

    .auth-form__input {
        font-size: 12.6px;
        padding: 13.5px;
        height: 50px;
    }

    .login-button.auth-form__submit {
        font-size: 14.4px;
        padding: 9px 18px;
    }
}
