html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #1f2933;
  background-image: url("https://bartec.com/fileadmin/0-Home-page/bartec_404_background_experienceworld_desktop.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

/* dark overlay over the background image */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  z-index: 0;
}

/* center container */
body {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* login card */
#container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 28px 26px 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(148, 163, 184, 0.3);
  box-sizing: border-box;
}

/* company + intro text */
.info {
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 18px;
}

.logo {
  max-width: 400px;
  max-height: 200px;
  margin-bottom: 12px;
}

.hint {
  margin-top: 6px;
  font-size: 12px;
  color: #4b5563;
}

/* note text placeholder */
.note {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.4;
  margin-top: 16px;
  text-align: justify;
}

/* form styling */
form {
  margin: 0;
}

label {
  color: #111827;
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
}

input {
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

/* text + password fields */
input[type=text],
input[type=password] {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  margin: 0 0 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background-color: rgba(255, 255, 255, 0.9);
  color: #111827;
  box-sizing: border-box;
  transition:
    border-color 120ms ease-out,
    box-shadow 120ms ease-out,
    background-color 120ms ease-out,
    transform 80ms ease-out;
}

input[type=text]:focus,
input[type=password]:focus {
  border-color: #2563eb;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.5),
    0 0 0 6px rgba(37, 99, 235, 0.12);
  background-color: #ffffff;
}

/* small "press" effect on focus via keyboard */
input[type=text]:focus-visible,
input[type=password]:focus-visible {
  transform: translateY(-1px);
}

/* checkbox + label */
.persistency {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #4b5563;
}

.persistency label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.persistency input[type=checkbox] {
  width: 16px;
  height: 16px;
}

/* action row */
.actions {
  margin: 0;
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

/* primary button */
input[type=submit] {
  min-width: 90px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #f9fafb;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 10px 20px rgba(37, 99, 235, 0.35),
    0 0 0 1px rgba(15, 23, 42, 0.03);
  transition:
    transform 80ms ease-out,
    box-shadow 120ms ease-out,
    filter 120ms ease-out,
    background 120ms ease-out;
}

input[type=submit]:hover {
  filter: brightness(1.03);
  box-shadow:
    0 14px 30px rgba(37, 99, 235, 0.40),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

input[type=submit]:active {
  transform: translateY(1px);
  box-shadow:
    0 6px 14px rgba(37, 99, 235, 0.35),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

/* small screens */
@media (max-width: 480px) {
  #container {
    margin: 16px;
    padding: 22px 18px 18px;
  }

  .logo {
    max-width: 140px;
  }
}