:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f4f5f9;
  color: #20243a;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 20%, #7668f01c 0, transparent 27rem),
    radial-gradient(circle at 84% 80%, #34b87817 0, transparent 25rem),
    #f4f5f9;
}

button,
input { font: inherit; }

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.login-card {
  width: min(100%, 430px);
  padding: 36px;
  border: 1px solid #e5e7ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px #24284f17;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 35px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #7367f0, #5145cd);
  box-shadow: 0 7px 20px #5145cd38;
  font-weight: 800;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.brand strong { font-size: 15px; }
.brand small { margin-top: 2px; color: #85899b; font-size: 11px; }

.eyebrow {
  margin: 0 0 7px;
  color: #34a96e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -.035em;
}

.description {
  margin: 9px 0 25px;
  color: #73788c;
  font-size: 13px;
  line-height: 1.6;
}

form { display: grid; gap: 17px; }

label {
  display: grid;
  gap: 7px;
  color: #555a6e;
  font-size: 11px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #dfe1e8;
  border-radius: 8px;
  color: #20243a;
  background: #fff;
  outline: 0;
}

input:focus {
  border-color: #7367f0;
  box-shadow: 0 0 0 4px #7367f017;
}

button {
  height: 44px;
  margin-top: 3px;
  border: 1px solid #5145cd;
  border-radius: 8px;
  color: #fff;
  background: #6256d9;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

button:hover { background: #5145cd; }

.login-error {
  margin: 0 0 18px;
  padding: 11px 12px;
  border-left: 3px solid #cf3545;
  border-radius: 0 7px 7px 0;
  color: #9d2d3b;
  background: #fff1f2;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .login-card { padding: 28px 22px; }
}
