:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, #1b2d4b, transparent 55%),
    #0b0f17;
  color: #edf2fa;
  font-family: "Segoe UI", "Malgun Gothic", sans-serif;
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 42px 36px;
  background: #151b27;
  border: 1px solid #2b3649;
  border-radius: 18px;
  box-shadow: 0 25px 80px #0005;
}

.logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4779ee, #7a5af8);
  font-size: 24px;
  font-weight: 700;
}

.eyebrow {
  color: #719eff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

h1 {
  font-size: 29px;
  margin: 12px 0;
}

.description {
  color: #94a0b3;
  font-size: 13px;
  margin-bottom: 36px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 12px;
  margin-bottom: 10px;
  color: #bac6d9;
}

input {
  background: #0e1420;
  border: 1px solid #303b4e;
  border-radius: 9px;
  padding: 14px;
  color: white;
  font: inherit;
  margin-bottom: 23px;
  outline: none;
}

input:focus {
  border-color: #568cff;
}

button {
  padding: 15px;
  background: #568cff;
  color: white;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #4679e8;
}

button:disabled {
  opacity: .6;
  cursor: wait;
}

.error {
  color: #ff8c9c;
  font-size: 12px;
  min-height: 16px;
}

.footer {
  text-align: center;
  color: #69778e;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 40px;
}

@media (max-width: 480px) {
  .login-card {
    padding: 32px 24px;
  }
}