
/* ---------- Base Layout ---------- */
body {
  max-width: 720px;
  margin: 2rem auto;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f9fafb;
  color: #111827;
  text-align: center;
}

/* ---------- Header ---------- */
header {
  margin-bottom: 2rem;
}
header img {
  max-height: 80px;
  margin-bottom: 0.5rem;
}
header h1 {
  margin: 0;
  font-size: 1.6rem;
  color: #1f2937;
}

/* ---------- Cards ---------- */
.card {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: left; /* keep content aligned */
}

/* --- Center index card content */
.card.choice {
  text-align: center;
}

/* --- Center cards in search_member */
.card.member-result {
  text-align: center;
}

/* ---------- Headings ---------- */
h2, h3, h4 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #1f2937;
  text-align: center;
}

/* ---------- Buttons ---------- */
a.button, button {
  display:inline-block;
  margin-top: 1rem;
  padding: .8rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}

/* Primary button */
a.button, button {
  background: #2563eb;
  color: #fff;
  border: none;
}
a.button:hover, button:hover {
  background: #1d4ed8;
}

/* Secondary / outline button */
a.button.outline {
  background: transparent;
  border: 2px solid #2563eb;
  color: #2563eb;
}
a.button.outline:hover {
  background: #2563eb;
  color: #fff;
}

/* ---------- Inputs & Dropdowns ---------- */
input[type="text"],
input[type="email"],
input[type="password"],
select {
  padding: .7rem;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  outline: none;
}
input[type="date"],
select {
  padding: .7rem;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* ---------- Checkbox ---------- */
input[type="checkbox"] {
  transform: scale(1.3);
  margin-right: .5rem;
  accent-color: #2563eb; /* supported in modern browsers */
}

/* ---------- Labels ---------- */
label {
  display:block;
  margin:.5rem 0 .25rem;
  font-weight:600;
}

/* ---------- Misc ---------- */
.muted {
  color:#6b7280;
  font-size:.9rem;
}
