/* Bouvy-thema voor de Sozvon-testserver (spreekkamertest.bouvy.nl).
 * Huisstijl: forest-groen is de baas, koper alleen accent, Montserrat voor koppen,
 * Quattrocento Sans voor tekst. Alleen dit bestand en theme.js worden op de server
 * vervangen; de broncode van sozvon blijft zoals hij is. Bron: Projecten/Schermdelen/sozvon-thema/.
 */

@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("fonts/montserrat-500.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-700.ttf") format("truetype"); }
@font-face { font-family: "Quattrocento Sans"; font-weight: 400; font-display: swap; src: url("fonts/quattrocento-400.ttf") format("truetype"); }
@font-face { font-family: "Quattrocento Sans"; font-weight: 700; font-display: swap; src: url("fonts/quattrocento-700.ttf") format("truetype"); }

/* Licht (standaard) */
:root, :root[data-theme] {
  color-scheme: light;
  --bg: #F6F2EA;
  --surface: #FFFFFF;
  --surface-2: #F2E9DA;
  --surface-3: #EFE5D6;
  --text: #1F1F1F;
  --text-2: #5A5A5A;
  --text-3: #6B6B6B;
  --accent: #14463C;
  --accent-contrast: #FFFFFF;
  --accent-hover: #0E3329;
  --accent-soft: #EAF1EE;
  --focus-ring: #C99879;
  --border: #C8BEB2;
  --divider: #E7DFD2;
  --hover: rgba(20, 70, 60, 0.06);
  --hover-strong: rgba(20, 70, 60, 0.12);
  --dock-bg: rgba(255, 255, 255, 0.92);
  --danger: #9E3324;
  --warn: #7C5C0A;
  --ok: #14463C;
  --font: "Quattrocento Sans", "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(8, 36, 32, 0.06), 0 2px 8px rgba(8, 36, 32, 0.05);
  --shadow-2: 0 4px 16px rgba(8, 36, 32, 0.08), 0 12px 32px rgba(8, 36, 32, 0.06);
  --shadow-3: 0 12px 40px rgba(8, 36, 32, 0.14);
}

/* Donker */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #082420;
  --surface: #0E3329;
  --surface-2: #14463C;
  --surface-3: #103C32;
  --text: #F2E9DA;
  --text-2: #C8BEB2;
  --text-3: #A9A196;
  --accent: #C99879;
  --accent-contrast: #082420;
  --accent-hover: #E2C2A8;
  --accent-soft: rgba(201, 152, 121, 0.14);
  --focus-ring: #E2C2A8;
  --border: #2A5A4F;
  --divider: #1B4A40;
  --hover: rgba(242, 233, 218, 0.06);
  --hover-strong: rgba(242, 233, 218, 0.12);
  --dock-bg: rgba(8, 36, 32, 0.92);
  --danger: #E9826E;
  --warn: #E2C2A8;
  --ok: #8FC7B0;
  --shadow-2: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.45);
}

html, body {
  font-family: var(--font);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}

h1, h2, h3, .brand-word, .btn, button, input[type="submit"] {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

/* Merk: het Bouvy-logo in plaats van het Sozvon-woordmerk */
.brand .brand-word { display: none; }
.brand .brand-mark { display: none; }
.bouvy-logo { display: block; height: 44px; width: auto; margin: 0 auto 8px; }
.bouvy-logo--dark { display: none; }
:root[data-theme="dark"] .bouvy-logo--light { display: none; }
:root[data-theme="dark"] .bouvy-logo--dark { display: block; }

/* Knoppen: pill, groen (licht) of koper met donkergroene tekst (donker) */
.btn, input[type="submit"], button.btn {
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover, input[type="submit"]:hover { transform: translateY(-1px); }

/* Formulieren: ruime velden, rustige randen */
input[type="text"], input[type="password"], .form-control {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.7em 0.9em;
  font-size: 1.02em;
}
input[type="text"]:focus, input[type="password"]:focus, .form-control:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: transparent;
}

/* Kaarten en panelen: zacht, veel lucht */
.groups, .home form, .login, .lobby, .panel {
  border-radius: var(--radius-lg);
}

.signature, .signature p {
  color: var(--text-3);
  font-size: 0.85em;
}
.signature a { color: var(--text-2); }

/* Logo en koptekst op de inlogpagina */
.bouvy-logo { height: 72px; margin: 0 0 4px; }
.login-brand { display: flex; justify-content: flex-start; }
.bouvy-kop { margin: 8px 0 28px; }
.bouvy-kop h1 {
  font-size: 2.1em;
  font-weight: 700;
  color: var(--text);
  margin: 0.1em 0 0;
  letter-spacing: -0.01em;
}
.bouvy-kicker {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7A5A40;
  margin: 0;
}
:root[data-theme="dark"] .bouvy-kicker { color: #E2C2A8; }

/* Geen naam- of pincodeveld: de klant klikt op de link. */
#userform, #passwordform, #rememberform, #operator-login, #lobby-note { display: none !important; }
