﻿.oms-schedule-catalog__legend {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.oms-legend {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
}

.oms-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    vertical-align: middle;
}

.oms-dot--available {
    background: #9CCB3B;
}

.oms-dot--nearly-full {
    background: #F4B000;
}

.oms-dot--full {
    background: #E85B4F;
}

.oms-schedule-catalog__table {
    width: 100%;
    border-collapse: collapse;
}

.oms-schedule-catalog__table th.oms-schedule-catalog__sortable-header {
    position: relative;
    padding: 0;
}

.oms-schedule-catalog__table th {
    text-align: left;
    font-weight: 600;
    padding: 12px 10px;
    font-size: 14px;
}

.oms-schedule-catalog__table td {
    padding: 12px 10px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.oms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.oms-btn--outline {
    background: #fff;
    border-color: #2b7cff;
    color: #2b7cff;
}

.oms-btn--primary {
    background: #9CCB3B;
    color: #fff;
}

.oms-btn--disabled {
    background: #E85B4F;
    color: #fff;
    cursor: not-allowed;
    opacity: .95;
}

.oms-schedule-catalog__pager {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.oms-pager__page, .oms-pager__arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #333;
}

.oms-pager__page.is-active {
    background: #9CCB3B;
    color: #fff;
    border-color: #9CCB3B;
}

.oms-pager__arrow.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.oms-modal[hidden] {
    display: none;
}

.oms-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.oms-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

.oms-modal__panel {
    position: relative;
    max-width: 780px;
    margin: 6vh auto;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.oms-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.oms-modal__title {
    font-weight: 600;
}

.oms-modal__close {
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.oms-modal__body {
    padding: 16px;
}

.oms-roster {
    width: 100%;
    border-collapse: collapse;
}

.oms-roster th, .oms-roster td {
    padding: 10px 8px;
    border-top: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

.oms-sort {
    color: inherit;
    text-decoration: none;
}

.oms-sort--header {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
}

.oms-sort:hover {
    text-decoration: underline;
}

.oms-sort--header:focus,
.oms-sort--header:focus-visible {
    outline: none;
    box-shadow: none;
    text-decoration: none;
}