/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

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

* { box-sizing: border-box; }
body { margin: 0; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: radial-gradient(circle at top, #e9f4ff 0, #f4f7fb 42%, #eef2f8 100%);
}

.auth-card {
  width: min(100%, 430px);
  padding: 36px;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(31, 45, 72, 0.12);
}

.auth-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
}

.auth-eyebrow {
  margin: 24px 0 6px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-card h1 { margin: 0; font-size: 30px; }
.auth-copy { margin: 10px 0 26px; color: #64748b; line-height: 1.55; }
.auth-form { display: grid; gap: 18px; }
.auth-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.auth-form input:not([type="submit"]) {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font: inherit;
}
.auth-form input:focus { border-color: #2563eb; outline: 3px solid rgba(37, 99, 235, 0.12); }
.auth-form input[type="submit"] {
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.auth-form input[type="submit"]:hover { background: #1d4ed8; }
.auth-help, .auth-private { color: #64748b; font-size: 12px; line-height: 1.45; }
.auth-help { margin: 7px 0 0; }
.auth-private { margin: 24px 0 0; text-align: center; }
.flash-stack { position: fixed; z-index: 10; top: 18px; left: 50%; width: min(90%, 430px); transform: translateX(-50%); }
.flash { padding: 12px 15px; border: 1px solid #fecaca; border-radius: 9px; background: #fff1f2; color: #9f1239; font-size: 14px; box-shadow: 0 8px 30px rgba(31, 45, 72, 0.1); }
.flash.notice { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
