body.login-page {
  background: linear-gradient(180deg, #090b11 0%, #141825 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.login-main {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vw, 80px) clamp(16px, 6vw, 48px);
}

.login-card {
  width: min(420px, 100%);
  background: rgba(15, 19, 30, 0.9);
  border-radius: 28px;
  border: 1px solid rgba(39, 240, 201, 0.18);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
  padding: clamp(32px, 6vw, 48px);
  display: grid;
  gap: 24px;
  color: rgba(255, 255, 255, 0.92);
}

.login-card__header h1 {
  font-size: clamp(26px, 5vw, 36px);
  margin-bottom: 6px;
}

.login-card__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}

.login-form {
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  gap: 10px;
}

.field-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

.field input[type="text"],
.field input[type="password"],
.field input[type="email"] {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 13, 0.85);
  padding: 14px 18px;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input[type="text"]:focus,
.field input[type="password"]:focus,
.field input[type="email"]:focus {
  outline: none;
  border-color: rgba(39, 240, 201, 0.6);
  box-shadow: 0 0 0 2px rgba(39, 240, 201, 0.18);
}

.field--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkbox--remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.checkbox--remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 12, 18, 0.92);
  appearance: none;
  position: relative;
}

.checkbox--remember input[type="checkbox"]:checked {
  border-color: rgba(39, 240, 201, 0.9);
  background: linear-gradient(135deg, var(--teal), var(--purple));
}

.checkbox--remember input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  background: rgba(10, 12, 18, 0.85);
}

.forgot-link {
  font-size: 14px;
  color: rgba(39, 240, 201, 0.9);
  text-decoration: none;
}

.forgot-link:hover,
.forgot-link:focus-visible {
  text-decoration: underline;
}

.btn-primary {
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(39, 240, 201, 0.92), #d56dff);
  color: #06070c;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 20px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(39, 240, 201, 0.25);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.form-error {
  background: rgba(229, 57, 53, 0.16);
  border: 1px solid rgba(229, 57, 53, 0.35);
  color: #ff8585;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.password-hints {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 4px;
}

.form-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0 0;
}

.form-note a {
  color: rgba(39, 240, 201, 0.9);
  text-decoration: none;
}

.form-note a:hover,
.form-note a:focus-visible {
  text-decoration: underline;
}
