/* Hide the webform title */
.field--name-field-main-content 
  .field-collection-view .webform 
  .field--name-field-content-title h2 {
  display: none;
}

/* ==================== WAS THIS HELPFUL - FIXED RECTANGULAR BUTTONS ==================== */

.webform-options-display-buttons-wrapper {
  display: flex;
  gap: 28px;
  margin: 2rem 0 2.2rem 0;
  flex-wrap: wrap;
}

/* Rectangular buttons - No border, proper hover & selected state */
.webform-options-display-buttons-label {
  display: inline-flex !important;
  align-items: center;
  gap: 16px !important;
  padding: 10px 10px !important;
  font-size: 1.72rem !important;
  font-weight: 600 !important;
  color: #1e2937;
  border: none !important;
  background: transparent !important;
  border-radius: none !important;        /* Rectangular with soft corners */
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  justify-content: center;
  box-shadow: none !important;
  outline: none !important;
}

/* Hover state */
.webform-options-display-buttons-label:hover {
  background: #f5f5f5 !important;
}

/* Selected state */
input[value="yes"]:checked + .webform-options-display-buttons-label,
input[value="no"]:checked + .webform-options-display-buttons-label {
  background: #f5f5f5 !important;
  color: #1e2937 !important;
}

/* Emojis */
.webform-options-display-buttons-label[for*="yes"]::before {
  content: "👍" !important;
  font-size: 2.85rem !important;
}

.webform-options-display-buttons-label[for*="no"]::before {
  content: "👎" !important;
  font-size: 2.85rem !important;
}

/* Question text - same large size */
#edit-was-helpful-wrapper legend,
.webform-element--radios label[for^="edit-was-helpful"],
#edit-was-helpful-wrapper .fieldset-legend,
.fieldset-legend {
  font-size: 1.72rem !important;
  font-weight: 700 !important;
  color: #1e2937;
  margin-bottom: 1.4rem;
}

/* ==================== FINAL POLISHED + TIGHT CHECKBOXES ==================== */

/* === YES / NO BUTTONS === */
.webform-options-display-buttons-wrapper {
  display: flex;
  gap: 28px;
  margin: 2rem 0 2.2rem 0;
}

.webform-options-display-buttons-label {
  display: inline-flex !important;
  align-items: center;
  gap: 16px;
  padding: 18px 38px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.28rem !important;
  font-weight: 600;
  color: #1e2937;
  border-radius: 50px;
}

.webform-options-display-buttons-label:hover {
  background: #f8fafc !important;
  transform: translateY(-3px);
}

input[value="yes"]:checked + .webform-options-display-buttons-label,
input[value="no"]:checked + .webform-options-display-buttons-label {
  background: #f5f5f5 !important;
  color: #10b981;
}

/* Large Emojis */
.webform-options-display-buttons-label[for*="yes"]::before,
.webform-options-display-buttons-label[for*="no"]::before {
  font-size: 2.65rem;
  line-height: 1;
}

/* ==================== WHAT COULD WE IMPROVE? - TIGHTER ==================== */

#edit-improvement-areas-wrapper {
  margin-top: 1.5rem;
  padding: 1.6rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

#edit-improvement-areas-wrapper label {
  font-size: 1.16rem;
  font-weight: 600;
  color: #1e2937;
  margin-bottom: 0.9rem;
}

/* TIGHT CHECKBOX GRID */
#edit-improvement-areas-checkboxes,
.js-webform-checkboxes {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 2px 20px !important;           /* Much tighter vertical gap */
  margin: 8px 0 !important;
}

/* Minimal spacing on each item */
#edit-improvement-areas-checkboxes .form-item,
.js-form-type-checkbox {
  margin: 0 !important;
  padding: 2px 0 !important;
  min-height: auto !important;
}

/* Small checkboxes */
#edit-improvement-areas-checkboxes input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 8px 0 0 !important;
}

/* Normal label size */
#edit-improvement-areas-checkboxes label,
#edit-improvement-areas-checkboxes .control-label {
  font-size: 1.3rem !important;
  line-height: 1.4;
}