/* === Design tokens: Border Radius === */
:root {
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 16px;
  --border-radius-max: 50%;
}

/* === Achtergrond: grayscale warehouse foto === */
html {
  background-color: #000 !important;
}

html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../img/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  z-index: -1;
}

body,
.login-pf body,
.pf-v5-c-login {
  background: transparent !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* === Login container positionering === */
.pf-v5-c-login__container {
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 820px !important;
}


div.kc-logo-text {
  background-image: url('../img/monta_liggend_wit.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  width: 300px !important;
  height: 100px !important;
  margin: 0 auto 1rem auto !important;
  display: block !important;
}

div.kc-logo-text span {
  display: none !important;
}

#kc-header,
.pf-v5-c-login__header {
  min-height: 120px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

/* === Hoofdvenster wit === */
.pf-v5-c-login__main {
  background: #ffffff !important;
  color: #1a1a1a !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45) !important;
  border-radius: var(--border-radius-large) !important;
  border: none !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

/* === Blauwe bovenrand === */
.pf-v5-c-login__main-header {
  background: #ffffff !important;
  border-top: 4px solid #009DE0 !important;
  border-bottom: none !important;
  padding: 2rem 2.5rem 1rem 2.5rem !important;
}

/* === Body wit === */
.pf-v5-c-login__main-body {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 2.5rem 1.5rem 2.5rem !important;
}

/* === Titel === */
#kc-page-title,
.pf-v5-c-title {
  font-weight: 600 !important;
  font-size: 1.5rem !important;
  color: #1a1a1a !important;
  margin-bottom: 1rem !important;
}

/* === Labels en tekst === */
label,
.pf-v5-c-form__label,
.pf-v5-c-form__label-text,
#kc-registration,
#kc-registration span {
  color: #1a1a1a !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

/* === Input wrapper === */
.pf-v5-c-form-control {
  background: #f5f5f5 !important;
  color: #1a1a1a !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: var(--border-radius-medium) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* === Input zelf === */
input,
input.pf-v5-c-form-control,
.pf-v5-c-form-control input {
  background: #f5f5f5 !important;
  color: #000000 !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: var(--border-radius-medium) !important;
  box-shadow: none !important;
  min-height: 48px !important;
  font-size: 15px !important;
}

/* === PatternFly rechte onderlijn bij input verwijderen === */
.pf-v5-c-form-control::before,
.pf-v5-c-form-control::after {
  display: none !important;
  content: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Placeholder */
input::placeholder {
  color: #777777 !important;
}

/* Input focus */
input:focus,
input.pf-v5-c-form-control:focus,
.pf-v5-c-form-control:focus,
.pf-v5-c-form-control:focus-within,
.pf-v5-c-form-control input:focus {
  border-color: #009DE0 !important;
  box-shadow: 0 0 0 1px #009DE0 !important;
  outline: none !important;
  color: 000000;
}

/* === Sign In knop === */
#kc-login,
.pf-v5-c-button.pf-m-primary,
input[type="submit"] {
  background-color: #009DE0 !important;
  border: 1px solid #009DE0 !important;
  color: #ffffff !important;
  height: 48px !important;
  border-radius: var(--border-radius-medium) !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  width: 100% !important;
}

/* === Sign In knop hover === */
#kc-login:hover,
.pf-v5-c-button.pf-m-primary:hover,
input[type="submit"]:hover {
  background-color: #007db3 !important;
  border-color: #007db3 !important;
  color: #ffffff !important;
}

/* === Registreren link === */
#kc-registration {
  text-align: center !important;
  margin-top: 1rem !important;
  color: rgba(26, 26, 26, 0.7) !important;
}

#kc-registration a {
  color: #009DE0 !important;
  text-decoration: underline !important;
}

#kc-registration a:hover {
  color: #007db3 !important;
}

/* === Taal dropdown === */
#kc-locale,
.pf-v5-c-login__main-header-utilities {
  color: #1a1a1a !important;
}

#kc-locale select,
select {
  background: #f5f5f5 !important;
  color: #1a1a1a !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: var(--border-radius-small) !important;
  box-shadow: none !important;
  padding: 0.3rem 0.6rem !important;
  min-width: 130px !important;
  font-size: 0.9rem !important;
}

/* === Dividers / lijnen verbergen === */
hr,
.pf-v5-c-divider {
  display: none !important;
  opacity: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* === Try another way verbergen === */
#kc-select-try-another-way-form {
  display: none !important;
}

/* === Oude Keycloak fallback classes === */
.card-pf,
#kc-content,
#kc-content-wrapper,
#kc-form,
#kc-form-wrapper,
#kc-form-login {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border: none !important;
  box-shadow: none !important;
}