/* United Freelancers — Shared Styles */
:root {
  --bg: #fafaf9;
  --text: #1c1917;
  --text-muted: #57534e;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --border: #e7e5e4;
  --card-bg: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container { max-width: 640px; margin: 0 auto; padding: 2rem 1.5rem; }

/* Header */
header {
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}

header .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

/* Main content */
main { padding: 2rem 0 4rem; }

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Cards */
.card, .form-page, .content-page, .thank-you {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

/* Error banner */
.error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.error-banner a { color: #dc2626; font-weight: 600; }

/* Form */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.hint {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Submit */
.submit-button {
  display: inline-block;
  width: 100%;
  background: var(--accent);
  color: white;
  padding: 0.85rem;
  border: none;
  border-radius: 9999px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-button:hover { background: var(--accent-hover); }
.submit-button:disabled { opacity: 0.6; cursor: not-allowed; }

/* Thank you */
.thank-you {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you h1 {
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Content page (voorwaarden) */
.content-page h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.content-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 1.5rem;
}

.content-page p { margin-bottom: 0.75rem; }

.content-page ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-page ol li { margin-bottom: 0.35rem; }

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
