/* Generate Kindness — Global Styles */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  background: #fffef8;
  color: #1a1a1a;
  line-height: 1.6;
}

a { color: #D62828; }
a:hover { color: #b81f1f; }

/* Nav */
.nav { background: #fff; border-bottom: 1px solid #eee; padding: 0.875rem 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-brand img { height: 36px; border-radius: 6px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: #333; text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.nav-links a:hover { color: #D62828; }

/* Buttons */
.btn { display: inline-block; cursor: pointer; text-decoration: none; font-weight: 600; border: none; border-radius: 8px; padding: 0.75rem 1.75rem; font-size: 1rem; transition: background 0.15s; }
.btn-primary { background: #D62828; color: #fff; }
.btn-primary:hover { background: #b81f1f; color: #fff; }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }
.btn-secondary { background: #f3f4f6; color: #333; }
.btn-secondary:hover { background: #e5e7eb; }

/* Containers */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* Form elements */
input, select, textarea {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #D62828;
  box-shadow: 0 0 0 3px rgba(214,40,40,0.15);
}
input::placeholder, textarea::placeholder { color: #9ca3af; }
label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.375rem; color: #333; }

/* Form error */
.form-error {
  background: #fff;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: #c0392b;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

/* Footer */
.footer { background: #f9f9f9; border-top: 1px solid #eee; padding: 2rem 0; text-align: center; }
.footer-bottom p { color: #999; font-size: 0.875rem; margin: 0; }
.footer a { color: #D62828; text-decoration: none; }
.footer a:hover { text-decoration: underline; }