/* Valorix Auth — minimal UI */

:root {
  --navy: #0b1c33;
  --blue: #1a3c6e;
  --gold: #d4af37;
  --gold-hover: #e0bf4d;
  --white: #ffffff;
  --bg: #f4f7fb;
  --soft: #e8eef5;
  --text: #0b1c33;
  --muted: #5a6b80;
  --border: rgba(11, 28, 51, 0.1);
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --ok: #027a48;
  --ok-bg: #ecfdf3;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(212, 175, 55, 0.12), transparent 50%),
    radial-gradient(800px 400px at 0% 100%, rgba(26, 60, 110, 0.1), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(100% - 2rem, 420px);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand:hover {
  text-decoration: none;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 16px 40px rgba(11, 28, 51, 0.06);
}

.card h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.card .sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.alert {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger);
}

.alert-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.stack {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.field input {
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
  color: var(--text);
}

.field input:focus {
  outline: 2px solid rgba(212, 175, 55, 0.55);
  outline-offset: 1px;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-hover);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--soft);
}

.service-list {
  list-style: none;
  margin: 0 0 0.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.service-link:hover {
  text-decoration: none;
  background: var(--white);
  border-color: rgba(26, 60, 110, 0.22);
}

.service-name {
  letter-spacing: -0.02em;
}

.service-go {
  color: var(--muted);
  font-weight: 600;
}

.hub-actions {
  margin-top: 1.15rem;
}

.social-stack {
  display: grid;
  gap: 0.55rem;
}

.btn-social {
  background: var(--white);
  border-color: var(--border);
  color: var(--text);
  justify-content: flex-start;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 600;
}

.btn-social:hover {
  background: var(--soft);
}

.social-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-note {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0.25rem 0;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--border);
}

.links {
  margin-top: 1.15rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.links p {
  margin: 0.35rem 0;
}

.foot {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.foot a {
  color: var(--muted);
}
