/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */


/* ── Signup step 2 ────────────────────────────────────────────────────
   Selection state comes from the checked input inside each label, so the
   chips need no JavaScript. That is deliberate: Safari below 16.4 gets no
   import maps and therefore no Stimulus, and this screen still has to work.
   :has() is Safari 15.4+, which is the app's floor. */
.wc-chip:has(:checked) {
  background: #1a1a17;
  border-color: #1a1a17;
  color: #fff;
}
.wc-chip:focus-within {
  outline: 2px solid #1a1a17;
  outline-offset: 2px;
}

/* The date field appears only once "A later date" is the chosen option. */
.wc-avail .wc-avail-date { display: none; }
.wc-avail:has(input[value="later"]:checked) .wc-avail-date { display: block; }
