/* RGAB employee portal stylesheet. Shares brand tokens with the public
   site (see ../../public-site/assets/css/rgab.css for the token source of
   truth — duplicated here rather than cross-linked since the portal may
   deploy to a different path/subdomain than the public site). */

:root {
  --navy: #0C1B2A;
  --gold: #B89555;
  --sand: #E7D8BC;
  --porcelain: #F7F5F0;
  --graphite: #24282C;
  --sage: #8D988C;
  --soft-white: #FFFDF9;
  --font-headline: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;
  --radius: 6px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--porcelain);
}
h1, h2 { font-family: var(--font-headline); color: var(--navy); margin: 0 0 0.5em; }

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card {
  background: var(--soft-white);
  border: 1px solid rgba(12,27,42,0.08);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 400px;
  width: 100%;
}
.login-card img { height: 48px; margin-bottom: 24px; }
.login-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 16px 0 6px;
  color: var(--navy);
}
.login-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(12,27,42,0.2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.login-card button {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.login-card button:hover { opacity: 0.9; }
.login-error {
  background: #fdecec;
  color: #8a1f1f;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-top: 16px;
  display: none;
}
.login-error.visible { display: block; }
.login-note {
  font-size: 0.78rem;
  color: var(--sage);
  margin-top: 24px;
  text-align: center;
}

.dash-header {
  background: var(--navy);
  color: var(--soft-white);
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-header img { height: 32px; }
.dash-header button {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--soft-white);
  padding: 8px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.8rem;
}
.dash-main { padding: 48px 32px; max-width: 960px; margin: 0 auto; }
