.accordion__summary {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-md);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-speed) ease-in-out;

  &:hover {
    background-color: var(--color-background-hover);
  }
}

summary::-webkit-details-marker {
  display: none;
}

/* Hide in Firefox & other browsers supporting ::marker */
summary::marker {
  content: none;
}

/* Fallback in case list-style is used */
summary {
  list-style: none;
}

.accordion__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
}

.accordion__description {
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

.accordion__icon-container {
  margin-left: var(--spacing-lg);
  display: flex;
  align-items: center;
}

.accordion__icon {
  display: block;
  height: var(--spacing-lg);
  width: var(--spacing-lg);
  color: var(--color-text-tertiary);
  transition: all var(--transition-speed) ease-in-out;
}

.accordion__summary:hover .accordion__icon {
  color: var(--color-text-secondary);
}

.accordion__item {
  background-color: var(--color-background);
  overflow: hidden;
}

.accordion__item[open] {
  box-shadow: var(--shadow-sm);

  .accordion__icon {
    transform: rotate(90deg);
    color: var(--color-primary);
  }

  .accordion__summary {
    background-color: var(--color-background-secondary);
  }
}

.accordion__content {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  padding: var(--spacing-md);
  background-color: var(--color-background);
}


.agreement {
  max-width: clamp(20rem, 90%, 60rem);
  margin: auto;
  padding-bottom: 0rem;

  .page-heading {
    margin: 0 auto;
    text-align: center;
    border-bottom: 1px solid var(--border-color);

    h1 {
      font-size: 1rem;
    }
  }
}

.agreement__content {
  grid-area: content;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  padding: 2rem;
}

.agreement__content--content-only {
  grid-template-columns: 1fr;
  max-width: 48rem;
  margin: auto;
}

.agreement-form {
  padding-top: 2rem;
  position: sticky;
  top: 6rem;
  align-self: start;
  height: fit-content;
  background-color: #fff;
  padding: 1.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e0e0e0;
}

@media (max-width: 48rem) {
  .agreement__content {
    padding: 1rem;
    grid-template-columns: 1fr;
    grid-template-areas:
      "details"
      "sidebar";
  }
}


.alert {
  padding: var(--spacing-md);
  background-color: var(--alert-background-color);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.alert--modal {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid var(--alert-border-color);
}

.alert__content {
  display: flex;
}

.alert__icon {
  flex-shrink: 0;
  margin-top: var(--spacing-xs);
}

.alert__svg {
  height: var(--spacing-lg);
  width: var(--spacing-lg);
  color: var(--alert-icon-color);
}

.alert__text {
  margin-left: var(--spacing-md);
}

.alert__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--alert-title-color);
}

.alert__message {
  margin-top: var(--spacing-sm);
  font-size: var(--font-size-sm);
  color: var(--alert-message-color);
}

.alert--success {
  --alert-background-color: color-mix(in srgb, var(--color-success) 15%, white);
  --alert-title-color: color-mix(in srgb, var(--color-success) 85%, black);
  --alert-message-color: color-mix(in srgb, var(--color-success) 70%, black);
  --alert-icon-color: var(--color-success);
  --alert-border-color: color-mix(in srgb, var(--color-success) 30%, white);
}

.alert--warning {
  --alert-background-color: color-mix(in srgb, var(--color-warning) 15%, white);
  --alert-title-color: color-mix(in srgb, var(--color-warning) 85%, black);
  --alert-message-color: color-mix(in srgb, var(--color-warning) 70%, black);
  --alert-icon-color: var(--color-warning);
  --alert-border-color: color-mix(in srgb, var(--color-warning) 30%, white);
}

.alert--danger {
  --alert-background-color: color-mix(in srgb, var(--color-error) 15%, white);
  --alert-title-color: color-mix(in srgb, var(--color-error) 85%, black);
  --alert-message-color: color-mix(in srgb, var(--color-error) 70%, black);
  --alert-icon-color: var(--color-error);
  --alert-border-color: color-mix(in srgb, var(--color-error) 30%, white);
}

.alert--info {
  --alert-background-color: color-mix(in srgb, var(--color-info) 15%, white);
  --alert-title-color: color-mix(in srgb, var(--color-info) 85%, black);
  --alert-message-color: color-mix(in srgb, var(--color-info) 70%, black);
  --alert-icon-color: var(--color-info);
  --alert-border-color: color-mix(in srgb, var(--color-info) 30%, white);
}

/* Banner Component */
.banner {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-lg);
}

.banner--indigo {
  background-color: var(--color-primary);
}

.banner__text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  color: var(--color-text-inverse);
}

.banner__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.banner__title {
  font-weight: var(--font-weight-semibold);
}

.banner__separator {
  width: 0.125rem;
  height: 0.125rem;
  margin: 0 0.5rem;
  background-color: currentColor;
  border-radius: 50%;
  display: inline-block;
}

.banner__arrow {
  margin-left: 0.25rem;
}

.banner__actions {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}

.banner__dismiss {
  margin: -0.75rem;
  padding: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
}

.banner__dismiss:focus-visible {
  outline-offset: -4px;
}

.banner__dismiss-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.banner__dismiss-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

@media (max-width: 640px) {
  .banner {
    padding: 0.625rem 0.875rem;
  }
}


.appointment-types {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 1.5rem;
}

@media (min-width: 40rem) {
  .appointment-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .appointment-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.appointment-type {
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.appointment-type-details {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}

.appointment-type__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading-font-color);
  margin-bottom: 0.5rem;
}

.appointment-type__toolbar {
  padding: 1rem;
  gap: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-color);
}

.appointment-type__items {
  background: #f7f7f7;
  padding: 0rem 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.appointment-type__item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5rem;
}

.appointment-type__item svg{
  width: 1.25rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.appointment-type__item span {
  font-size: 0.9375rem;
  color: var(--text-font-color);
  line-height: 1.75rem;
}

.appointment-calendar {
  max-width: 320px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #ffffff;
  font-family: sans-serif;
  color: #111827;
}

/* Navigation */
.appointment-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.appointment-calendar__nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  margin: -0.375rem;
  font-size: 1.25rem;
  color: #6b7280;
  text-decoration: none;
  border-radius: 0.375rem;
}

.appointment-calendar__nav-button:hover {
  color: #4b5563;
}

.appointment-calendar__title {
  flex: 1;
  text-align: center;
  font-weight: 600;
}

/* Weekday row */
.appointment-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

/* Dates grid */
.appointment-calendar__dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin-top: 0.5rem;
  background: #e5e7eb;
}

.appointment-calendar__date {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  background: #f9fafb;
  text-decoration: none;
  color: #374151;
  font-size: 0.875rem;
  position: relative;
}

.appointment-calendar__date:hover {
  background: #f3f4f6;
}

/* Modifier: days not in current month */
.appointment-calendar__date--other-month {
  color: #d1d5db;
}

/* Modifier: today */
.appointment-calendar__date--today {
  background: #ffffff;
  border: 1px solid #3b82f6;
  color: #1f2937;
}

/* Modifier: selected day */
.appointment-calendar__date--selected {
  background: #2563eb;
  color: #ffffff;
}


body.registrations-controller .header__container,
body.password_resets-controller .header__container,
body.waivers-controller .header__container,
body.logins-controller .header__container {
  display: none;
}

body.registrations-controller,
body.password_resets-controller,
body.waivers-controller,
body.logins-controller {
  padding-top: 0;
  background-color: var(--color-background-secondary);
}

.auth__page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-md);
}

.auth__container {
  width: min(28rem, 100%);
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-background-secondary);
  box-shadow: var(--shadow-lg);
}

.auth__container--full {
  width: 100%;
  max-width: none;
  border: none;
}

.auth {
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  background: var(--color-background);
}

.auth__logo {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.auth__logo img {
  height: 2.5rem;
}

.auth__title {
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  text-align: center;
}

.auth__subtitle {
  margin-top: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-align: center;
}

.auth__links {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.auth__link {
  padding: var(--spacing-md) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-speed) ease-in-out;
}

.auth__link:last-child {
  border-bottom: none;
}

.auth__link a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-speed) ease-in-out;

  &:hover {
    color: var(--color-primary-dark);
  }
}

@media (max-width: 40rem) {
  .auth__page {
    padding: var(--spacing-sm);
    align-items: flex-start;
  }

  .auth__container {
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .auth {
    padding: var(--spacing-md);
  }
}


.btn {
  align-items: center;
  background-color: var(--primary-button-background-color);
  color: var(--primary-button-font-color);
  border: 1px solid;
  border-color: var(--primary-button-border-color);
  border-radius: var(--button-radius);
  cursor: pointer;
  display: inline-flex;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-snug);
  font-weight: var(--font-weight-medium);
  justify-content: center;
  height: 2.5rem; /* 40px */
  padding: 0 var(--spacing-md);
  text-align: center;
  white-space: nowrap;

  &:hover {
    /*darken the background color*/
    background-color: color-mix(in srgb, var(--primary-button-background-color) 85%, black);

    /*background-color: var(--color-primary-dark);*/
    /*color: var(--color-text-inverse);*/
    /*border-color: var(--color-primary-dark);*/
  }

  &:disabled {
    opacity: 0.5;
    pointer-events: none;
  }
}

.btn--secondary {
  background-color: var(--secondary-button-background-color);
  color: var(--secondary-button-font-color);
  border-color: var(--secondary-button-border-color);

  &:hover {
    background-color: color-mix(in srgb, var(--secondary-button-background-color) 85%, black);
    /*background-color: var(--color-secondary-dark);*/
    /*color: var(--color-text-inverse);*/
    /*border-color: var(--color-secondary-dark);*/
  }
}

.btn--positive {
  background-color: var(--color-success);
  color: var(--color-text-inverse);
  border-color: var(--color-success);

  &:hover {
    background-color: color-mix(in srgb, var(--color-success) 85%, black);
    border-color: color-mix(in srgb, var(--color-success) 85%, black);
  }
}

.btn--negative {
  background-color: var(--color-error);
  color: var(--color-text-inverse);
  border-color: var(--color-error);

  &:hover {
    background-color: color-mix(in srgb, var(--color-error) 85%, black);
    border-color: color-mix(in srgb, var(--color-error) 85%, black);
  }
}

.btn--cancel {
  background-color: var(--color-background);
  color: var(--color-text-secondary);
  border-color: var(--color-border);

  &:hover {
    background-color: var(--color-background-secondary);
  }
}

.btn--link {
  background-color: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
  padding: var(--spacing-xs) var(--spacing-sm);

  &:hover {
    color: var(--color-text-primary);
    background-color: var(--color-background-secondary);
  }
}

.btn--icon {
  background-color: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
  border-radius: var(--radius-full);
  width: 2rem;
  height: 2rem;
  padding: 0;

  &:hover {
    background-color: var(--color-background-secondary);
    color: var(--color-text-primary);
  }
}

.btn--action {
  height: 1.75rem;
  gap: var(--spacing-sm);
  background-color: var(--color-background);
  color: var(--color-text-secondary);
  border-color: var(--color-border);
  font-size: var(--font-size-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  display: inline-flex;
  line-height: var(--line-height-snug);
  font-weight: var(--font-weight-normal);

  &:hover {
    background-color: var(--color-background-secondary);
    color: var(--color-text-primary);
  }
}

.btn--with-icon {
  gap: 0.5rem;
}

.btn--full {
  width: 100%;
}

.buttons {
  font-size: var(--font-size-sm);
}

.buttons__item {
  padding-left: var(--spacing-lg);

  &:hover {
    background-color: #f5f5f5;

    .buttons__item-icon {
      background-color: white;
    }
  }
}

.buttons__item:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.buttons__item a {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.buttons__item-content {
  flex: 1;
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.buttons__item:not(:last-child) .buttons__item-content {
  border-bottom: 1px solid var(--border-color);
}

.buttons__item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buttons__item-icon svg {
  color: #404040;
}

.buttons__item-label {
  color: #333;
  font-weight: 400;
}

.buttons__item-description {
  color: #666;
  font-weight: 400;
}

.buttons--vertical {
  display: flex;
  flex-direction: column;
}

.btn__badge {
  position: absolute;
  top: -0.3125rem;
  right: -0.3125rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  padding: 0.375rem;
  font-size: 0.625rem;
  line-height: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  text-align: center;
  z-index: 1;
}



.calendar {
  max-width: 96rem;
  margin: 0 auto;
  margin-top: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background-color: var(--color-gray-50);
  min-height: 80vh;
  border: 1px solid var(--color-border);
}

.calendar__toolbar {
  display: flex;
  flex-wrap: nowrap;
  padding: var(--spacing-md);
  font-size: var(--font-size-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: var(--spacing-md);
}

.calendar__toolbar::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.calendar-month-selector {
  top: 0;
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.calendar-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.calendar-controls {
  display: flex;
  gap: var(--spacing-md);
}

/* Calendar Grid */
.calendar-header-grid {
  max-width: 96rem;
  margin: 0 auto;
  background-color: var(--color-border);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}

.calendar-grid {
  max-width: 96rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: var(--color-border);
}

.calendar-day-header {
  text-align: center;
  padding: var(--spacing-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  background-color: var(--color-background-secondary);
}

.calendar-day-header__date {
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}

.calendar-day-header__day {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.calendar-day:empty {
  background-color: var(--color-background-secondary);
  overflow: hidden;
}

.calendar-day {
  background-color: var(--color-gray-50);
}

.calendar-event {
  border-bottom: 1px solid var(--border-color);
  background-color: white;

  &:hover {
    background-color: rgb(249, 250, 251);
  }
}

.calendar-event-link {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  color: var(--body-font-color);
  text-decoration: none;
}

.calendar-event-details {
  font-size: var(--body-font-size);
  line-height: 1.5;
  min-height: 1.5rem;
  font-family: var(--body-font-family);
  margin: 0;
}

.class-info {
  gap: 0.125rem;
  display: flex;
  flex-direction: column;
}

.class-info__item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 1.5rem;
  margin: 0;

  svg {
    margin-right: 0.5rem;
    color: var(--body-font-color);
    opacity: 0.75;
  }
}

.class-info__item-subtitle {
  margin-left: 0.25rem;
  color: var(--body-font-color);
  opacity: 0.75;
}

.calendar-event-status {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 1.5rem;
  color: white;
  border-radius: 0.25rem;

  svg {
    margin-right: 0.5rem;
  }
}

.calendar-event-status {
  display: none;
}

.calendar-event-reservation-status {
  svg {
    margin-left: 0.5rem;
  }
}

.calendar-event-reservation-status[data-status="full"] .calendar-event-status-full {
  margin: 0.25rem 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  background-color: #d1d5dc;
  color: var(--color-text-primary);
  display: flex;
}

.calendar-event-reservation-status[data-status="reserved"] .calendar-event-status-reserved {
  margin: 0.25rem 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  background-color: var(--color-success);
  display: flex;
}

.calendar-event-reservation-status[data-status="waitlisted"] .calendar-event-status-waitlisted {
  margin: 0.25rem 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  background-color: var(--color-warning);
  display: flex;
}

.calendar-event-reservation-status[data-status="full"] + .calendar-event-link,
.calendar-event-reservation-status[data-status="reserved"] + .calendar-event-link,
.calendar-event-reservation-status[data-status="waitlisted"] + .calendar-event-link {
  padding-top: 0.25rem;

}

.date-header {
  display: none;
}

.calendar__spacer {
  display: none;
}

/* Responsive Styles */
@media (max-width: 60rem) {
  .calendar {
    border-radius: 0;
    margin-top: 0;
    border: none;
  }

  .calendar-event-link {
    display: flex;
  }

  .calendar-event-time {
    display: flex;
    flex-direction: column;
  }

  .calendar-month-selector {
    position: sticky;
    background-color: #ffffff;
    top: 5rem;
    z-index: 2;
    justify-content: space-between;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .calendar-day-header {
    display: block;
    text-align: center;
    background-color: #f3f4f6;
    padding: 0.5rem;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .calendar-day-header.active-date {
    margin-bottom: 0px;
    border-bottom: 2px solid var(--primary-button-background-color);
  }

  .calendar-day {
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    scroll-margin-top: 178px; /*81 + 60 + 37px;*/
  }

  .date-header {
    display: flex;
    align-items: center;
    height: 2.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1rem;
    position: sticky;
    top: 142px;
    background: #efefef;
    z-index: 2;
  }

  .calendar__spacer {
    display: block;
    height: 100vh;
  }
}


.cards {
  display: grid;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease-in-out;

  &:hover {
    background: var(--color-background-secondary);
    box-shadow: var(--shadow-md);
  }
}

.card__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
}

.card__toolbar {
  display: flex;
  gap: var(--spacing-sm);
}

.card__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-md);
  row-gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
  align-items: center;
}

.card__dt {
  font-size: var(--font-size-sm);
  color: var(--color-text-tertiary);
}

.card__dd--primary {
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}

.card__dd {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}


.empty-state {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: var(--spacing-xl);
  background-color: var(--color-background-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
}

.empty-state--borderless {
  border: none;
}

.empty-state__icon {
  color: var(--color-text-tertiary);
}

.empty-state__icon svg {
  width: 5rem;
  height: 5rem;
}

.empty-state__title {
  margin-top: var(--spacing-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.empty-state__subheader {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
}


.filter__selected-option {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.filter__options {
  border: none;
  padding: 0;
  margin: 0;
}

.filter__options-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filter__option {
  display: flex;
  gap: 0.75rem;
  user-select: none;
}

.filter__option-checkbox {
  display: flex;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
}

.filter__checkbox-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  width: 1rem;
  height: 1rem;
}

.filter__checkbox {
  grid-column-start: 1;
  grid-row-start: 1;
  appearance: none;
  border-radius: 0.25rem;
  border: 1px solid #D1D5DB;
  background-color: white;
}

.filter__checkbox:checked {
  border-color: #4F46E5;
  background-color: #4F46E5;
}

.filter__checkbox:indeterminate {
  border-color: #4F46E5;
  background-color: #4F46E5;
}

.filter__checkbox:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  outline-color: #4F46E5;
}

.filter__checkbox:disabled {
  border-color: #D1D5DB;
  background-color: #F3F4F6;
}

.filter__checkbox:disabled:checked {
  background-color: #F3F4F6;
}

.filter__checkbox-icon {
  pointer-events: none;
  grid-column-start: 1;
  grid-row-start: 1;
  width: 0.875rem;
  height: 0.875rem;
  align-self: center;
  justify-self: center;
  stroke: white;
}

.filter__checkbox-wrapper:has(:disabled) .filter__checkbox-icon {
  stroke: rgba(17, 24, 39, 0.25);
}

.filter__checkbox-check {
  opacity: 0;
}

.filter__checkbox-wrapper:has(:checked) .filter__checkbox-check {
  opacity: 1;
}

.filter__checkbox-dash {
  opacity: 0;
}

.filter__checkbox-wrapper:has(:indeterminate) .filter__checkbox-dash {
  opacity: 1;
}

.filter__option-content {
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.filter__option-label {
  font-weight: 500;
  color: #111827;
}

.filter__option-description {
  margin-left: 0.25rem;
  font-weight: 400;
  color: #6B7280;
}

.filter-button {
}

.filter-tag {
  display: inline-flex;
  flex: 0 0 auto;  
  font-size: 0.875rem;
  line-height: 1.25rem;
  align-items: center;
  background: var(--gray-color);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.filter-tag__category {
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  cursor: pointer;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;

  &:hover {
    background: var(--border-color);
  }
}

.filter-tag__category-label {
  border-right: 1px solid var(--border-color);
  padding-left: 0.5rem;
  padding-right: 0.25rem;
  margin-right: 0.5rem;
}

.filter-tag__category-reset {
  cursor: pointer;
  border-radius: 100%;
  margin-left: 0.5rem;

  &:hover {
    background: var(--border-color);
  }
}



.group-class {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.group-class__header {
  padding: 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.group-class__footer {
  flex: 1;
  overflow-y: auto;
}

.group-class__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--body-font-color);
  text-align: center;
  width: 100%;
}

.group-class__time {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.group-class__toolbar {
  display: grid;
  grid-template-columns: 2fr auto;
  align-items: center;
}

.group-class__info {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 1rem;
  text-align: center;
}

.group-class__info__label {
  color: #666;
  font-weight: 400;
}

.group-class__action {
  padding: 1rem;
  padding-bottom: 0.5rem;
}

.group-class__cost {
  color: var(--body-font-color);
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 1.5rem;
  text-align: center;
}

.instructors {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  gap: 4rem;
}

.group-class__attendees {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.group-class__meta {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
  gap: 1px;
  background-color: var(--border-color);
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  margin-top: 2rem;
}

.group-class__meta__item {
  display: flex;
  background-color: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 0;
  height: 100%;
}

.group-class__meta__label {
  color: #666;
  font-size: 0.75rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.group-class__meta__value {
  font-size: 0.875rem;
  font-weight: 400;
}

@media (max-width: 48rem) {
  .group-class__header {
    padding: 1rem;
  }
}


.hero-image {
  background-image: url('https://erp-image.sgliteasset.com/_next/image?url=https%3A%2F%2Fcdn1.sgliteasset.com%2Flibertpi%2Fimages%2Ftexteditor%2FWelcome_to_Libert%C3%A9_Pilates_(3)_1660830174.png&w=2048&q=75');
  min-height: 50vh; /* Minimum height of 100% of the viewport height */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* Add padding to ensure content doesn't touch the edges */
  box-sizing: border-box; /* Include padding in the element's total width and height */
}

.hero-text {
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  max-width: 80%; /* Prevent text from becoming too wide on large screens */
}

h1 {
  font-size: 50px;
  margin-bottom: 20px;
}


.list-container {
  min-height: 100vh;
}

@media (min-width: 640px) {
  .list-container {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }
}

.list-container__group {
  margin-top: 1.5rem;
}

.list-container__group-header {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

@media (min-width: 640px) {
  .list-container__group-header {
    padding-left: 0;
  }
}

.list-container__group-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: #111827;
}


body:has(dialog[open]) {
  overflow: hidden
}

dialog > turbo-frame:not([busy]) + * {
  display: none;
}

dialog.dialog::backdrop {
  background-color: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
  backdrop-filter: blur(4px);
}

dialog.dialog turbo-frame {
  display: block;
  overflow: hidden;
  transition: all var(--transition-speed) ease-out;
  transform-origin: center;
}

dialog {
  overscroll-behavior: contain;
  overflow: auto;
}

dialog, ::backdrop {
  overscroll-behavior: contain;
}

.dialog {
  margin: 0 auto;
  margin-top: var(--spacing-2xl, 5rem);
  min-height: 10rem;
  max-height: 80vh;
  overflow-y: scroll;
  scrollbar-width: none;
  width: fit-content;
  max-width: 100%;
  width: 100%;
  background: none;
  padding: 0;
  border: none;

  &:focus {
    outline: none;
  }

  &::-webkit-scrollbar {
    display: none;
  }
}

.modal {
  background: var(--color-background);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

dialog .modal--small {
  width: min(100%, 30rem);
}

dialog .modal--medium {
  width: min(100%, 36rem);
}

.modal__content {
  flex: 1;
  overflow-y: auto;
}

.modal--small .modal__content {
  padding: var(--spacing-md);
}

.modal__content--full {
  padding: 0 !important;
}

.modal__section {
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-md);
}

.modal__section--no-pb {
  padding-bottom: 0;
}

.modal__section-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

.modal__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-md);
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--border-color);
}

.modal__title {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
}

.modal__subtitle {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-tight);
  color: var(--color-text-secondary);
}

.modal__footer {
  position: sticky;
  bottom: 0;
  align-items: center;
  gap: var(--spacing-md);
  background-color: var(--color-background-secondary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

@media (max-width: 48rem) {
  .dialog {
    position: relative;
    padding: 0 0.375rem;
    overflow-y: auto;
    margin-top: 1rem;
    max-height: calc(100vh - 2rem); /* 1rem top and 1rem bottom */
    overflow-y: auto;
  }

  .modal__footer {
    justify-content: space-between;
    flex-direction: column-reverse;
    gap: var(--spacing-sm);
  }

  .modal__footer > * {
    width: 100%;
    margin: 0;
  }
}


:root {
  --header-height: 5rem;
  --header-height-mobile: 5rem;
  --transition-speed: 0.3s;
}

.header {
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  font-size: 0.875rem; /* 14px */
  box-shadow: var(--shadow-sm);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  position: relative;
}

.header__logo {
  flex: 0 0 auto;
}

.header__logo img {
  height: 2.5rem;
}

.header__nav--desktop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header__nav--desktop ul {
  list-style-type: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.header__nav--desktop li {
  margin: 0 var(--spacing-md);
  white-space: nowrap;
}

.header__nav a,
.header__auth-link {
  text-decoration: none;
  color: var(--body-font-color);
  font-size: var(--navigation-font-size);
  font-family: var(--body-font-family);
}

.header__nav a:hover,
.header__auth-link:hover {
  color: var(--color-primary);
}

.header__auth-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--color-border);

  &:hover {
    opacity: 0.8;
    border-color: var(--color-primary);
  }
}

.header__auth--desktop {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--spacing-sm);
}

.header__auth--desktop .header__auth-link:first-child {
  position: relative;
}

.header__auth--desktop {
  position: relative;
}

.header__auth--desktop .header__auth-link + .header__auth-link {
  position: relative;
}

.header__auth--desktop .header__auth-link + .header__auth-link::before {
  content: '';
  position: absolute;
  left: calc(var(--spacing-md) * -0.5);
  top: 50%;
  transform: translateY(-50%);
  height: 1rem;
  width: 1px;
  background-color: var(--color-border);
}

.header__auth-link {
  padding: var(--spacing-xs) var(--spacing-sm);
}

.header__menu-toggle {
  display: none;
}

.header__menu-toggle-label {
  cursor: pointer;
  display: none;
  width: var(--spacing-xl);
  color: var(--color-text-secondary);
  margin: var(--spacing-xs) 0;
  transition: all var(--transition-speed) ease-in-out;

  &:hover {
    color: var(--color-primary);
  }
}

.header__mobile-menu {
  display: none;
}

.header__auth--mobile {
  display: none;
}

@media (max-width: 768px) {
  .header__container {
    height: var(--header-height-mobile);
    padding: 0 20px;
  }

  .header__logo img {
    height: 2rem;
  }

  .header__nav--desktop,
  .header__auth--desktop {
    display: none;
  }

  .header__menu-toggle-label {
    display: block;
  }

  .header__mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .header__menu-toggle:checked ~ .header__mobile-menu {
    display: block;
  }

  .header__nav--mobile ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .header__nav--mobile li,
  .header__auth--mobile .header__auth-link {
    margin: 0;
    text-align: center;
  }

  .header__nav--mobile a,
  .header__auth--mobile .header__auth-link {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .header__auth--mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-md);
  }
  
  .header__container .header__auth--mobile .btn--cart {
    display: flex;
  }

  .header__menu-toggle:checked ~ .header__container .header__menu-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .header__menu-toggle:checked ~ .header__container .header__menu-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .header__menu-toggle:checked ~ .header__container .header__menu-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}


.order-history__container {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.order-history__header {
  margin-left: auto;
  margin-right: auto;
}

.order-history__title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
}

.order-history__description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6B7280;
}

.order-list {
  margin-top: 4rem;
}

.order-list__container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.order {
  border: 1px solid #E5E7EB;
  background-color: #FFFFFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.order__header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E5E7EB;
  padding: 1rem;
}

.order__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  flex: 1;
}

.order__detail {
  font-size: 0.875rem;
}

.order__detail-label {
  font-weight: 500;
  color: #111827;
}

.order__detail-value {
  margin-top: 0.25rem;
  color: #6B7280;
}

.order__detail-value--bold {
  font-weight: 500;
  color: #111827;
}

.order__actions {
  display: none;
}

.order__action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D1D5DB;
  background-color: #FFFFFF;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.order__action-button:hover {
  background-color: #F9FAFB;
}

.order__items {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.order-item {
  padding: 1rem;
  border-bottom: 1px solid #E5E7EB;
}

.order-item__content {
  display: flex;
  align-items: flex-start;
}

.order-item__image {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.375rem;
  overflow: hidden;
  background-color: #E5E7EB;
}

.order-item__details {
  margin-left: 1.5rem;
  flex: 1;
}

.order-item__name {
  font-weight: 500;
  color: #111827;
}

.order-item__price {
  font-weight: 500;
  color: #111827;
}

.order-item__description {
  margin-top: 0.5rem;
  color: #6B7280;
  font-size: 0.875rem;
}

.order-item__status {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.order-item__status-icon {
  color: #10B981;
}

.order-item__status-text {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6B7280;
}

.order-item__actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;
}

.order-item__action-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4F46E5;
  text-decoration: none;
}

.order-item__action-link:hover {
  color: #4338CA;
}

@media (min-width: 640px) {
  .order-history__container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .order__header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .order-item {
    padding: 1.5rem;
  }

  .order-item__image {
    width: 10rem;
    height: 10rem;
  }
}

@media (min-width: 1024px) {
  .order-history__container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .order__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
  }

  .order-item__content {
    align-items: center;
  }
}


.page {
  max-width: 64rem;
  margin: 0 auto;
  background: #fff;
  border-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  margin-bottom: 2rem;
  min-height: 100vh;
}

.page--wide {
  max-width: 96rem;
  height: 100vh;
}

.page-heading {
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .page-heading {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-heading {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.page-heading__title {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1rem;
  color: var(--heading-font-color);
  margin-bottom: 0;
}

.page-heading__description {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 0.875rem;
  color: var(--body-font-color);
}


.passes {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.pass {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background: #fff;
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.1);

  &:hover {
    background: #fafafa;
  }
}

.pass__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;

}

.pass__header h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.pass__credits {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  gap: 1rem;
}

.pass__credit {
  padding: 1rem;
  background: #fafafa;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pass__credit-labels {
  display: flex;
  justify-content: space-between;
}

.pass__credit-label {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.25rem;
}

.pass__credit-title {
  font-size: 1rem;
  color: var(--heading-font-color);
  line-height: 1.5rem;
}

.pass__credit-balance {
  font-size: 1.25rem;
  color: var(--primary-color);
  line-height: 1.75rem;
}

.pass__credit-remaining {
  font-size: 0.875rem;
  color: var(--body-font-color);
  line-height: 1.25rem;
}

.pass__share-status {
  border-top: 1px solid var(--border-color);
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.25rem;
}

.pass__subheader {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--body-font-color);
  margin-top: 1rem;
}


@media (max-width: 64rem) {
  .passes {
    grid-template-columns: repeat(1, 1fr);
  }
}


.people {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.people--inline {
  display: flex;
  gap: 2rem;
  margin: 0;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
}

.person {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.person--inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.person__action {
  font-size: 0.875rem;
  text-decoration: underline;
  font-weight: 600;
  margin-left: auto;
}

.person__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background-color: var(--gray-color);
}

.person__name {
  font-size: 0.875rem;
  color: var(--body-font-color);
  font-weight: 500;
}

.person__subtext {
  font-size: 0.75rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: #666;
}

.people label {
  cursor: pointer;
  user-select: none;
}

.person__selection input[type="checkbox"] {
  display: none;
}

.person__avatar-wrapper {
  position: relative;
}

.person__selection-indicator {
  display: none;
  position: absolute;
  top: -0.25rem;
  left: -0.25rem;
  background-color: green; /* fallback blue */
  color: white;
  border-radius: 9999px;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 2px solid white;
}

.person__checkbox {
  display: none;
}

.person__checkbox ~ .person__avatar-wrapper .person__selection-indicator {
  display: none;
}

.person__checkbox:checked ~ .person__avatar-wrapper .person__selection-indicator {
  display: flex;
}

.person__checkbox:checked ~ .person__avatar-wrapper .person__avatar {
  outline: 2px solid green;
}


.profile {
  display: grid;
  grid-template-columns: 16rem 1fr;
  margin: 0 auto;
  margin-top: 2rem;
}

.profile__sidebar {
  position: sticky;
  top: 0;
  overflow-y: hidden;
}

.profile__body {
  min-height: 70vh;
  overflow-y: auto;
}

.profile__header {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
}

.profile__header input[type="file"] {
  display: none;
}

.profile__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--gray-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--body-font-color);
}

.profile__email {
  font-size: 0.875rem;
  color: var(--body-font-color);
  text-decoration: none;
}

.profile__nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.profile__nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 0;
  padding: 0.5rem;
  color: var(--body-font-color);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s, border-color 0.3s;
  cursor: pointer;
  border-radius: 0.5rem;

  &:hover {
    background: var(--border-color);
  }
}

.profile__nav-item--active {
  background: var(--border-color);
  shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile__body:not(:empty) {
  width: 100%;
  padding: 1rem 2rem;
  background: white;
  border-radius: 0 0 6px 6px;
}

.profile__section {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.profile__section-title {
  color: var(--body-font-color);
  font-size: 1rem;
  line-height: 1rem;
  font-weight: 500;
}

.page-header__title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-header__title {
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 600;
  color: var(--body-font-color);
  margin-bottom: 0;
}

.page-header__details {
  margin-top: 0.625rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-details {
  margin-top: var(--spacing-xl);
}

.page-header__info-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.page-header__info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-header__info-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.profile__back {
  display: none;
}

.profile__heading {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.profile__disclaimer {
  color: #6B7280;
  font-size: 0.875rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.profile__field {
  display: flex;
  padding: 1.25rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.profile__field:last-child {
  border-bottom: none;
}

.profile__label {
  font-weight: 500;
  color: #111827;
  width: 16rem;
}

.profile__values {
  gap: 0.25rem;
  width: 100%;
}

.profile__value {
  color: #374151;
}

.profile__value-container {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0.5rem;
}

.profile__value-container:hover {
  border-radius: 0.25rem;
  background-color: #fafafb;
}

.profile__update {
  color: #4F46E5;
  text-decoration: none;
  font-weight: 500;
}

.profile__update:hover {
  color: #4338CA;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  max-width: fit-content;
  gap: 1rem;
  padding: 0.25rem;
  margin: 0 auto;
  background-color: var(--body-bg-color-secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.profile-tab {
  padding: 0.5rem 1rem;
  flex-grow: 1;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--body-font-color);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border: 1px solid transparent;
  border-radius: 0.5rem;
}

.profile-tab__count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--body-font-color);
  background-color: var(--border-color);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  margin-left: 0.5rem;
}

.profile-tab--active {
  background-color: var(--border-color);
}

.profile-tab--active .profile-tab__count {
  background-color: white;
}

@media (max-width: 64rem) {
  .profile {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .profile__field {
    display: block;
  }

  .profile__value-container {
    padding: 0.25rem 0rem;
    margin-top: 0.5rem;
  }

  .profile__body {
    padding: 1rem 1rem;
  }

  .profile__body:not(:empty) {
    padding: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .profile__email {
    font-size: 0.875rem;
    color: var(--body-font-color);
    margin: 0;
  }

  .profile__header {
    align-items: center;
    border-bottom: 0;
  }

  .profile__info {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .profile__sidebar {
    width: 100%;
  }

  .profile__sidebar--mobile {
    display: none;
  }

  .profile__nav {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
  }

  .profile__nav-item {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .profile__back {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--body-font-color);
  }
}

.mobile-profile__nav {
  margin: 2rem 1rem;
  max-width: 32rem;

  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}


.reservation-payment__option {
  display: flex;
  background-color: #fff;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  cursor: pointer;
}

.reservation-payment__display {
  display: flex;
  align-items: center;
}

.reservation-payment__info {
  padding-left: 1rem;
}

.reservation-payment__option input[type="radio"] {
  display: none;
  width: 1rem;
}

.reservation-payment__credit-expiration {
  font-size: 0.75rem;
  font-weight: 400;
  color: #666;
}

.reservation-payment__indicator {
  color: var(--primary-color);
  min-width: 1rem;
}

.reservation-payment__indicator svg {
  display: none;
}

.reservation-payment__option:has(input[type="radio"]:checked) {
  border-color: var(--primary-color);
}

.reservation-payment__option input[type="radio"]:checked + .reservation-payment__display > .reservation-payment__indicator svg {
  display: block;
}

.reservation-payment__credit-availability {
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.reservation-payment__credit-availability-label {
  color: #666;
  font-weight: 400;
}

.group-class__section-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 0.5rem;
}


.schedule-list__day {
  display: flex;
  padding: 1rem 2rem;
  border: 0;
}

.schedule-list__day-header {
  display: flex;
  flex-direction: column;
  border-radius: 0.25rem;
  padding: 0.875rem 0rem;
  margin-right: 1rem;
  width: 6rem;
}

.schedule-list__day-header__date {
  font-size: 0.875rem;
  color: var(--heading-font-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.schedule-list__day-header__day {
  font-size: 0.875rem;
  color: var(--body-font-color);
}

.schedule-list__items {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
}

.schedule-list__item {
  border-bottom: 1px solid var(--border-color);

  a {
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    &:hover {
      background: #f9fafb;
    }
  }

  &:last-child {
    border-bottom: 0;
  }
}

.schedule-list__item_colour {
  min-width: 0.25rem;
  height: 100%;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.reservation-details {
  display: flex;
  flex-direction: column;
  padding-top: 0.375rem;
}

@media (max-width: 640px) {
  .schedule-list__day {
    padding: 1rem;
    flex-direction: column;
  }

  .schedule-list__day-header {
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}

@media (min-width: 640px) {
  .reservation-details {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.reservation-details__item {
  display: flex;
  align-items: center;
  margin-bottom: 0.125rem;
}

@media (min-width: 640px) {
  .reservation-details__item {
    margin-bottom: 0;
  }
}

.reservation-details__icon {
  flex-shrink: 0;
  margin-right: 0.375rem;
  height: 1rem;
  width: 1rem;
  color: #6b7280; /* text-gray-500 */
}

.reservation-details__text {
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #374151; /* text-gray-700 */
}

.class-title {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5rem;
}

.class-title__dot {
  width: 1rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.class-title__text {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5rem;
}


.store-section {
}

.store-category {
  padding: 2rem;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.store-category__title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--heading-font-color);
}

.store-category__description {
  font-size: 0.9375rem;
  color: var(--primary-color);
}

.products {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 1.5rem;
}

@media (min-width: 40rem) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product {
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.product-link {
  position: relative;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.product-details-button {
  background: white;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 0.5rem;
}

.product-link:hover .product-overlay {
  opacity: 1;
}

.product-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading-font-color);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.product-validity {
  font-size: 0.875rem;
  color: var(--text-font-color);
}

.cart {
  max-width: 48rem;
  padding: 2rem;
  margin: 0 auto;
}

.cart-items {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.cart-items__item {
  display: grid;
  grid-template-columns: 2fr auto 1fr;
  align-items: center;
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;

  &:nth-child(even) {
    background: #f9fafb;
  }
}

.cart-items__item-name {
  font-weight: 500;
}

.cart-items__item-total {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-items__item-price {
  display: flex;
  gap: 0.5rem;
  justify-content: end;
}

.cart-items__item-price-original {
  color: #9ca3af; /* text-gray-400 */
  font-size: 0.875rem;
  text-align: right;
}

.cart-items__item-price-discounted {
  color: #374151; /* text-gray-700 */
  text-align: right;
}

.cart-items__item-tax {
  color: #9ca3af; /* text-gray-400 */
  text-align: right;
}

.cart-items__item-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-summary {
  background: #f7f7f7;
  padding: 1rem;
  border-radius: 0.5rem;
}

.cart-summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  line-height: 2rem;
  row-gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.cart-summary dt {
  color: #374151; /* text-gray-700 */
  font-size: 0.875rem;
}

.cart-summary dd {
  color: var(--primary-color);
  text-align: right;
  font-size: 0.9375rem;
}

.product-details {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}

.product-details__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading-font-color);
}

.product-details__price {
  font-size: 1rem;
  color: var(--primary-color);
}

.product-details__options {
}

.product-details__toolbar {
  padding: 1rem;
  gap: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-color);
}

.product-details__items {
  background: #f7f7f7;
  padding: 0rem 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.product-details__item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5rem;
}

.product-details__item svg{
  width: 1.25rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.product-details__item span {
  font-size: 0.9375rem;
  color: var(--text-font-color);
  line-height: 1.75rem;
}

@media (max-width: 64rem) {
  .cart {
    grid-template-columns: 1fr;
  }

  .cart-items__item-control {
    justify-content: flex-end;
  }

  .cart-summary {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}


:where(.table) {
  caption-side: bottom;
  font-size: var(--font-size-sm);
  inline-size: 100%;

  caption {
    color: var(--color-text-secondary);
    margin-block-start: 1rem; /* 16px */
  }

  thead {
    color: var(--color-text-secondary);
    background-color: var(--color-background-secondary);
  }

  thead th:first-child {
    border-top-left-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-lg);
  }

  thead th:last-child {
    border-top-right-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-lg);
  }

  tbody tr {
    border-block-start: 1px solid var(--border-color);
  }

  th {
    text-align: start;
    padding: var(--spacing-sm);
  }

  td {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  tbody tr td:last-child {
    padding: var(--spacing-lg);
  }

  tbody tr td:first-child {
    padding: var(--spacing-lg);
  }

  tfoot th {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom-left-radius: var(--radius-md);
  }

  tfoot td {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom-right-radius: var(--radius-md);
  }

  tfoot tr:first-child th {
    padding-top: var(--spacing-md);
  }

  tfoot tr:first-child td {
    padding-top: var(--spacing-md);
  }

  tfoot tr:last-child td {
    padding-bottom: var(--spacing-md);
  }

  tfoot tr:last-child th {
    padding-bottom: var(--spacing-md);
  }

  tfoot {
    background-color: var(--color-background-secondary);
    border-block-start: 1px solid var(--border-color);
    font-weight: 500;
  }
}

.table--with-border {
  margin-top: var(--spacing-lg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}


.tabs {
  display: flex;
  flex-wrap: wrap;
}

.tabs__navigation {
  display: flex;
  width: 100%;
  align-items: center;
}

.tab {
  font-size: 0.875rem;
  padding: 1rem 2rem;
  width: max-content;
  cursor: pointer;
  border-bottom: 2px solid transparent;

  &:hover {
    border-color: var(--primary-color);
  }
}

.tab--active {
  border-color: var(--primary-color);
}

.tab__panels {
  width: 100%;
  display: flex;
}

.tab__panel {
  display: none;
  padding: 2rem;
  padding-top: 1rem;
  padding-bottom: 0;
}

.tab__panel--full {
  padding: 0;
}

.tab__panel--active {
  display: block;
  width: 100%;
}


.form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
  padding-top: var(--spacing-md);
}

.input {
  box-shadow: var(--shadow-sm);
  width: 100%;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  height: 40px;
  padding: 0 var(--spacing-md);
  color: var(--color-text-primary);
  background-color: var(--color-background);

  &:focus {
    border-color: var(--color-primary);
    outline-color: var(--color-primary);
  }

  &::placeholder {
    color: var(--color-text-tertiary);
  }

  &:user-invalid {
    border-color: var(--color-error);
  }

  &:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--color-background-secondary);
  }
}

label {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-sm);
}

.range {
  accent-color: var(--color-primary);
}

.checkbox, .radio {
  accent-color: var(--color-primary);
  transform: scale(1.15);
}

.input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.checkbox-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.checkbox-group label {
  margin: 0;
}

.input-row {
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.input-row:last-child {
  margin-bottom: 0;
}

.input-row--action {
  margin-top: 1.25rem;
}

.input-row--city-state {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1rem;
}

.input-row--postcode {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.input-row--3-5 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1rem;
}

.input-row--4-5 {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 1rem;
}

.input-row--inline {
  align-items: end;
  margin-top: 0.5rem;
}

.input-section__title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--body-font-lighter);
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  padding-bottom: 0.875rem;
  margin-top: 1.5rem;
}

.input-section:first-of-type .input-section__title {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.postfixed-input {
  display: flex;
  align-items: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.5;
  border: 1px solid #d1d5db;
  border-radius: var(--input-radius);
}

.postfixed-input input {
  border: none;
  border-radius: 0;
  padding: 0.5rem 0.75rem;
  width: 100%;
}

select.input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-position: 100%;
  background-repeat: no-repeat;
}

.postfixed-input select {
  padding: 0.5rem 0.75rem;
  border: none;
  border-right: 8px solid transparent;
}

.postfixed-input input,
.postfixed-input select {
  border-radius: 0;
}

.postfixed-input input:focus,
.postfixed-input select:focus {
  border: none;
  box-shadow: none;
  border-color: var(--primary-color);
  outline-color: var(--primary-color);
}


:root {
  /* Color Palette */
  --color-primary: #4F46E5;
  --color-primary-dark: #4338CA;
  --color-primary-light: #818CF8;
  
  /* Grays */
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  
  /* Semantic Colors */
  --color-background: #FFFFFF;
  --color-background-secondary: var(--color-gray-50);
  --color-background-tertiary: var(--color-gray-100);
  
  /* Text Colors */
  --color-text-primary: var(--color-gray-900);
  --color-text-secondary: var(--color-gray-700);
  --color-text-tertiary: var(--color-gray-500);
  --color-text-inverse: #FFFFFF;
  
  /* Border Colors */
  --color-border: var(--color-gray-200);
  --color-border-focus: var(--color-primary);
  
  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F0B100;
  --color-error: #EF4444;
  --color-info: #3B82F6;
  
  /* Component-specific */
  --calendar-bg-color: var(--color-background-tertiary);
  --header-height: 64px;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

  /* Typography */
  --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  padding-top: var(--header-height);
  /*background-color: var(--body-bg-color-secondary); */
}

body[data-platform="hotwire-native"] {
  padding-top: 0;
  background-color: white;
}

.container {
  max-width: 1536px;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding
  3. Reset all borders.
*/

*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 2 */
  border: 0 solid; /* 3 */
}

/*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the user's configured `sans` font-family by default.
  5. Use the user's configured `sans` font-feature-settings by default.
  6. Use the user's configured `sans` font-variation-settings by default.
  7. Disable tap highlights on iOS.
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  tab-size: 4; /* 3 */
}

/*
  Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  line-height: inherit;
}

/*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-block-start-width: 1px; /* 3 */
}

/*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
  Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
  Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}

/*
  Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
  1. Use the user's configured `mono` font-family by default.
  2. Use the user's configured `mono` font-feature-settings by default.
  3. Use the user's configured `mono` font-variation-settings by default.
  4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: var(
    --default-mono-font-family,
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    'Liberation Mono',
    'Courier New',
    monospace
  ); /* 4 */
  font-feature-settings: var(--default-mono-font-feature-settings, normal); /* 5 */
  font-variation-settings: var(--default-mono-font-variation-settings, normal); /* 6 */
  font-size: 1em; /* 4 */
}

/*
  Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
  1. Inherit the font styles in all browsers.
  2. Remove the default background color.
*/

button,
input,
optgroup,
select,
textarea,
::file-selector-button {
  font: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  background: transparent; /* 2 */
}

/*
  Reset the default inset border style for form controls to solid.
*/

input:where(:not([type='button'], [type='reset'], [type='submit'])),
select,
textarea {
  border: 1px solid;
}

/*
  Correct the inability to style the border radius in iOS Safari.
*/
button,
input:where([type='button'], [type='reset'], [type='submit']),
::file-selector-button {
  appearance: button;
}

/*
  Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
  Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
  Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
  Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
  Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
  Make lists unstyled by default.
*/

ol,
ul,
menu {
  list-style: none;
}

/*
  Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
  1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
  2. Set the default placeholder color to a semi-transparent version of the current text color.
*/

::placeholder {
  opacity: 1; /* 1 */
  color: color-mix(in srgb, currentColor 50%, transparent); /* 2 */
}

/*
  Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
     This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
  Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/*
  Make elements with the HTML hidden attribute stay hidden by default.
*/

[hidden] {
  display: none !important;
}

/*
  Make elements with the HTML contents attribute become pseudo-box by default.
*/

[contents] {
  display: contents !important;
}

dialog {
  max-width: 100%;
}


h1 {
  font-size: var(--font-size-4xl);
  line-height: calc(var(--font-size-4xl) * var(--line-height-snug));
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

h2 {
  font-size: var(--font-size-3xl);
  line-height: calc(var(--font-size-3xl) * var(--line-height-snug));
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

h3 {
  font-size: var(--font-size-2xl);
  line-height: calc(var(--font-size-2xl) * var(--line-height-snug));
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

h4 {
  font-size: var(--font-size-lg);
  line-height: calc(var(--font-size-lg) * var(--line-height-normal));
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

h5 {
  font-size: var(--font-size-base);
  line-height: calc(var(--font-size-base) * var(--line-height-tight));
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

body {
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  font-weight: var(--font-weight-normal);
  font-family: var(--font-family-base);
  color: var(--color-text-secondary);
}

.rich-text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
}

.rich-text h1 {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-4xl);
  line-height: var(--line-height-tight);
  letter-spacing: -0.0625rem;
  margin-bottom: var(--spacing-md);
}

.rich-text h2 {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-tight);
  letter-spacing: -0.05rem;
  margin-bottom: var(--spacing-sm);
}

.rich-text h3 {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-tight);
  letter-spacing: -0.0375rem;
  margin-bottom: var(--spacing-sm);
}

.rich-text h4 {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
  line-height: var(--line-height-tight);
  letter-spacing: -0.025rem;
  margin-bottom: var(--spacing-xs);
}

.rich-text h5 {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
  letter-spacing: -0.0125rem;
  margin-bottom: var(--spacing-xs);
}

.rich-text h6 {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: var(--line-height-tight);
  letter-spacing: -0.00625rem;
}

.rich-text p {
  margin-bottom: 1em;
}

.rich-text strong {
  font-weight: 700;
}

.rich-text em {
  font-style: italic;
}

.rich-text u {
  text-decoration: underline;
}

.rich-text s {
  text-decoration: line-through;
}

.rich-text a {
  color: #0066cc;
  text-decoration: none;
}

.rich-text a:hover {
  text-decoration: underline;
}

.rich-text ul, .rich-text ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

.rich-text ol {
  list-style-type: decimal;
}

.rich-text li {
  margin-bottom: 0.5em;
}

.rich-text blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1em;
  margin-left: 0;
  font-style: italic;
  color: #666;
}

.rich-text pre {
  background-color: #f4f4f4;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
}

.rich-text code {
  background-color: #f4f4f4;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

.rich-text img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
}

.rich-text table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}

.rich-text th, .rich-text td {
  border: 1px solid #ccc;
  padding: 0.5em;
}

.rich-text th {
  background-color: #f4f4f4;
  font-weight: 700;
}

@media (max-width: 768px) {
  .rich-text h1 {
    font-size: 2.125rem;
  }

  .rich-text h2 {
    font-size: 1.5rem;
  }

  .rich-text h3 {
    font-size: 1.25rem;
  }

  .rich-text h4 {
    font-size: 1.125rem;
  }

  .rich-text h5 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .rich-text h1 {
    font-size: 1.5rem;
  }

  .rich-text h2 {
    font-size: 1.125rem;
  }

  .rich-text h3 {
    font-size: 1.125rem;
  }
}


/* ---------------------------------- */
/* Size utilities */
/* ---------------------------------- */

.size-4 {
  width: 1rem;
  height: 1rem;
}

.size-5 {
  width: 1.25rem;
  height: 1.25rem;
}

.size-6 {
  width: 1.5rem;
  height: 1.5rem;
}

.size-8 {
  width: 2rem;
  height: 2rem;
}

.loader,
.loader:after {
  box-sizing: border-box;
}
.loader {
  display: flex;
  align-items: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto;
  color: #333;
}
.loader:after {
  content: " ";
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  border-radius: 50%;
  border: 0.25rem solid currentColor;
  border-color: currentColor transparent currentColor transparent;
  animation: loader 1.2s linear infinite;
}
@keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
