@font-face {
  font-family: "Ruda";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/ruda-v21-latin-regular.woff2") format("woff2"),
    url("../fonts/ruda-v21-latin-regular.woff") format("woff"),
    url("../fonts/ruda-v21-latin-regular.ttf") format("truetype");
}

body {
  font-family: Ruda !important;
}

.login-pf body {
  background: white none;
}

#kc-header-wrapper {
  background: url(../img/wp-digital-portal.svg) center bottom no-repeat,
    url(../img/wp_digital_portal_icon.png) center top no-repeat;
  background-size: contain, 100px;
  width: 470px;
  height: 150px;
  margin: auto;
  font-size: 0px;
}

.card-pf {
  border-color: #e87d0d;
  border-radius: 10px;
}

#kc-login {
  --pf-c-button--m-primary--Color: white;
  --pf-c-button--m-primary--BackgroundColor: #e87d0d;
  padding-top: 12px;
  font-family: Ruda !important;
}

.pf-c-button:hover,
.pf-m-primary:hover {
  background-color: #ba640a !important;
}

.pf-c-form-control:hover {
  border-bottom-color: #ba640a !important;
  border-bottom-width: 2px !important;
}

.external-links {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.external-links > span {
  text-align: center;
}

.kemper-link {
  color: #e87d0d;
}

.kemper-link:hover {
  color: #b9640a !important;
}

.pipe {
  margin: 0 5px 0 5px;
}

.decline-button,
.pf-c-button {
  background-color: #e87d0d !important;
}

.decline-button:hover {
  background-color: #bbc5cf !important;
}

.remember-me:checked {
  accent-color: #e87d0d;
}

#kc-terms-text {
  overflow-x: auto;
  max-height: 400px;
}

/* For desktop browsers */
/* For tablets in landscape orientation */
@media only screen and (min-width: 600px) and (orientation: landscape) {
  body {
    background-image: url("https://wp-digital.de/wp-content/uploads/2024/04/Login_Tablet_Horizontal.png") !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* For tablets in portrait orientation */
@media only screen and (min-width: 600px) and (orientation: portrait) {
  body {
    background-image: url("https://wp-digital.de/wp-content/uploads/2024/04/Login_Tablet_Vertical.png") !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* For mobile phones */
@media only screen and (max-width: 599px) {
  #kc-header-wrapper {
    width: unset;
  }

  .pipe {
    margin: 0 3px 0 3px;
  }

  body {
    background-image: none !important; /* No background image for mobile phones */
  }
}
