:root {
    --primary-color: #000000;
    --base-font-size: 16px;
    /*--font-family: 'Poppins';*/
    --font-family: Roboto;
    --border-radius-small: 8px;
    --border-radius-large: 61px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--base-font-size);
    font-family: var(--font-family), Arial, 'sans-serif';
    background-color: #F0F3F9;
}
body {
    max-width: 1350px;
    margin: 0 auto;
}

label, input {
    display: block;
    width: 100%;
}

label {
    font-weight: 400;
    margin-bottom: 4px;
    font-size: 0.875rem;
}

label, .remind-links a {
    color: #3C4554;
}


input {
    min-height: 48px;
    line-height: 16px;
    border: 1px solid #BEC6D2;
    border-radius: var(--border-radius-small);
    padding: 12px 14px;
    color: #000000;
    font-size: 1rem;
    background-color: #ffffff;
}

input:hover, input:focus-visible {
    border: 1px solid #000000;
    outline: none 0;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
    font-size: 1rem !important;
}

input::placeholder {
    color: #4B5971;
    opacity: 1; /* Firefox */
    font-family: var(--font-family), Arial, 'sans-serif';
}

.container {
    max-width: 1260px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    ul {
        list-style: none;
    }
    li {
        display: inline-block;
        margin-left: 33px;
    }
    li:last-child {
        margin-right: 16px;
    }
    a {
        text-decoration: none;
        color: #111111;
    }
    a:hover {
        text-decoration: underline;
    }
}

.login-page-wrapper {
    min-height: calc(100vh - 91px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.login-welcome-txt {
    max-width: 517px;
    margin-right: 74px;
    color: #262C36;
    h1 {
        font-size: 2.75rem;
        font-weight: 500;
        margin-bottom: 32px;
    }
    p {
        color: #3C4554;
        margin-right: 55px;
        font-weight: 600;
        line-height: 25px;
    }
    p:last-child {
        font-weight: 400;
    }
    a {
        text-decoration: none;
        color: #3C4554;
    }
    a:hover {
        text-decoration: underline;
    }
}

.form-wrapper {
    flex-basis: 100%;
    background-color: #FFFFFF;
    border: 1px solid #D0D7E3;
    border-radius: 16px;
    padding: 24px;
    max-width: 368px;
    flex-shrink: 0;
    position: relative;
}

.toast {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    background-color: #FFE0E0;
    color: #7A271A;
    display: flex;
    align-items: center;
    padding: 12px 8px;
    border-radius: 16px;
    animation: fadeIn 0.3s ease;
}


.form-header {
    margin-bottom: 24px;
}

#username {
    background-color: #F0F3F9;
}
#username::placeholder {
    color: #656F81;
}


#kc-page-title {
    font-size: 1.5rem;
    font-weight: 600;
}

#kc-form-buttons {
    margin-top: 2.25rem;
}

.form-group {
    margin-bottom: 16px;
}
.form-group.login-pf-settings {
    margin-bottom: 24px;
}
.form-group.login-pf-settings a {
    color: #000000;
    font-size: 0.875rem;
    font-weight: 500;
}

.pf-c-form-control[aria-invalid=true] {
    border-color: #D90000;
}
.pf-m-error {
    display: block;
    color: #D90000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-top: 6px;
    margin-bottom: 16px;
}

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

.pf-c-button {
    color: #FFFFFF;
    border: none;
    border-radius: var(--border-radius-small);
    background-color: #490F30;
    padding: 16px;
    cursor: pointer;
    transition: .2s;
    font-size: 0.875rem;
    line-height: 1.75;
    font-weight: 500;
    min-height: auto;
}
.pf-c-button:hover {
    border: none;
}

.pf-c-button:active {
    background-color: #28081c;
}

.pf-c-button[disabled] {
    color: #4B5971;
    background-color: #F0F2F4;
}

.pf-m-control{
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    padding: 0 13px;
    border: none;
    border-top-right-radius: var(--border-radius-small);
    border-bottom-right-radius: var(--border-radius-small);
    background-color: #FFFFFF;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
}

.pf-m-control:hover img {
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.icon-pwd-visibility {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.remind-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    a {
        text-decoration: none;
        font-size: 12px;
    }
    a:hover {
        text-decoration: underline;
    }
}

#kc-social-providers {
  display: none;
}

@media screen and (max-width: 800px) {
    .login-page {
        width: 90%;
        flex-wrap: wrap;
    }
    .login-welcome-txt {
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
        h1 {
            font-size: 1.75rem;
        }
        p {
            font-size: 14px;
        }
    }
}


.footer {
    padding: 10px 0 18px;
    border-top: 1px solid #E6E6E6;
    color: #262C36;

    a {
        font-weight: 400;
        color: #262C36;
    }

}
.footer__top {
    display: flex;
    max-width: 1184px;
    margin: 0 auto;
}

.footer__bottom {
    margin-top: 28px;
    padding-top: 28px;
    text-align: center;
    color: #656F81;
    font-size: 14px;
}

.footer_contact-headline {
    font-weight: 500;
}

.footer__column {
    display: flex;
    flex-direction: column;

    p, a {
        line-height: 30px;
    }

    .logo {
        margin-bottom: 17px;
    }

}
.footer__column:first-child {
    flex-basis: 60%;
}

.footer__column:nth-child(2) {
    flex-grow: 1;
    p {
        text-decoration: underline;
    }
    p:first-child {
        text-decoration: none;
    }
}
.footer__column.help a {
    text-decoration: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}