.shifts--with-schedule {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 24px;
  --margin: 48px;

  &:not(:has(.shifts-schedule__date)) {
    --margin: 0px;

    .shift-schedule {
      display: none;
    }
  }
}

.shifts__action-bar {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}

.shifts__last-updated-status, .shifts__last-updated-error {
  display: flex;
  flex-direction: row;
  gap: 8px;
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  color: var(--gray-400);

  svg {
    display: block;
  }
}

.shifts__last-updated-error {
  color: var(--danger-light);

  svg {
    fill: var(--danger-light);
  }
}

.shifts__view-selector {
  display: flex;
  align-items: center;
  justify-items: center;
  gap: 8px;
  font-weight: var(--font-weight-semibold);
  color: var(--gray-700);

  /* Disregard turbo elements for styling */
  turbo-cable-stream-source {
    display: contents;
  }
}

#selected_shift_booking {
  scroll-margin-top: 100px;
}

.shifts__timesheets-buttons {
  @media screen and (max-width: 476px) {
    flex-wrap: wrap !important;
    justify-content: right;
  }
}