@font-face {
  font-feature-settings: "liga" off, "clig" off;

  font-family: "Montserrat";
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  src: url("../fonts/Montserrat.ttf") format("truetype");
}

body {
  font-family: "Montserrat", sans-serif !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #121212;
}

html {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pf-v5-c-login {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../img/toyo-background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 2rem 0;
}

.login-page .pf-v5-c-login {
  min-height: 100%;
}

.reset-password-page .pf-v5-c-login,
.update-password-page .pf-v5-c-login {
  align-items: flex-start;
  min-height: 700px !important;
  background-image: none;
}

.pf-v5-c-login__container {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 0 1.5rem;
  height: 100%;
}

.pf-v5-c-login__main {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 0px 0 rgba(0, 0, 0, 0);
  padding: 2.5rem;
  width: 100%;
}

.register-page .pf-v5-c-login__container {
  max-width: 940px;
}

.register-page .pf-v5-c-login__main {
  min-width: 940px;
  margin: 0;
}

@media (min-width: 991px) {
  .pf-v5-c-login__container {
    max-width: 690px;
    margin: 0;
  }
  .pf-v5-c-login__main {
    min-width: 690px;
    margin: 0;
  }
  .min-height {
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .login-page .pf-v5-c-login {
    min-height: calc(100vh - 124px);
  }

  .login-bg {
    min-height: 824px;
  }
}

.pf-v5-c-input-group {
  width: 100%;
}

#kc-header-wrapper {
  padding: 62px 10px 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.login-bg {
  min-height: 100vh;
  flex-direction: column;
  flex-grow: 1;
}

.header {
  height: 92px;
  background-color: white;
  display: flex;
  align-items: center;
  margin: 0 auto 0 auto;
  padding: 0.5rem 0;
}

#footerColumns {
  max-width: 1800px;
  margin: 0 auto;
}

@media (max-width: 1800px) {
  #footerColumns {
    margin: 0;
  }
}

.header-container {
  display: flex;
  align-items: center;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.header-teaser {
  background-color: #2b497e;
  margin: 0 auto;
  height: 32px;
  display: none;
}

@media (min-width: 992px) {
  .header-teaser {
    display: block;
  }
}

.header-teaser-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 0 1.25rem;
}

@media (min-width: 1400px) {
  .header-teaser-container {
    max-width: 1800px;
  }
}

.header-teaser-container div {
  color: white;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  height: 100%;
}

.header-logo {
  height: auto;
  width: 100%;
  padding: 0 1.25rem;
}

.footer-column-headline {
  color: #0062b0;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  padding: 0.5rem 0;
}

.footer-contact-hotline a,
.footer-contact-form a {
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
}

.footer-link {
  color: #1f1f1f;
  text-decoration: none;
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
  padding: 0;
}

.footer-link:hover {
  color: #0062b0;
  text-decoration: none;
}

.footer-contact-form {
  padding: 1rem 0 1rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-column-toggle .icon {
  height: 16px;
  width: 16px;
}

.footer-columns {
  padding: 2.5rem 1.25rem 0 1.25rem;
  margin: 0;
}

.footer-column {
  flex-shrink: unset;
  padding-left: 0;
  padding-right: 0;
}

.footer-main > .container {
  min-width: 100%;
}

.footer-bottom {
  background: #2b497e;
  height: 74px;
  width: 100%;
  padding: 0;
}

.footer-bottom > .container {
  align-items: center;
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-content: space-between;
  padding: 0 calc(var(--bs-gutter-x) * 0.5);
}

.footer-bottom .container .footer-copyright {
  color: white;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 18px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.footer-bottom .container {
  justify-content: center;
}

.social-links-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin-bottom: 24px;
}

.social-link:hover {
  cursor: pointer;
}

.kc-page-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.kc-login-title,
.pf-v5-c-title {
  color: #2b497e;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  font-family: "Montserrat", sans-serif !important;
}

.kc-login-subtitle {
  color: #2b497e;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  font-family: "Montserrat", sans-serif !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus {
  border-color: #0062b0;
  border-width: 1px;
  outline: none;
  box-shadow: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="color"],
textarea,
select {
  width: 100%;
  appearance: none;
  border-radius: 0;
  padding: 0.5rem 1rem;
  line-height: 18px;
  font-size: 16px;
  color: #4a5568;
  box-sizing: border-box;
  border: 1px solid #9f9fa0;
}

.pf-v5-c-button.pf-m-control {
  all: unset;
  padding: 0.5em 1em;
}

.pf-v5-c-button.pf-m-control:hover {
  cursor: pointer;
}

.pf-v5-c-login__main-header,
.pf-v5-c-login__main-body {
  padding: 0;
  width: 100%;
}

#kc-form-options-area {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.form-link {
  cursor: pointer;
  color: #2b497e;
  text-decoration: underline;
  transition: color 0.2s;
  font-size: 11px;
  line-height: 18px;
}

.form-link:hover {
  color: #0062b0;
}

a,
.register-link {
  cursor: pointer;
  color: #2b497e;
  text-decoration: underline;
  transition: color 0.2s;
  font-size: 16px;
  line-height: 18px;
}

a:hover,
.register-link:hover {
  color: #0062b0;
}

.new-user-text {
  color: #2b497e;
  font-size: 16px;
  line-height: 18px;
}

.submit-button,
.back-button,
.pf-m-primary,
.btn-primary,
.btn-default {
  display: inline-block;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  min-height: 36px;
  width: fit-content !important;
  outline: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 0;
}

.submit-button,
.pf-m-primary,
.btn-primary {
  background-color: #0062b0;
  border: 1px solid #0062b0;
  color: #ffffff;
}

.submit-button:hover,
.pf-m-primary:hover,
.btn-primary:hover {
  background-color: #004e8d;
  border-color: #004e8d;
}

.back-button,
.btn-default {
  background-color: #ffffff;
  color: #102b33;
  border: 1px solid #102b33;
  text-decoration: none;
}

.back-button:hover,
.btn-default:hover {
  background-color: #102b33;
  color: #ffffff;
  text-decoration: none;
}

.kc-form-buttons-wrapper {
  display: flex;
  justify-content: flex-end;
}

#kc-form-buttons,
#kc-form-options {
  padding: 0;
  margin-top: 0.5rem;
}

.card-title {
  font-family: "Montserrat", sans-serif;
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  border-bottom: 1px solid #798490;
  padding-bottom: 10px;
  margin-bottom: 0;
}

.card-text {
  font-family: "Montserrat", sans-serif;
  color: #1f1f1f;
  font-size: 15px;
}

.form-label,
.pf-v5-c-form__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  margin-bottom: 3px;
  cursor: default;
  padding: 0;
}

.buttons-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 0.5rem;
}

.pf-v5-c-alert.pf-m-warning,
.pf-v5-c-alert.pf-m-success,
.pf-v5-c-alert.pf-m-error {
  border: none;
  margin-bottom: 1rem;
}

.reset-password-page {
  background-color: #ffffff !important ;
}

@media (min-width: 992px) {
  .footer-column-content {
    display: block !important;
    margin-bottom: 1rem;
  }

  .footer-plus-icon,
  .footer-minus-icon {
    display: none !important;
  }

  .footer-column {
    width: 25%;
  }
}

@media (max-width: 991px) {
  .footer-column-content {
    display: none;
    margin-bottom: 1rem;
  }

  .footer-plus-icon,
  .footer-minus-icon {
    display: inline-block;
  }

  .footer-columns {
    padding-top: 0;
  }

  .pf-v5-c-login__main {
    padding: 2.5rem 1.5rem;
  }

  .footer-column {
    width: 100%;
  }

  .register-page .pf-v5-c-login__container {
    max-width: 100%;
  }

  .register-page .pf-v5-c-login__main {
    min-width: 100%;
    margin: 0;
  }
}

.input-error-message {
  color: #dc3545;
  font-size: 14px;
}

.pf-v5-c-alert__icon {
  display: none;
}
.footer-main {
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #7984904d;
}

.pf-v5-c-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pf-v5-c-alert.pf-m-success {
  background-color: #e7feec;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: #1f1f1f;
}

.pf-v5-c-alert.pf-m-error {
  background-color: #ffe7e7;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.pf-v5-c-alert.pf-m-warning {
  padding: 0.5rem 1rem;
  background-color: #fff8e7;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: #1f1f1f;
}

.pf-v5-c-form__group:not(:has(input)) {
  color: #2b497e;
  padding-bottom: 0;
  font-size: 18px;
}

.subtitle {
  display: none;
}

.registration-subtitle {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: #2b497e;
}

.details-text {
  font-size: 14px;
}

.kc-feedback-text {
  font-size: 12px;
}

.pf-m-error {
  color: #dc3545;
}

.pf-v5-c-select__toggle {
  padding: 5px;
  font-size: 14px;
}

.pf-v5-c-login__main-header-utilities {
  display: flex;
  justify-content: end;
  margin-bottom: 5px;
}

.pf-v5-c-select {
  position: relative;
}

.pf-v5-c-select ul {
  list-style-type: none;
  padding-left: 0;
  padding-top: 1rem;
}

.pf-v5-c-select button {
  border: none;
  font-size: 12px;
  text-align: left;
}

.pf-v5-c-select__menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 100;
  visibility: hidden;
  background-color: none;
}

.pf-v5-c-select__menu[style*="display: block;"],
.pf-v5-c-select__menu[x-show="open"] {
  visibility: visible;
}

#login-select-label {
  font-size: 12px;
  color: #004e8d;
  display: flex;
  justify-content: center;
  padding: 0;
}

.flag-icon {
  width: 14px;
  height: auto;
}

.language-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}
