/* Staff event page restyle (Jordan 2026-11-30): directions A + C + E from the restyle review.
   Loaded by layout/master.blade.php only while EVENT_PAGE_RESTYLE=true (config/event_page.php); with the switch off
   none of these classes are on the page. Markup: components/events/details/accordion-section.blade.php.
   A: a colour rail, tinted header and line icon per section FAMILY (people, place, music, money, ops).
   C: a "N to fill" / "Complete" chip in each header (App\Services\Events\SectionStatus); sections with open items
      get a soft amber outline.
   E: calmer action buttons: the light/outline action buttons share one neutral look; solid primary stays the lead
      action; the traffic-light buttons (success / warning / danger) keep their colour because they ARE the status. */

/* ---- A. Families ---------------------------------------------------------------------------------------------- */
.gfa-rs { --gfa-fam: #98a2b3; --gfa-tint: #f5f6f8; --gfa-tint-hover: #eef0f3; --gfa-tint-dark: #262a30; --gfa-tint-dark-hover: #2b3037; --gfa-fam-dark: #a2a9b3; }
.gfa-fam-people { --gfa-fam: #2f5d8a; --gfa-tint: #eef3f9; --gfa-tint-hover: #e4ecf6; --gfa-tint-dark: #20293a; --gfa-tint-dark-hover: #263145; --gfa-fam-dark: #7fb0e6; }
.gfa-fam-place { --gfa-fam: #2e7d5b; --gfa-tint: #edf6f1; --gfa-tint-hover: #e2f1e8; --gfa-tint-dark: #1f2f27; --gfa-tint-dark-hover: #25382f; --gfa-fam-dark: #6fcf9f; }
.gfa-fam-music { --gfa-fam: #9a6f1f; --gfa-tint: #faf3e4; --gfa-tint-hover: #f5ecd6; --gfa-tint-dark: #332b1c; --gfa-tint-dark-hover: #3c3321; --gfa-fam-dark: #e0b65a; }
.gfa-fam-money { --gfa-fam: #9a4a35; --gfa-tint: #f9eeea; --gfa-tint-hover: #f4e3dd; --gfa-tint-dark: #33231f; --gfa-tint-dark-hover: #3d2a25; --gfa-fam-dark: #e49a85; }
.gfa-fam-ops { --gfa-fam: #5b4a8a; --gfa-tint: #f2eff8; --gfa-tint-hover: #eae5f3; --gfa-tint-dark: #2a2538; --gfa-tint-dark-hover: #322c42; --gfa-fam-dark: #b39ee6; }

.event-accordion-section.gfa-rs {
  border: 1px solid #e9ecf1;
  border-left: 4px solid var(--gfa-fam);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.event-accordion-section.gfa-rs > .event-accordion-header {
  background: var(--gfa-tint);
  border-bottom: 1px solid #eceff3;
}
.event-accordion-section.gfa-rs > .event-accordion-header:hover { background: var(--gfa-tint-hover); }
.event-accordion-section.gfa-rs > .event-accordion-header h4.card-title { font-weight: 650; color: #1d2433; flex-wrap: wrap; row-gap: .25rem; }
.event-accordion-section.gfa-rs > .event-accordion-header .event-accordion-icon { color: var(--gfa-fam); }

.gfa-sec-ico {
  display: inline-grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 8px; background: #fff; color: var(--gfa-fam);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .12);
}
.gfa-sec-ico svg { display: block; }

/* ---- C. Status chips ------------------------------------------------------------------------------------------ */
.gfa-chip {
  display: inline-block; margin-left: .35rem; padding: 3px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em; line-height: 1.3; white-space: nowrap; vertical-align: middle;
}
.gfa-chip-todo { background: #fff4e0; color: #8a5200; box-shadow: inset 0 0 0 1px #f5d49c; }
.gfa-chip-done { background: #e9f6ee; color: #1f6b3a; box-shadow: inset 0 0 0 1px #bfe3cc; }
.event-accordion-section.gfa-rs.gfa-rs-needs { border-color: #f0cf96; border-left-color: var(--gfa-fam); box-shadow: 0 0 0 3px #fff6e6; }
.event-accordion-section.gfa-rs.gfa-rs-needs > .event-accordion-header { background: linear-gradient(90deg, #fffaf0, var(--gfa-tint) 55%); }
.event-accordion-section.gfa-rs.gfa-rs-needs > .event-accordion-header:hover { background: linear-gradient(90deg, #fff4df, var(--gfa-tint-hover) 55%); }

/* ---- E. Calm the buttons -------------------------------------------------------------------------------------- */
/* Neutral action buttons: one white outline look. btn-light with text-muted is a "not needed" state, left alone. */
.gfa-rs-page .btn.btn-light-primary,
.gfa-rs-page .btn.btn-light-secondary,
.gfa-rs-page .btn.btn-secondary,
.gfa-rs-page .btn.btn-dark,
.gfa-rs-page .btn.btn-light:not(.text-muted):not(.btn-icon) {
  background-color: #fff; color: #344054; border: 1px solid #d0d5dd; box-shadow: none;
}
.gfa-rs-page .btn.btn-light-primary:hover, .gfa-rs-page .btn.btn-light-primary:focus-visible,
.gfa-rs-page .btn.btn-light-secondary:hover, .gfa-rs-page .btn.btn-light-secondary:focus-visible,
.gfa-rs-page .btn.btn-secondary:hover, .gfa-rs-page .btn.btn-secondary:focus-visible,
.gfa-rs-page .btn.btn-dark:hover, .gfa-rs-page .btn.btn-dark:focus-visible,
.gfa-rs-page .btn.btn-light:not(.text-muted):not(.btn-icon):hover, .gfa-rs-page .btn.btn-light:not(.text-muted):not(.btn-icon):focus-visible {
  background-color: #f2f4f7; color: #1d2433; border-color: #b9c0cc;
}
.gfa-rs-page .btn.btn-light-primary i, .gfa-rs-page .btn.btn-light-primary .ki-duotone, .gfa-rs-page .btn.btn-light-primary .ki-outline,
.gfa-rs-page .btn.btn-light-secondary i, .gfa-rs-page .btn.btn-secondary i { color: inherit; }
/* Icon-only light buttons (copy, confirm): a quiet outline too, so the green "done" state is the only colour in the row. */
.gfa-rs-page .btn.btn-icon.btn-light:not(.text-muted) { background-color: #fff; border: 1px solid #d0d5dd; color: #667085; }
.gfa-rs-page .btn.btn-icon.btn-light:not(.text-muted):hover { background-color: #f2f4f7; color: #344054; }
.gfa-rs-page .btn.btn-icon.btn-light-primary { color: #344054; }

/* ---- Phones ---------------------------------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .gfa-sec-ico { width: 26px; height: 26px; border-radius: 7px; }
  .gfa-sec-ico svg { width: 16px; height: 16px; }
  .gfa-chip { font-size: .68rem; padding: 2px 7px; }
  .event-accordion-section.gfa-rs { border-left-width: 3px; }
}

/* ---- Dark mode (gfa-dark.css palette) -------------------------------------------------------------------------- */
[data-bs-theme=dark] .event-accordion-section.gfa-rs { border-color: var(--gfa-border, #343a42); border-left-color: var(--gfa-fam-dark); box-shadow: none; }
[data-bs-theme=dark] .event-accordion-section.gfa-rs > .event-accordion-header { background: var(--gfa-tint-dark); border-bottom-color: var(--gfa-border, #343a42); }
[data-bs-theme=dark] .event-accordion-section.gfa-rs > .event-accordion-header:hover { background: var(--gfa-tint-dark-hover); }
[data-bs-theme=dark] .event-accordion-section.gfa-rs > .event-accordion-header .event-accordion-icon { color: var(--gfa-fam-dark); }
[data-bs-theme=dark] .gfa-sec-ico { background: rgba(255, 255, 255, .06); color: var(--gfa-fam-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
[data-bs-theme=dark] .gfa-chip-todo { background: #3a2c10; color: #f0c674; box-shadow: inset 0 0 0 1px #6b4f16; }
[data-bs-theme=dark] .gfa-chip-done { background: #15301f; color: #7fdca3; box-shadow: inset 0 0 0 1px #2c6b43; }
[data-bs-theme=dark] .event-accordion-section.gfa-rs.gfa-rs-needs { border-color: #7a5a1c; border-left-color: var(--gfa-fam-dark); box-shadow: 0 0 0 3px rgba(227, 179, 65, .12); }
[data-bs-theme=dark] .event-accordion-section.gfa-rs.gfa-rs-needs > .event-accordion-header { background: linear-gradient(90deg, #35301f, var(--gfa-tint-dark) 55%); }
[data-bs-theme=dark] .event-accordion-section.gfa-rs.gfa-rs-needs > .event-accordion-header:hover { background: linear-gradient(90deg, #3d3722, var(--gfa-tint-dark-hover) 55%); }
[data-bs-theme=dark] .gfa-rs-page .btn.btn-light-primary,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-light-secondary,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-secondary,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-dark,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-light:not(.text-muted):not(.btn-icon),
[data-bs-theme=dark] .gfa-rs-page .btn.btn-icon.btn-light:not(.text-muted) {
  background-color: var(--gfa-s2, #2b3037); color: var(--gfa-text-2, #b6bcc5); border-color: var(--gfa-border-strong, #434a54);
}
[data-bs-theme=dark] .gfa-rs-page .btn.btn-light-primary:hover,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-light-secondary:hover,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-secondary:hover,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-dark:hover,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-light:not(.text-muted):not(.btn-icon):hover,
[data-bs-theme=dark] .gfa-rs-page .btn.btn-icon.btn-light:not(.text-muted):hover {
  background-color: var(--gfa-s3, #343a42); color: var(--gfa-text, #e6e8eb); border-color: var(--gfa-text-2, #b6bcc5);
}
[data-bs-theme=dark] .gfa-rs-page .btn.btn-icon.btn-light-primary { color: var(--gfa-text-2, #b6bcc5); }
