/* ===== Kundportal Login ===== */

@font-face{
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

.kundportal-login-page {
  font-family: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f4f4f4;
  color: #0b0b0f;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.kp-login {
  width: 100%;
  max-width: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
}

/* Card */
.kp-login__card {
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 40px 32px 36px;
}

/* Brand */
.kp-login__brand {
  text-align: center;
  margin-bottom: 28px;
}

.kp-login__logo {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0b0b0f;
  text-transform: uppercase;
}

.kp-login__subtitle {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(11, 11, 15, 0.4);
}

/* Intro text */
.kp-login__intro {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(11, 11, 15, 0.55);
  text-align: center;
  margin-bottom: 28px;
}

/* Error */
.kp-login__error {
  background: rgba(220, 38, 38, 0.06);
  border: none;
  color: #dc2626;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Form */
.kp-login__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kp-login__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(11, 11, 15, 0.5);
  margin-bottom: 6px;
  text-transform: lowercase;
  letter-spacing: 0.01em;
}

.kp-login__field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #0b0b0f;
  background: #f4f4f4;
  border: none;
  border-radius: 8px;
  outline: none;
  transition: background 150ms ease;
}

.kp-login__field input:focus {
  background: #ebebeb;
}

.kp-login__field input::placeholder {
  color: rgba(11, 11, 15, 0.25);
}

/* Submit button */
.kp-login__submit {
  margin-top: 6px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: #f4f4f4;
  background: #022DFF;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 220ms ease, transform 80ms ease;
  letter-spacing: 0.01em;
}

.kp-login__submit:hover {
  opacity: 0.85;
}

.kp-login__submit:active {
  transform: scale(0.98);
}

/* Footer */
.kp-login__footer {
  margin-top: 32px;
}

.kp-login__back {
  font-size: 13px;
  font-weight: 500;
  color: rgba(11, 11, 15, 0.35);
  text-decoration: none;
  transition: color 150ms ease;
}

.kp-login__back:hover {
  color: #0b0b0f;
}

/* Mobile */
@media (max-width: 480px) {
  .kp-login {
    padding: 16px;
  }

  .kp-login__card {
    padding: 32px 24px 28px;
    border-radius: 12px;
  }
}
