﻿/*
  Genwo account pages: shared design tokens and a minimal reset (matching the game's tokens.css).
  Every page has its own scoped .cshtml.css file.
*/
:root {
  --parchment: #FBF3E4;
  --paper: #FFFBF2;
  --sand: #FBE8BF;
  --line: #E6D5B8;
  --line-strong: #C8AD86;
  --ink: #3A2A1E;
  --ink-soft: #5E4A3A;
  --ink-muted: #756050;
  --honey: #F5BE4B;
  --honey-deep: #E3A433;
  --amber: #A65A10;
  --leaf-text: #2C7A4B;
  --danger: #D35B4A;
  --danger-soft: #F8DDD6;
  --font-speech: "Marcellus", Georgia, serif;
  --font-ui: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-m: 16px;
  --radius-l: 22px;
  --edge: 0 4px 0 rgba(58, 42, 30, 0.28);
}

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

html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 0%, #fff3cc, var(--parchment) 55%) fixed;
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

h1, h2, p { margin: 0; }
a { color: var(--amber); font-weight: 800; }
:focus-visible { outline: 3px solid #5B9BE0; outline-offset: 2px; }

/* Form controls shared by every page. */
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: 0.9rem; }
.field input {
  height: 50px;
  padding: 0 14px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  outline: none;
}
.field input:focus { border-color: var(--honey-deep); box-shadow: 0 0 0 3px rgba(245, 190, 75, 0.35); }
.field .hint { font-size: 0.8rem; color: var(--ink-muted); }
.field .error, .field-validation-error { font-size: 0.82rem; font-weight: 700; color: #a3392a; }

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-m);
  background: var(--honey);
  box-shadow: 0 4px 0 var(--honey-deep), 0 5px 0 var(--ink);
  font: inherit;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.button.secondary { background: var(--paper); box-shadow: 0 4px 0 var(--line-strong), 0 5px 0 var(--ink); }

.validation-summary { padding: 10px 14px; border-radius: 12px; background: var(--danger-soft); color: #8e2e20; font-weight: 700; font-size: 0.9rem; }
.validation-summary ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
