.scheduler-main {
  min-height: calc(100vh - 150px);
  padding: 7rem 0 3rem;
}

.scheduler-page {
  background: #f7f9fc !important;
}

.scheduler-main section {
  padding: 0;
}

.scheduler-main > .container {
  max-width: 77.5rem;
}

.scheduler-card {
  border: 1px solid rgb(5 38 78 / 7%) !important;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.75rem rgb(16 47 70 / 7%);
}

.scheduler-eyebrow {
  color: #0264d6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scheduler-eyebrow span {
  margin-right: 0.25rem;
  color: #13a36d;
  font-size: 0.65rem;
}

.scheduler-toolbar {
  display: flex;
  gap: 1.5rem;
  align-items: end;
  justify-content: space-between;
}

.scheduler-search {
  width: min(100%, 30rem);
}

.scheduler-search-icon {
  position: relative;
  width: 2.75rem;
  justify-content: center;
  color: #52677f;
  background: #fff;
}

.scheduler-search-icon::before {
  width: 0.55rem;
  height: 0.55rem;
  border: 0.1rem solid currentColor;
  border-radius: 50%;
  content: '';
}

.scheduler-search-icon::after {
  position: absolute;
  width: 0.38rem;
  height: 0.1rem;
  margin: 0.55rem 0 0 0.55rem;
  background: currentColor;
  content: '';
  transform: rotate(45deg);
}

.scheduler-toolbar-meta {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
  text-align: right;
}

.scheduler-mobile-sort {
  display: none;
  width: min(100%, 15rem);
  text-align: left;
}

.scheduler-result-count {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.65rem;
  color: #075e35;
  background: #e7f6ee;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.scheduler-table-shell {
  overflow: visible;
  border: 1px solid rgb(5 38 78 / 10%);
  border-radius: 0.6rem;
}

.scheduler-table {
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
  table-layout: fixed;
}

.scheduler-table th:nth-child(1) {
  width: 12%;
}

.scheduler-table th:nth-child(2) {
  width: 18%;
}

.scheduler-table th:nth-child(3) {
  width: 12%;
}

.scheduler-table th:nth-child(4) {
  width: 8%;
}

.scheduler-table th:nth-child(5) {
  width: 12%;
}

.scheduler-table th:nth-child(6) {
  width: 8%;
}

.scheduler-table th:nth-child(7) {
  width: 10%;
}

.scheduler-table th:nth-child(8) {
  width: 20%;
}

.scheduler-table thead {
  background: #f3f6fa;
}

.scheduler-table th {
  padding: 0.8rem 0.7rem;
  color: #52677f;
  border-bottom: 1px solid rgb(5 38 78 / 12%);
  font-size: 0.76rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scheduler-table td {
  padding: 0.9rem 0.7rem;
  border-color: rgb(5 38 78 / 8%);
  color: #24364b;
  font-size: 0.8em;
  overflow-wrap: anywhere;
}

.scheduler-row {
  transition: background-color 120ms ease;
}

.scheduler-row:hover {
  background: #f8fbff;
}

.scheduler-sort {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  padding: 0;
  text-align: left;
}

.scheduler-table th[aria-sort='ascending'] .scheduler-sort::after {
  content: ' ▲';
}

.scheduler-table th[aria-sort='descending'] .scheduler-sort::after {
  content: ' ▼';
}

.scheduler-sort:focus-visible {
  outline: 3px solid rgba(2, 100, 214, 0.35);
  outline-offset: 0.2rem;
}

.scheduler-url-cell {
  min-width: 13rem;
  overflow-wrap: anywhere;
}

.scheduler-hostname,
.scheduler-full-url {
  display: block;
}

.scheduler-hostname {
  color: #05264e;
}

.scheduler-full-url {
  max-width: 15rem;
  margin-top: 0.15rem;
  color: #71839a;
  font-size: 0.76rem;
}

.scheduler-date-cell {
  min-width: 8.75rem;
  color: #52677f !important;
  font-variant-numeric: tabular-nums;
}

.scheduler-interval-badge {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  color: #0755a5;
  background: #e8f2ff;
  border-radius: 999px;
  font-weight: 700;
}

.scheduler-page-count {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.scheduler-result-link {
  display: inline-flex;
  align-items: center;
}

.scheduler-result-link::after {
  margin-left: 0.25rem;
  content: '\2192';
}

.scheduler-actions-cell {
  min-width: 12.5rem;
  justify-content: end;
  display: flex;
}

.scheduler-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.scheduler-action-delete {
  padding-right: 0.25rem;
  padding-left: 0.25rem;
  color: #b42318;
  text-decoration: none;
}

.scheduler-action-delete:hover {
  color: #8e1c13;
  text-decoration: underline;
}

.scheduler-no-results td {
  padding: 3rem 1rem;
  text-align: center;
}

.scheduler-no-results strong,
.scheduler-no-results span {
  display: block;
}

.scheduler-no-results strong {
  margin-bottom: 0.35rem;
  color: #05264e;
  font-size: 1rem;
}

.scheduler-no-results span {
  margin-bottom: 1rem;
  color: #71839a;
}

.scheduler-page .btn,
.scheduler-page .form-control,
.scheduler-page .form-select,
.scheduler-page .input-group-text,
.scheduler-page .modal-content {
  border-radius: 0.35rem;
}

.scheduler-page .btn:focus-visible,
.scheduler-page .form-control:focus-visible,
.scheduler-page .form-select:focus-visible {
  outline: 0.2rem solid rgb(2 100 214 / 35%);
  outline-offset: 0.15rem;
  box-shadow: none;
}

.scheduler-page .modal-content {
  border: 0;
  box-shadow: 0 1rem 3rem rgb(5 38 78 / 18%);
}

#schedulerPageSize {
  width: auto;
}

#schedulerPrevious span {
  margin-right: 0.2rem;
}

#schedulerNext span {
  margin-left: 0.2rem;
}

@media (max-width: 931px) {
  .scheduler-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .scheduler-toolbar-meta {
    justify-items: start;
    text-align: left;
  }

  .scheduler-mobile-sort {
    display: block;
  }

  #schedulerTableDescription {
    display: none;
  }

  .scheduler-table-shell {
    overflow: visible;
    border: 0;
  }

  .scheduler-table,
  .scheduler-table tbody,
  .scheduler-table tr,
  .scheduler-table td {
    display: block;
    width: 100%;
  }

  .scheduler-table {
    min-width: 0;
  }

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

  .scheduler-table tbody {
    display: grid;
    gap: 1rem;
  }

  .scheduler-row {
    display: flex !important;
    flex-direction: column;
    padding: 0.4rem 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgb(5 38 78 / 10%);
    border-radius: 0.6rem;
    box-shadow: 0 0.25rem 0.8rem rgb(16 47 70 / 5%);
  }

  .scheduler-row:hover {
    background: #fff;
  }

  .scheduler-table td {
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.45fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    min-width: 0;
    padding: 0.55rem 1rem;
    border: 0;
    text-align: left;
  }

  .scheduler-table td::before {
    color: #71839a;
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .scheduler-table .scheduler-url-cell {
    order: -1;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    background: #f7faff;
    border-bottom: 1px solid rgb(5 38 78 / 8%);
  }

  .scheduler-full-url {
    grid-column: 2;
    max-width: 100%;
  }

  .scheduler-interval-badge {
    justify-self: start;
  }

  .scheduler-page-count {
    text-align: left;
  }

  .scheduler-actions-cell {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
    border-top: 1px solid rgb(5 38 78 / 8%) !important;
    justify-content: end;
    display: flex;
  }

  .scheduler-no-results {
    display: table-row !important;
  }

  .scheduler-no-results td {
    display: table-cell;
  }

  .scheduler-no-results td::before {
    content: none;
  }
}

@media (max-width: 575.98px) {
  .scheduler-main {
    padding-top: 6rem;
  }

  .scheduler-table td {
    grid-template-columns: minmax(6rem, 0.4fr) minmax(0, 1fr);
    gap: 0.75rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .scheduler-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .scheduler-action-delete {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scheduler-row {
    transition: none;
  }
}
