/* Leadership Page Styles - Button Alignment */

/* Desktop/Tablet: Align Add Leadership Assignment button to the right */
@media (min-width: 576px) {
  /* Card header - ensure horizontal layout with space between */
  .card-header.d-flex.justify-content-between {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Header action button - push to right */
  .card-header > a.btn-primary,
  .card-header > .btn-primary {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    width: auto !important;
  }
}

/* Mobile-only: Align button to the right */
@media (max-width: 575.98px) {
  /* Header action button */
  .card-header > a.btn-primary,
  .card-header > .btn-primary {
    width: 100% !important;
    margin-top: 0.5rem !important;
  }

  /* Card header - stack vertically on mobile */
  .card-header.d-flex.justify-content-between {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

