:root {
    --wireframe-background: #f8f9fb;
    --wireframe-background-form: #2B2D33;
    --wireframe-dark-color-10: #e8eaec;
    --wireframe-green: #95c11f;
    --wireframe-orange: #f49e4c;
    --wireframe-primary: rgb(254, 230, 0);
    --wireframe-white: #ffffff;
    --placeholder-color: #ffffff65;
    --eeg-default-margin: 1rem;
    --eeg-default-padding: 1rem;
    --eeg-default-gap: 1rem;
    --eeg-border-radius: 3px;
    --eeg-button-text-color: black;
    --default-font-size: 16px;
    --eeg-error: #F2B8B5;
    --input-border: rgb(121, 116, 126);
    --input-border-hover: white;
    --input-border-focus: var(--wireframe-primary);
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    margin: 0;
    font-family: Roboto, 'Helvetica Neue', sans-serif;
    width: 100%;
    height: 100%;
    font-size: var(--default-font-size);
    font-weight: 400;
    color: white;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.0175rem;
}

/* WebKit-based browsers (Chrome, Safari) */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--wireframe-background-form) inset;
  -webkit-text-fill-color: white;
  border: 1px solid var(--input-border);
  -webkit-transition: color 5000s;
}

input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px var(--wireframe-background-form) inset;
  -webkit-text-fill-color: white;
  border: 1px solid var(--input-border-focus);
  -webkit-transition: color 5000s;
}

/* Mozilla Firefox */
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
  box-shadow: 0 0 0px 1000px var(--wireframe-background-form) inset;
  -moz-text-fill-color: white;
  border: 1px solid var(--input-border);
  -moz-transition: color 5000s;
}

input:-moz-autofill:focus,
textarea:-moz-autofill:focus,
select:-moz-autofill:focus {
  box-shadow: 0 0 0px 1000px var(--wireframe-background-form) inset;
  -moz-text-fill-color: white;
  border: 1px solid var(--input-border-focus);
  -moz-transition: color 5000s;
}

/* Web/Body/Regular */
.regular-text {
    font-size: 0.875rem;
}

/* Web/Helptext/Regular */
.help-text {
  font-size: 0.6875rem;
}

/* Web/Input/big */
.big-text {
  font-size: 0.875rem;
  line-height: 10.5rem; /* 150% */
  letter-spacing: 0.03125rem;
}

h1,
h2 {
  line-height: normal;
  font-style: normal;
}

h1 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.075rem;
}

h4 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04rem;
}

.main-container {
    display: grid;
    grid-template-columns: 40rem auto;
    height: 100%;
}

.main-container .panel-left {
    background-color: var(--wireframe-background-form);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-container .panel-left .content {
    max-width: 32rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
    margin-top: 18%;
    flex-grow: 1;
}

.main-container .panel-left .content .logo {
    display: flex;
    margin: auto;
    margin-bottom: 7rem;
}

.main-container .panel-left .form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: var(--eeg-default-margin);
}

.main-container .panel-left div.form {
    flex-grow: 2;
}

.main-container .panel-left .form .image {
    display: flex;
    align-items: center;
}

.main-container .panel-left .form .default-padding {
    padding-bottom: 1rem;
}

.main-container .panel-left .form .text {
    margin: 0.5rem 0;
}

.main-container .panel-left .footer .links {
    display: flex;
    gap: 0.5rem 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
    opacity: 0.8;
}
.main-container .panel-left .footer .links a {
    font-size: 12px;
}
.main-container .panel-left .footer .links.compact {
    gap: 0.5rem 1rem;
}

@media screen and (max-width: 640px) {
    .main-container .panel-left .footer .links.compact {
        flex-direction: column;
    }
}

.main-container .panel-left .footer .links .link {
    text-align: center;
}

.main-container .panel-left .footer .app-info {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--placeholder-color);
    display: flex;
    justify-content: center;
    gap: 0.2rem 1rem;
}

@media screen and (max-width: 640px) {
    .main-container .panel-left .footer .app-info {
        flex-direction: column;
        margin-bottom: 0;
    }
}

.main-container .panel-left .footer .app-info .copyright {
    font-size: 12px;
    font-weight: 500;
}

.input_wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: auto;
    height: auto;
    position: relative;
    margin-bottom: var(--eeg-default-margin);
}



label {
    padding-left: .5rem;
    padding-top: .5rem;
    font-size: .7rem;
    color: var(--wireframe-white);
}

a {
    font-size: .7rem;
    color: var(--wireframe-white);
}

.error {
    color: var(--eeg-error);
}

.error-list {
    padding-bottom: 1rem;
    color: var(--eeg-error);
}

input {
  padding: 0.5rem;
  font-size: 16px;
  border: 1px solid var(--input-border);
  flex: 1;
  height: 2.625rem;
  background-color: inherit;
  border-radius: var(--eeg-border-radius);
  color: var(--wireframe-white);
  box-shadow: none;
}

input:focus {
    outline: none;
    border: 1px solid var(--input-border-focus);
}

input:user-invalid {
    border: 1px solid var(--eeg-error);
}

input[type="submit"] {
    padding: 0.5rem 1rem;
    color: var(--eeg-button-text-color);
    outline: none;
    background-color: var(--wireframe-primary);
    border: none;
    border-radius: var(--eeg-border-radius);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.6rem;
    margin-top: 2rem;
}

input::-ms-clear,
input::-ms-reveal {
  display: none;
}

.input-password-icon {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.input-password-icon--hidden {
  display: none;
}

ul {
    padding-left: 1rem;
}

.panel-right {
    background-image: url('../img/background.png');
    background-position: right 76%;
    background-repeat: no-repeat;
    background-size: cover;
}


@media only screen and (max-width: 640px) {
    .main-container {
        grid-template-columns: auto;
        grid-template-rows: 1fr 5fr;
    }

    .main-container .panel-right {
        grid-row-start: 1;
        background-color: var(--wireframe-background-form);
        background-image: url('../img/background-mobile.png');
        background-position: center;
    }

    .main-container .panel-left {
        padding: 1rem;
    }

    .main-container .panel-left .content {
        margin-top: 0%;
    }

    .main-container .panel-left .content .logo {
        margin-bottom: 3rem;
    }
}

#kc-reset-password-form .kc-feedback-text {
    font-size: 12px;
    color: var(--eeg-error);
    padding-left: .5rem;
    padding-top: .5rem;
    font-size: .7rem;
}
