/* ============================================================
   Volunteer Form Styles
   ============================================================ */

.volunteer-section {
  padding: 140px 0 96px;
  background: var(--bg);
  min-height: 100vh;
}

.volunteer-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.volunteer-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ── Form Styles ─────────────────────────────────────────── */
.volunteer-form {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 24px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field:last-child {
  margin-bottom: 0;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.required {
  color: var(--orange);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text);
  outline: none;
  transition: var(--transition);
  background: white;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Radio & Checkbox Groups ─────────────────────────────── */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
  color: var(--gray-700);
}

.radio-label:hover,
.checkbox-label:hover {
  border-color: var(--orange);
  background: rgba(244, 98, 42, 0.04);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--orange);
}

.radio-label input[type="radio"]:checked + span,
.checkbox-label input[type="checkbox"]:checked + span {
  font-weight: 600;
  color: var(--orange);
}

/* ── File Upload ─────────────────────────────────────────── */
.file-upload-wrapper {
  position: relative;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  border: 2px dashed var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-100);
  text-align: center;
}

.file-upload-label:hover {
  border-color: var(--orange);
  background: rgba(244, 98, 42, 0.04);
}

.file-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.file-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.file-subtext {
  font-size: 13px;
  color: var(--gray-500);
}

.file-name {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(244, 98, 42, 0.08);
  border-radius: 8px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.file-name.active {
  display: block;
}

/* ── Form Actions ────────────────────────────────────────── */
.form-actions {
  margin-top: 40px;
  text-align: center;
}

.form-actions .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.form-privacy {
  font-size: 13px;
  color: var(--gray-500);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.volunteer-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 120px;
}

.sidebar-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.sidebar-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.sidebar-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
}

.sidebar-card p {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.6;
}

.sidebar-list {
  list-style: none;
  padding: 0;
}

.sidebar-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.5;
}

.sidebar-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.sidebar-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.sidebar-steps li {
  counter-increment: step-counter;
  padding: 12px 0;
  padding-left: 36px;
  position: relative;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.5;
}

.sidebar-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .volunteer-form-wrapper {
    grid-template-columns: 1fr;
  }

  .volunteer-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .volunteer-section {
    padding: 120px 0 64px;
  }

  .volunteer-form {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .volunteer-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    padding: 24px;
  }
}
