body {
    font-family: 'Rethink Sans', sans-serif;
    color: #1A1A1A;
    background-color: #fff !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    width: 100%;
}

.login-pf-page {
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.login-pf-page .login-pf-page-header {
    margin-bottom: 0;
}

.login-pf-page #kc-header-wrapper {
    min-height: 80px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.create-pass.pf-c-button.pf-m-control {
    right: 24px;
}

#kc-header-wrapper .back-button {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background-color: rgba(238, 240, 242, 1);
    border: none;
}

#kc-header-wrapper .button-placeholder {
    width: 44px;
    height: 44px;
}

#kc-header-wrapper a {
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .login-pf-page #kc-header-wrapper {
        padding: 0 48px;
    }
}

@media screen and (min-width: 768px) {
  .login-pf-page .card-pf {
    padding: 40px 40px;
  }
}

.emailIcon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    margin-bottom: 24px;
}

.kc-reset-flow {
    background-image: url(../img/reset-flow.svg);
}

.login-pf-page .kc-logo-text {
    background-image: url(../img/logo-blue.svg);
    width: 122px;
    height: 32px;
    margin: 0;
    background-size: contain;
}

.login-pf-page .register-subtitle {
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 24px;
    color: rgba(0, 0, 0, 0.60) !important;
}

.login-pf-page .register-subtitle b {
    font-weight: 500;
}

@media screen and (min-width: 768px) {
    .login-pf-page .register-subtitle {
        margin-bottom: 48px;
    }
}

/* .login-pf-page .divider {
    align-self: center;
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, rgb(2, 38, 71) 0%, rgba(2, 38, 71, 0) 100%);
    margin: 28px auto 36px;
} */

.small-subtitle {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    display: block;
    color: rgba(0, 0, 0, 0.60);
    margin: 16px 0 0 0;
}

.small-subtitle a {
    color: #1A1A1A;
}

.small-font {
    font-size: 12px;
}

.login-pf-page #kc-page-title {
    font-weight: 500;
    color: #022647;
    font-size: 38px;
    font-style: italic;
}

@media screen and (min-width: 768px) {
    .login-pf-page .card-pf {
        min-width: 744px;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .login-pf-page #kc-page-title {
        font-size: 58px;
    }
}

.login-pf-page .card-pf {
    flex: 1;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin: 0;
}

#kc-info-wrapper {
    height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.60) !important;
}

#kc-form-buttons {
    margin-top: 16px;
}

.pf-c-input-group {
     position: relative;
}

.pf-c-button.pf-m-control {
      right: 5px;
      top: 6px;
      position: absolute;
      z-index: 10;
}

#kc-select-try-another-way-form {
    width: 100%;
}

#kc-form-options {
    width: 100%;
    margin-top: 24px;
}

#kc-form-options a {
    color: #022647;
    font-size: var(--type-size-body-m, 16px);
    font-weight: 400;
    width: 100%;
    text-align: center;
    display: block;
}

#try-another-way {
    color: #022647;
    font-size: var(--type-size-body-m, 16px);
    font-weight: 400;
    width: 100%;
    text-align: center;
    display: block;
}

.form-group input[type="text"],
.form-group input[type="password"]{
    border-radius: 12px;
    font-size: 16px;
    height: auto !important;
    padding: 11px 20px;
    color: #1A1A1A;
    border: 1px solid transparent;
    background: transparent;
    z-index: 0;
    background: rgba(238, 240, 242, 1);
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    border: 1px solid #022647;
}

.form-group input[type="text"]:focus-visible,
.form-group input[type="password"]:focus-visible {
    outline: none;
}

.login-pf-page #kc-info {
    margin: 48px 0 0 0;
}

.junkText {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 22px;
    word-wrap: break-word;
}

a.junkText {
    color: #022647;
    display: block;
}

.margin-bottom-48 {
    margin-bottom: 48px;
}

.login-pf-page #kc-form-buttons .doResend {
    background: transparent;
    color: #022647;
    border: none;
    height: unset !important;
    font-size: 20px;
    padding: 0;
    font-weight: 500;
}

.divider-1 {
    background: #EEF0F2;
    width: 100%;
    height: 2px;
    margin: 24px 0;
}

.login-pf-page #kc-form-buttons .doResend:hover {
    text-decoration: underline;
}

.login-pf-page #kc-form-buttons input {
    height: 62px !important;
    border-radius: 100px;
    color: #fff;
    background-color: #022647;
    font-weight: 500;
    font-size: 20px;
    width: 100%;
    padding: 16px 32px;
    text-transform: initial;
}

.pf-c-button.pf-m-control {
    background: transparent;
}

#kc-form-wrapper {
    margin: 0;
}

.login-pf-page input[type=submit],
.login-pf-page input[type=button] {
    background-color: #022647;
}

@media screen and (min-width: 768px) {
    .login-pf body {
        background: none !important;
        background-color: #fff !important;
    }
}

/* Footer */
.footer {
    padding: 24px 16px 48px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: auto;
    position: relative;
}

@media screen and (min-width: 768px) {
    .footer {
        gap: 42px;
    }
}

.footer .footer-logo {
    background-image: url(../img/logo-gray.svg);
    width: 88px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}

.footer .links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer .links .link {
    color: rgba(0, 0, 0, 0.70);
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 400;
}

.footer .links .link:first-child {
    color: rgba(0, 0, 0, 0.40);
}

.footer .poweredBy {
    color: rgba(0, 0, 0, 0.40);
}

.footer .flex {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

@media screen and (min-width: 768px) {
    .footer .flex {
        flex-direction: row;
    }

    .footer .links {
        display: flex;
        align-items: center;
        gap: 32px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.grecaptcha-badge { visibility: hidden; }
