/* Page specific styles for Devenir bénévole */
.benevoles-page .page-head {
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.5px;
  font-size: clamp(26px, 3.2vw, 40px);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 14px rgba(255, 122, 0, 0.25);
}

.benevoles-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 90px;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.benevoles-fullscreen::before {
  content: "";
  position: absolute;
  margin: 10px 10px inset 0;
  /* Overlay tuned for readability over background image */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.35)
  );
  pointer-events: none;
}

/* Keep image natural for readability */
.benevoles-fullscreen {
  filter: none;
}

.benevoles-fullscreen .blur-shell {
  width: min(1100px, 92%);
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 24px 18px 28px;
  position: relative;
  z-index: 1;
  color: #fff; /* Make normal text white inside content shell */
  line-height: 1.65;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.section-title {
  margin: 26px 0 14px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Russo One", sans-serif;
  position: relative;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, #ff7a00, rgba(255, 122, 0, 0));
  border-radius: 2px;
}

.volunteer-intro p + p {
  margin-top: 8px;
}

.roles-list {
  margin: 10px 0 0 18px;
  list-style: disc;
}
.roles-list li {
  margin: 6px 0;
}

.volunteer-form-section {
  margin-top: 20px;
}
.form-intro {
  opacity: 0.9;
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.form-row {
  display: flex;
  flex-direction: column;
}
.form-row-full {
  grid-column: 1 / -1;
}

.form-row label {
  font-weight: 600;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
}
.form-row select,
.form-row select option {
  color: #111;
  background: #fff;
}
.form-row textarea {
  resize: vertical;
}

.shift-fieldset {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
}
.shift-fieldset legend {
  padding: 0 6px;
  font-weight: 700;
}
.shift-note {
  margin: 6px 0 10px;
  opacity: 0.9;
}

/* Two-column grid for shift groups */
.shifts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shift-group {
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.15) inset,
    0 8px 18px rgba(0, 0, 0, 0.25);
}
.shift-title {
  font-weight: 700;
  margin: 4px 0 8px;
}
.shift-item {
  display: block;
  margin: 6px 0;
  line-height: 1.5;
}
.shift-item input {
  margin-right: 8px;
}
.shift-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.form-actions {
  margin-top: 16px;
}
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #ff7a00;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.35);
}
.submit-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.form-hint {
  margin-top: 6px;
  opacity: 0.85;
}

.success-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 160, 60, 0.2);
  border: 1px solid rgba(0, 160, 60, 0.35);
}

.volunteer-notes ul {
  margin-left: 18px;
  list-style: disc;
}
.volunteer-notes li {
  margin: 6px 0;
}

/* Mailto links highlighted in orange */
.benevoles-page a[href^="mailto:"] {
  color: #ff7a00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Inline choices (Oui/Non) styled as pills */
fieldset.form-row {
  border: none;
  padding: 0;
  margin: 4px 0 8px;
}
fieldset.form-row legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 700;
}
.choices-inline {
  display: flex;
  gap: 10px;
}
.choices-inline label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  user-select: none;
}
.choices-inline input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 25px;
  border-radius: 80%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  display: inline-block;
  position: relative;
}
.choices-inline input[type="radio"]:checked {
  border-color: #ff7a00;
  background: radial-gradient(circle at center, #ff7a00 0 45%, transparent 46%);
}
.choices-inline label:hover {
  background: rgba(255, 255, 255, 0.12);
}
.benevoles-page a[href^="mailto:"]:hover {
  color: #ffa24d;
}

/* General readability tweaks inside the shell */
.benevoles-page .blur-shell p,
.benevoles-page .blur-shell li {
  font-size: 1.02rem;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .shifts-grid {
    grid-template-columns: 1fr;
  }
}
