.subscriber_id.logout {
	margin-top: 1.5rem;
}
.forgot-password {
	margin-top: 1.5rem;
}
.login-links-wrapper {
	display: flex;
	flex-direction: column;
	padding-top: 10px;
}
.login-links-wrapper a {
	margin-bottom: 5px;
}

/* Phone number validation error styling */
.phone-format.error {
	border-color: #dc3545;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.phone-validation-error {
	color: #dc3545;
	font-size: 0.875rem;
	margin-top: 0.25rem;
	display: block;
}
/* =============================================================================
   "Select All Meetings" — highlighted bar at top of the Meetings details.
   Uses the theme's native .form-item structure; only adds decoration.
   Deliberately narrow selectors so it doesn't affect other .form-item.checkbox
   rows elsewhere in the form.
   ============================================================================= */
#edit-board-and-commission-categories .meetings-select-all-row {
  width: 100% !important;           /* override the theme's 33.33% for parent checkboxes */
  margin: 0 0 18px 0 !important;
  padding: 12px 16px;
  background: linear-gradient(90deg, #f4f7fb 0%, #eaf0f7 100%);
  border: 1.5px solid #1f3f6d;
  border-radius: 6px;
  box-sizing: border-box;
}

#edit-board-and-commission-categories .meetings-select-all-row label {
  font-weight: 700;
  color: #1f3f6d;
  font-size: 16px;
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#edit-board-and-commission-categories .meetings-select-all-toggle {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  accent-color: #1f3f6d;
}

/* Bolden when checked (matches the theme's :has(:checked) pattern used elsewhere) */
#edit-board-and-commission-categories .meetings-select-all-row:has(input:checked) {
  background: linear-gradient(90deg, #e3ecf5 0%, #d3e1ee 100%);
}

/* =============================================================================
   Committee lists — flow long groups into multiple columns.

   The theme sizes each .notification-group-wrapper at 33.33% and forces the
   checkboxes inside to width:100%, so a group with many committees (e.g.
   "Other Committees") renders as one very long single column.

   Groups with more than 8 children get the full row width and flow their
   checkboxes into 2-3 balanced columns. Short groups are left alone so the
   existing three-across layout is preserved.
   ============================================================================= */
#edit-board-and-commission-categories
  .notification-group-wrapper:has(fieldset .form-item:nth-child(9)) {
  width: 100% !important;
}

#edit-board-and-commission-categories
  .notification-group-wrapper:has(fieldset .form-item:nth-child(9))
  fieldset.child-checkbox-group {
  column-count: 3;
  column-gap: 40px;
}

/* Keep each checkbox intact rather than splitting a label across a column. */
#edit-board-and-commission-categories
  .notification-group-wrapper:has(fieldset .form-item:nth-child(9))
  fieldset.child-checkbox-group
  .form-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

@media (max-width: 991px) {
  #edit-board-and-commission-categories
    .notification-group-wrapper:has(fieldset .form-item:nth-child(9))
    fieldset.child-checkbox-group {
    column-count: 2;
    column-gap: 24px;
  }
}

@media (max-width: 575px) {
  #edit-board-and-commission-categories
    .notification-group-wrapper:has(fieldset .form-item:nth-child(9))
    fieldset.child-checkbox-group {
    column-count: 1;
  }
}

/* =============================================================================
   Projects section — strip the leftover Bootstrap panel chrome.

   Every collapsible section on this form is a Drupal `details`, which the
   Bootstrap base theme renders as .panel.panel-default. The theme's compiled
   globals.css already removes the border, radius and shadow from the other
   sections, but its selector list predates the Projects section, so Projects
   alone still shows the default 1px #ddd panel border.

   Scoped by ID so it wins over .panel/.panel-default regardless of load order,
   and kept here rather than in globals.css because that file is compiled output
   — a theme rebuild would drop it.
   ============================================================================= */
#edit-project-subscriptions-wrapper {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
