/* Standalone styles for the sign-in page. Deliberately generic: no product
   name, no imagery, nothing that hints at what the site is for. */
:root {
  --bg: #0b0d12;
  --line: #262f40;
  --text: #eef2f9;
  --dim: #98a4b9;
  --accent: #5b8cff;
  --danger: #ff5d6c;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 15% -10%, rgba(91, 140, 255, 0.14), transparent 60%),
    radial-gradient(700px 480px at 90% 110%, rgba(126, 90, 255, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.wrap { min-height: 100%; display: grid; place-items: center; padding: 28px 20px; }

.card {
  width: min(380px, 100%);
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 32, 45, 0.94), rgba(18, 22, 31, 0.96));
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

h1 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.hint { margin: 0 0 22px; font-size: 13px; color: var(--dim); }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 12px; font-weight: 600; color: var(--dim); margin-bottom: 7px; }
.field input {
  width: 100%;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(9, 12, 18, 0.75);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus { border-color: rgba(91, 140, 255, 0.75); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.16); }

button {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #6e9bff, #4f78f0);
  color: #08101f;
  font-family: inherit;
  font-size: 14px;
  font-weight: 620;
  cursor: pointer;
  transition: filter 0.15s, opacity 0.15s;
}
button:hover { filter: brightness(1.06); }
button:disabled { opacity: 0.55; cursor: progress; }

.form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.4;
  background: rgba(255, 93, 108, 0.12);
  border: 1px solid rgba(255, 93, 108, 0.32);
  color: #ffb3bb;
}
