/* =========================================================
   StatCPR – Group / Company Request Form
   High-contrast pill buttons (clear checked vs unchecked)
   ========================================================= */

/* ---------------------------------------------------------
   Card styling
--------------------------------------------------------- */
.request-card {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.request-card h2,
.request-card .h4 {
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------
   Labels & inputs
--------------------------------------------------------- */
.request-card .form-label {
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: rgba(0, 0, 0, 0.80);
}

.request-card .form-control,
.request-card textarea {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.request-card .form-control:focus,
.request-card textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.18);
}

/* ---------------------------------------------------------
   UNIQUE Pill / Button Control Style
   CLEAR contrast: gray = unchecked, blue = checked
--------------------------------------------------------- */

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Label becomes the button */
.pill-option {
  position: relative;
  cursor: pointer;
}

/* Hide native input */
.pill-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 🔹 UNCHECKED STATE */
.pill-option span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #f1f3f5;                /* LIGHT GRAY */
  font-weight: 500;
  font-size: 0.9rem;
  color: #212529;                     /* DARK TEXT */
  transition: all 0.15s ease;
  user-select: none;
}

/* Hover on unchecked */
.pill-option:hover span {
  background: #e9ecef;
}

/* 🔵 CHECKED STATE — STRONG CONTRAST */
.pill-option input:checked + span {
  background: #0d6efd;                /* SOLID BLUE */
  border-color: #0d6efd;
  color: #ffffff;                     /* WHITE TEXT */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(13, 110, 253, 0.4);
  font-weight: 600;
}

/* Hover on checked */
.pill-option input:checked + span:hover {
  background: #0b5ed7;
}

/* Keyboard focus */
.pill-option input:focus + span {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(13, 110, 253, 0.35);
}

/* ---------------------------------------------------------
   Submit button (solid, calm, intentional)
--------------------------------------------------------- */
.submit-btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.submit-btn.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.submit-btn.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0b5ed7;
}

/* ---------------------------------------------------------
   Gentle phone-required nudge
--------------------------------------------------------- */
.phone-attn {
  border-color: #0d6efd !important;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.18) !important;
}

.phone-hint {
  color: rgba(0, 0, 0, 0.60);
  margin-top: 0.35rem;
}

/* ---------------------------------------------------------
   Mobile tightening
--------------------------------------------------------- */
@media (max-width: 575.98px) {
  .request-card .card-body {
    padding: 1.25rem !important;
  }
}

/* Scope only to the content/FAQ sections */
.course-section {
  padding: 1.25rem 0;
}

/* Visually separate the two sections from each other */
.course-section + .course-section {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Match card feel with the form */
.course-section .card {
  border-radius: 18px;
}

/* Optional: make FAQ feel anchored on desktop */
@media (min-width: 992px) {
  .course-section aside {
    position: sticky;
    top: 1rem;
  }
}

