* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.72), rgba(15, 23, 42, 0.42)),
    url("../assets/login-bg.svg") center / cover no-repeat fixed,
    #0f172a;
  color: #111827;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(250, 204, 21, 0.20), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(56, 189, 248, 0.16), transparent 38%);
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(14px);
}

.login-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.login-logo {
  display: block;
  width: min(240px, 82%);
  height: auto;
  object-fit: contain;
}

h1 {
  text-align: center;
  font-size: 20px;
  margin: 0 0 22px;
}

label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #374151;
}

.show-password-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.show-password-row input {
  width: auto;
  padding: 0;
  margin: 0;
}

.show-password-row span {
  color: #374151;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

input:focus,
select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

button {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: #000;
}

#message {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 480px) {
  body {
    align-items: center;
    padding: 24px 16px;
    background-attachment: scroll;
  }

  .container {
    padding: 24px 18px;
  }
}
