* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  font: 600 16px/18px Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #6a6f8c;
  background: url("login-bg-0.20.15.png") center / cover no-repeat fixed;
}
.language {
  position: absolute;
  top: 15px;
  right: 39px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.language img { width: 25px; height: 25px; }
.card {
  width: 570px;
  min-height: 612px;
  margin: auto;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 4px;
  background: white;
}
.login-html {
  width: 100%;
  min-height: 612px;
  padding: 50px 40px;
  background: #1e3264;
}
.key-card .login-html { min-height: 650px; }
.login-logo {
  display: block;
  width: 96px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 16px;
  object-fit: contain;
}
@media (max-width: 900px) {
  .login-logo { width: 80px; margin-bottom: 12px; }
}
.brand {
  margin: 0 auto 26px;
  color: #fff;
  text-align: center;
  font: 400 43px/45px Arial, "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
form { width: 360px; margin: 0 auto; }
.alternative, .submit {
  display: block;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 5px;
  padding: 15px 20px;
  text-align: center;
  color: white;
  font: 700 16px/24px Arial, sans-serif;
  text-decoration: none;
}
.alternative { background: #0b499f; box-shadow: 0 3px 6px #102854; cursor: pointer; }
.separator {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 18px;
  margin: 30px 0;
  color: white;
}
.separator::before, .separator::after { content: ""; flex: 1; border-top: 1px solid #bbb; }
input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  height: 53px;
  border: 0;
  border-bottom: 5px solid #0091d2;
  border-radius: 5px;
  background: white;
  color: #6c757d;
  text-align: center;
  font: 700 13px/18px Arial, sans-serif;
  padding: 15px 20px;
}
input::placeholder { color: #777; opacity: 1; }
#userName { margin-bottom: 18px; }
#password, #subscriptionKey { margin-bottom: 12px; }
#vatNumber { margin-bottom: 18px; }
.remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: white;
  font: 600 14px/20px Arial, sans-serif;
  cursor: pointer;
}
.remember input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #0091d2;
}
.recovery { color: #0091d2; font: 12.8px/18px Arial, sans-serif; text-decoration: none; }
.submit {
  height: 53px;
  margin-top: 20px;
  background: #0091d2;
  line-height: 18px;
  cursor: pointer;
}
.submit:active,.alternative:active { filter:brightness(1.14); box-shadow:0 0 0 4px #8dd6ff66; }
button.button-feedback { position:relative; overflow:hidden; }
button.button-feedback::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent); animation:loginButtonSweep .7s ease-out both; }
@keyframes loginButtonSweep { from { transform:translateX(-100%); } to { transform:translateX(100%); } }
#error { color: #fff; font: 13px/19px Arial, sans-serif; margin-top: 12px; }
@media (max-width: 640px) {
  .card { max-width: calc(100% - 24px); }
  .login-html { padding: 50px 15px; }
  form { max-width: 100%; }
  .brand { font-size: clamp(28px, 7vw, 43px); }
}

#doctorReceiptsPassword { margin-bottom: 12px; }
