:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101828;
  background: #f4f6fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(103, 80, 255, 0.10), transparent 34rem),
    #f4f6fb;
}

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

.login-card {
  width: min(100%, 430px);
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #101828;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #6f4cff, #1f9cff);
  box-shadow: 0 8px 18px rgba(91, 87, 255, 0.22);
}

.login-copy {
  margin: 34px 0 26px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #7a82a1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.login-copy p:last-child {
  margin: 10px 0 0;
  color: #77809b;
  line-height: 1.55;
}

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

label {
  display: grid;
  gap: 8px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 48px;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: #101828;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

input:focus {
  border-color: #7357ff;
  box-shadow: 0 0 0 4px rgba(115, 87, 255, .10);
}

button {
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #6f4cff, #5a64ff);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(99, 82, 255, .20);
}

button:disabled {
  opacity: .65;
  cursor: wait;
}

.login-error {
  padding: 12px 14px;
  border-radius: 11px;
  color: #b42318;
  background: #fff2f0;
  border: 1px solid #ffd5d0;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .login-shell { padding: 18px; }
  .login-card { padding: 26px 22px; border-radius: 20px; }
}
