:root{
  --brand-gold: #fcbf07;
  --warm-coral: #ff7a42;
  --soft-blush: #ffd6b5;
  --warm-cream: #fff6ec;
  --text-dark: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;

  /* Spacing & layout */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --radius: 10px;
  --container-max: 1100px;
  --focus-ring: 3px;
  --input-height: 46px;
  --button-height: 48px;
}

/* Base reset + typography */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--text-dark);
  background: linear-gradient(180deg, var(--warm-cream) 0%, #fffaf0 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.4;

}

.volunteer-form{
  padding:24px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.wrap{
  width:100%;
  max-width:var(--container-max);
  background:var(--white);
  border-radius:14px;
  box-shadow:0 6px 30px rgba(31,41,55,0.08);
  padding:28px;
  margin:20px;
}

header.form-header{
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:var(--space-lg);
}

.brand-badge{
  width:64px;
  height:64px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--brand-gold), var(--warm-coral));
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
  font-weight:700;
  font-size:20px;
  box-shadow:0 6px 14px rgba(252,191,7,0.18);
}

h1{
  margin:0;
  font-size:20px;
  letter-spacing: -0.2px;
  color:var(--text-dark);
}

p.lead{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
}

form{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:24px;
  align-items:start;
}

/* Main column */
.main {
  min-width:0;
}

.card {
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,250,245,0.95));
  padding:18px;
  border-radius: var(--radius);
  border:1px solid rgba(31,41,55,0.04);
  box-shadow: 0 4px 18px rgba(31,41,55,0.04);
}

label{
  display:block;
  font-weight:600;
  font-size:13px;
  margin-bottom:6px;
  color:var(--text-dark);
}

.required { color: var(--warm-coral); margin-left:6px; font-weight:700; font-size:12px; vertical-align:middle }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width:100%;
  font-size:15px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(31,41,55,0.08);
  background:var(--white);
  height:var(--input-height);
  color:var(--text-dark);
  transition:box-shadow .12s, border-color .12s;
}

textarea{min-height:120px; height:auto; padding-top:12px; padding-bottom:12px; resize:vertical}

.helper{
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}

.row{
  margin-bottom:14px;
}

.small{
  font-size:13px;
  color:var(--muted);
}

/* Two-column fields inside main column */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}

/* Options lists */
.option-list{display:flex;flex-wrap:wrap;gap:8px}
.option{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--soft-blush);
  padding:8px 10px;
  border-radius:999px;
  font-size:14px;
  color:var(--text-dark);
  cursor:pointer;
  border:1px solid rgba(31,41,55,0.03);
}
.option input{accent-color:var(--brand-gold)}

/* Sidebar */
.side {
  position:sticky;
  top:28px;
  align-self:start;
}
.side .card{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* Buttons */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  height:var(--button-height);
  padding:0 18px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  font-size:15px;
}

.btn-primary{
  background:linear-gradient(90deg,var(--brand-gold),var(--warm-coral));
  color:var(--white);
  box-shadow: 0 8px 20px rgba(252,191,7,0.14);
}

.btn-ghost{
  background:transparent;
  color:var(--brand-gold);
  border:1px solid rgba(252,191,7,0.18);
}

.btn[disabled]{opacity:.6;cursor:not-allowed}

/* Focus styles (accessible/high-contrast) */
:focus{
  outline:none;
}
input:focus, textarea:focus, select:focus, .btn:focus {
  box-shadow: 0 0 0 var(--focus-ring) rgba(252,191,7,0.15);
  border-color:var(--brand-gold);
}

/* Error */
.error{
  color: #b91c1c;
  font-size:13px;
  margin-top:8px;
}

/* Privacy */
.privacy{font-size:13px;color:var(--muted);margin:0}

/* Success message */
.success {
  padding:12px;
  border-radius:10px;
  background: linear-gradient(90deg, rgba(124,58,237,0.06), rgba(252,191,7,0.06));
  border:1px solid rgba(124,58,237,0.06);
  color:var(--text-dark);
  font-weight:600;
}

/* Responsive */
@media (max-width:980px){
  form{grid-template-columns:1fr; padding-bottom:8px}
  .side{position:static}
}

@media (max-width:420px){
  .brand-badge{width:52px;height:52px;font-size:18px}
  body{padding:16px}
}

/* Tiny helper for required legend */
.legend{font-size:13px;color:var(--muted);margin-bottom:10px}
.muted-block{font-size:13px;color:var(--muted)}
.inline-note{font-size:13px;color:var(--muted);margin-top:6px}
