body {
    font-family: "Hanken Grotesk", sans-serif;
    color: black;
}

.login-pf {
    background: none;
}

div.login-pf-page {
    background: white;
    background-image: url('../img/gradient-background.svg');
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
    width: 100%;
}

div#kc-form-wrapper::before {
    content: "Login";
    font-size: 45px;
    margin: 0 0 12px 0;
    font-weight: 600;
    display: block;
    line-height: 98px;
}

.login-pf-header {
    background-image: url('../img/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    width: 80px;
    height: 30px;
    margin-bottom: 31px !important;
}

div#kc-header-wrapper {
    display: none;
}

#kc-form-login {
    font-size: 16px;
}

.card-pf {
    margin: 100px auto 100px auto;
    margin-bottom: 100px !important;
    padding: 48px !important;
    width: 100%;
    max-width: 626px;
    border-radius: 30px;
    box-shadow: none;
}

label {
    color: #000000;
    font-size: 16px;
}

input.pf-c-form-control {
    background-color: #F3F7FF;
    border-radius: 50px;
    border: 1px #e3e3e3 solid;
    margin-top: 4px;
    height: 52px;
    font-size: 16px;
    text-indent: 6px;
    color: #222;
    border: none;
    outline: none;
}

.pf-c-button {
    background-color: #000000 !important;
    color: white !important;
    transition: cubic-bezier(0.6, 0.04, 0.98, 0.335);
    border-radius: 100px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 100;
    cursor: pointer;
    border: 1px solid black;
}

.pf-m-primary:hover {
    background-color: #0077ff !important;
    border: 1px solid #0077ff;
}

#saveTOTPBtn {
    margin-right: 8px;
}

#cancelTOTPBtn {
    color: black !important;
    background: white !important;
    border: 1px solid black;
}

#cancelTOTPBtn:hover {
    background-color: #F3F7FF !important;
}

button.pf-c-button.pf-m-control {
    display: none;
}

#kc-social-providers a.pf-c-button.pf-m-control::after {
    border: 0;
}

#kc-social-providers a.pf-c-button {
    background-color: #0078FF !important;
    border: 1px solid #0078FF;
    color: white !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

#kc-social-providers a.pf-c-button:hover {
    background-color: #0068e0 !important;
    border: 1px solid #0068e0;
}

#kc-social-providers ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

#kc-social-providers li {
    display: block;
    width: 100%;
}

#kc-social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    margin: 24px 0;
}

#kc-social-divider::before,
#kc-social-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e3e3e3;
}

#kc-social-divider span {
    padding: 0 16px;
}

h1#kc-page-title {
    display: none;
}

div.form-group {
    margin-bottom: 21px !important;
}

/* User name and "Restart login" text from second sign-in view (auth code input) */
label#kc-attempted-username,
#reset-login {
    display: none;
}

label.pf-c-form__label.pf-c-form__label-text {
    font-size: 16px;
    margin-bottom: 0.5em;
}

@media only screen and (max-width: 600px) {
    .card-pf {
        min-height: 100vh;
        padding: 16px 32px !important;
        border-radius: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        flex-shrink: 0;
        margin: auto !important;
    }

    div {
        width: 100%;
    }

    div#kc-header {
        margin-top: 0;
    }

    div.login-pf-page {
        padding: 0;
    }

    .login-pf body {
        padding: 0;
    }
}

#kc-select-try-another-way-form {
    display: none;
}
