@import url('https://fonts.googleapis.com/css2?family=Roboto');

a {
    color: #8423DB;
}

.login body {
    background: #FBF8FF none;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
}

.login-page {
    padding: 40px 16px;
    max-width: 1700px;
    margin: auto;
}

.login-page .login-page-header {
    margin-bottom: 40px;
}

div.kc-logo-text, .login-page-header {
    background-image: url(../img/freesmo_logo_mobile.svg);
    background-repeat: no-repeat;
    height: 32px;
    width: 98px;
    margin: 0 auto;
}
div.kc-logo-text span, .login-page-header div {
    display: none;
}

.card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: none;
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.login-header {
    text-align: center;
}
.login-header h1 {
    color: #29113C;
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
}
.login-header:before {
    content: 'Welcome back';
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8423DB;
    margin-bottom: 8px;
}
#kc-content {
    width: 100%;
}
.form-group div {
    display: flex;
    flex-direction: column;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 24px;
}
.form-group label {
    color: #8423DB;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.form-group input[type=text], .form-group input[type=password] {
    color: #29113C;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
    display: flex;
    height: 20px;
    padding: 16px;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #E5E2E8;
}
.form-group input:hover {
    border: 1px solid #8C7F96;
}
.form-group input:active {
    border: 1px solid #8423DB;
}
.form-group input:focus {
    outline: 2px solid #3C2CFF;
}
#input-error {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    letter-spacing: 0.5px;
    color: #D60808;
    padding-left: 16px;
}
.form-group input:has(+ #input-error) {
    border: 1px solid #D60808;
}

.alert-error, .alert-success, .alert-warning {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.25px;
    padding-bottom: 24px;
}
.alert-error {
    color: #D60808;
}
.alert-success {
    color: #8423DB;
}

#kc-form-buttons {
    display: flex;
    flex-direction: column;
    padding-top: 12px;
}
#kc-form-buttons input {
    height: 48px;
    background-color: #29113C;
    border: none;
    border-radius: 40px;
    color: #97E845;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    padding: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}
#kc-form-buttons input:hover {
    color: #ffffff;
    background: #8423DB;
}
#kc-form-buttons input:active {
    color: #ffffff;
    background: #4C1677;
}
#kc-form-buttons input:focus {
    color: #ffffff;
    background: #4C1677;
    outline: 3px solid #3C2CFF;
}

.checkbox {
    padding-bottom: 12px;
}
.checkbox input {
    width: 32px;
    height: 32px;
}
.checkbox input:focus {
    outline: 1px solid #3C2CFF;
}
.checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #29113C;
    font-size: 16px;
    font-style: normal;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
    text-transform: none;
}

.password-visibility-button {
    display: none;
}

@media (min-width: 940px) {
    .checkbox input {
        width: 24px;
        height: 24px;
    }
    .form-group label {
        font-size: 14px;
        padding-bottom: 12px;
    }
    .checkbox label {
        font-size: 16px;
    }
    #input-error {
        font-size: 14px;
        line-height: 18px;
        padding-left: 0;
    }
    .form-group input[type=text], .form-group input[type=password] {
        height: 38px;
        padding: 16px 24px;
    }
    #kc-form-buttons input {
        padding: 24px 32px;
        align-self: center;
        height: 64px;
        font-size: 16px;
        font-weight: 700;
        line-height: 16px;
        letter-spacing: 1.25px;
    }
    div.kc-logo-text, .login-page-header {
        background-image: url(../img/freesmo_logo.svg);
        height: 60px;
        width: 184px;
    }
    .card {
        padding: 80px 32px;
        gap: 56px;
    }
    .login-header h1 {
        font-size: 50px;
        line-height: 71px;
    }
    .login-header:before {
        font-size: 14px;
    }
    .login-page .login-page-header {
        margin-bottom: 80px;
    }
    #kc-content {
        width: 60%;
    }
    .alert-error, .alert-success, .alert-warning {
        font-size: 16px;
        line-height: 22px;
    }
}

@media (min-width: 940px) and (max-width: 1219px) {
    .login-page {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1220px) and (max-width: 1699px) {
    .login-page {
        padding-left: 64px;
        padding-right: 64px;
    }
}

@media (min-width: 1700px) {
    .login-page {
        padding-left: 128px;
        padding-right: 128px;
    }
}