/* ==========================================================================
   Artists Camp — plugin-rendered components
   Owned by artists-camp-core (shortcodes): [ac_cohort_cards],
   [ac_contact_form], [ac_starter_kit_form]. Design tokens mirror the 3.0
   inline styles (Camp dates band + Contact/StarterKit cards).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Cohort date cards (Camp "Upcoming dates" idiom — dark band context)
   -------------------------------------------------------------------------- */

.ac-cohort-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

.ac-cohort-card {
  background: #243047;
  border-radius: 16px;
  border-top: 3px solid #33b5e5;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ac-cohort-card--intro { border-top-color: #33b5e5; }
.ac-cohort-card--intensive { border-top-color: #ffb000; }
.ac-cohort-card--masterclass { border-top-color: #ff5a5f; }
.ac-cohort-card--mastermind { border-top-color: #2447c6; }

.ac-cohort-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #33b5e5;
}

.ac-cohort-card--intro .ac-cohort-card__tag { color: #33b5e5; }
.ac-cohort-card--intensive .ac-cohort-card__tag { color: #ffb000; }
.ac-cohort-card--masterclass .ac-cohort-card__tag { color: #ff5a5f; }
.ac-cohort-card--mastermind .ac-cohort-card__tag { color: #8ba3f0; }

.ac-cohort-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ac-cohort-card__label {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

.ac-cohort-card__seats {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.ac-cohort-card__seats--open { color: #0b7d58; background: #ddf7ec; }
.ac-cohort-card__seats--low { color: #9a6200; background: #fff1cc; }
.ac-cohort-card__seats--wait { color: #d7374f; background: #ffe6e7; }

.ac-cohort-card__long {
  font-size: 13px;
  color: #cdd4df;
  line-height: 1.5;
}

.ac-cohort-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.ac-cohort-card__price {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.ac-cohort-card__cta {
  display: inline-block;
  background: #ffffff;
  color: #111827;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
}

.ac-cohort-cards--empty {
  grid-template-columns: 1fr;
}

.ac-cohort-cards__none {
  margin: 0;
  padding: 20px;
  border-radius: 16px;
  background: #243047;
  color: #cdd4df;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Forms (Contact + Starter Kit cards)
   -------------------------------------------------------------------------- */

.ac-form-card {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: clamp(22px, 3.5vw, 32px);
  display: flex;
  flex-direction: column;
}

.ac-form-card--kit {
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
}

.ac-form-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

.ac-form-card--kit form {
  gap: 16px;
}

.ac-form-card form[hidden],
.ac-form__success[hidden],
.ac-form__error[hidden] {
  display: none;
}

.ac-form__label,
.ac-field label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.ac-form__label--kit {
  font-size: 15px;
}

.ac-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ac-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.ac-in {
  padding: 13px 15px;
  border: 1.5px solid #cdd4df;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #111827;
  background: #ffffff;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.ac-in:focus {
  border-color: #2447c6;
}

textarea.ac-in {
  resize: vertical;
  line-height: 1.5;
}

.ac-in--lg {
  padding: 14px 16px;
  font-size: 16px;
}

/* Topic pills — radio inputs styled as the Contact page's pressed pills. */

.ac-form__topics {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-inline-size: 0;
}

.ac-form__topics legend {
  padding: 0;
}

.ac-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ac-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.ac-pill span {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #cdd4df;
  background: #ffffff;
  color: #243047;
  cursor: pointer;
  min-height: 44px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ac-pill input:checked + span {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.ac-pill input:focus-visible + span {
  outline: 2px solid #2447c6;
  outline-offset: 2px;
}

/* Buttons */

.ac-btn {
  border: none;
  border-radius: 8px;
  padding: 15px 26px;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ac-btn--cobalt {
  background: #2447c6;
  color: #ffffff;
  align-self: flex-start;
}

.ac-btn--green {
  background: #19a974;
  color: #ffffff;
  padding: 15px 24px;
}

/* Error + success states */

.ac-form__error {
  font-size: 13.5px;
  color: #d7374f;
  font-weight: 500;
}

.ac-form__success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}

.ac-form__check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ddf7ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #0b7d58;
  font-weight: 700;
}

.ac-form__success-title {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #111827;
}

.ac-form__success-sub {
  font-size: 15px;
  color: #516078;
  line-height: 1.5;
}

.ac-form__fine {
  font-size: 12.5px;
  color: #8b97aa;
  line-height: 1.5;
}

/* Honeypot — visually gone, still in the accessibility-hidden DOM for bots. */

.ac-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}
