/* Login page (public, no framework), in the bluebanana-admin style. */
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182033;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 211, 75, 0.18), transparent 28%),
    radial-gradient(circle at 85% 85%, rgba(92, 108, 255, 0.2), transparent 32%),
    #111a33;
}

.card {
  width: min(100%, 460px);
  padding: clamp(1.75rem, 5vw, 3rem);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.login-brand { display: flex; align-items: center; gap: 0.85rem; }

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffd34b;
  color: #111a33;
  box-shadow: 0 10px 24px rgba(255, 211, 75, 0.25);
}

.eyebrow {
  color: #69748d;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: 1.65rem; letter-spacing: -0.03em; }

.lead-text { margin: 1rem 0 1.5rem; color: #69748d; }

form { display: grid; gap: 0.45rem; }
label { font-weight: 600; font-size: 0.92rem; }

input {
  font: inherit;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.6rem;
  border: 1px solid #d7dced;
  border-radius: 0.6rem;
  color: inherit;
}
input:focus { outline: none; border-color: #5261e8; box-shadow: 0 0 0 0.25rem rgba(82, 97, 232, 0.2); }

button {
  font: inherit;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.7rem;
  border: 0;
  border-radius: 0.6rem;
  background: #5261e8;
  color: white;
  cursor: pointer;
}
button:hover { background: #4352d4; }
button:disabled { opacity: 0.6; cursor: default; }

.error {
  margin: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  background: #fbe9e9;
  color: #9b2121;
  font-size: 0.9rem;
}
.error[hidden] { display: none; }
