.tabulator {
    background-color: white;
    border: 0px;
    font-size: 16px !important;
}

/* Remove lines between columns */
.tabulator-cell, .tabulator-row {
    border: none !important;
}

.tabulator .tabulator-header {
    background-color: #ffffff;
    border: solid 2px #006bb6;
    border-radius: 6px;
    padding: 16px 0px;
    width: auto;
    box-shadow: 0px 1px 4px 0px rgba (0, 0, 0, 0.25);
    color: #545456;
    margin-bottom: 3px;
    font-size: 1rem;
}

/* Remove lines between column headers */
.tabulator .tabulator-header .tabulator-col {
    background-color: #ffffff;
    border: none !important;
}

.tabulator .tabulator-col-title {
    color: #14377D; /* TRICARE Dark Blue */
    font-weight: normal;
}

/* Alternate row colors */
.tabulator-row.tabulator-row-even {
    background-color: #ffffff;
}

.tabulator-row.tabulator-row-even:hover {
    background-color: #ffffff;
}

.tabulator-row.tabulator-row-odd {
    background-color: #e4f5fc;
}

.tabulator-row.tabulator-row-odd:hover {
    background-color: #e4f5fc;
}

.tabulator-row .tabulator-cell {
    padding: 20px 14px;
}

.tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
    color: red;
}

/* Override the default Tabulator header hover style */
.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
    background-color: #ffffff !important;
}

.tabulator-col .tabulator-header-filter {
    display: none; /* Hide OOTO filter boxes */
}

.tabulator .status-indicator {
    border: 2px solid #006BB6;
    padding: 1px 8px;
    border-radius: 20px;
    background-color: #fff;
    min-width: fit-content;
    color: #fff;
}

.tabulator .status-indicator.status-new {
    color: #545456
}

.tabulator .status-indicator.status-complete {
    background-color: #006BB6;
}

.tabulator .status-indicator.status-in-progress {
    border-color: #14377D;
    background-color: #14377D;
}

.tabulator .status-indicator.status-denied {
    background-color: #545456;
    border-color: #545456;
}

.tabulator .status-indicator i {
    font-size: .75rem;
    color: #fff;
}

.tabulator .status-indicator.status-new i {
    color: #006bb6;
}

.popup-btn {
    font-weight: 700;
    border-radius: 6px;
    margin: 10px 10px 0px 0px;
    width: 100px;
}
.popup-btn:hover {
	background-color: #00205c;
	color: #fff;
}

.popup-input {
    border-width: 1px;
    border-radius: 8px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 16px;
    line-height: 34px;
    width: 100%;
}
.popup-select {
    font-size: 16px;
    line-height: 34px;
    padding: 10px;
    width: 100%;
}

/* Tabulator custom loader */
.tabulator .tabulator-alert {
	background: rgba(255, 255, 255, 0.8);
}
.tabulator .tabulator-alert .tabulator-alert-msg {
    padding: 0px;
}
.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg {
    border: 0px;
    color: #006BB6;
}

.tabulator-headers .tabulator-col-resize-handle {
    background-color: lightgray;
    margin-left: 0px;
    margin-right: 0px;
    width: 3px;
}

.tabulator-row .tabulator-col-resize-handle {
	margin-left: 0px;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder {
    display: flex;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    width: fit-content;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter {
    position: relative;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
    padding: 4px 16px;
    text-transform: uppercase;
}

/* Tabulator Pagination Controls */
.tabulator .tabulator-footer {
	background-color: white;
	border-top: 0px;
}

/* Center the pagination control */
.tabulator-paginator {
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin: 10px 0; /* Optional: add some spacing around the paginator */
}

/* Style the pagination buttons */
.tabulator .tabulator-footer .tabulator-page {
    margin: 0 5px; /* Optional: adjust spacing between buttons */
    width: 44px; /* Set button width */
    height: 48px; /* Set button height */
    border: 1px solid #828487; /* Inactive border color */
    cursor: pointer;
    outline: none;
    font-weight: 600;
    font-size: 20px;
    border-radius: 10px;
}

/* Style the specific navigation buttons */
.tabulator .tabulator-footer .tabulator-paginator button[data-page="first"],
.tabulator .tabulator-footer .tabulator-paginator button[data-page="prev"],
.tabulator .tabulator-footer .tabulator-paginator button[data-page="next"],
.tabulator .tabulator-footer .tabulator-paginator button[data-page="last"] {
    width: 100px; /* Set navigation button width */
}

.tabulator-paginator button:hover {
    background-color: #e9e9e9;
}

/* Active page button */
.tabulator .tabulator-footer .tabulator-page.active {
    background-color: #006bb6;
    color: white;
    border: 2px solid #006bb6; /* Active border color */
}

/* download documents popup styling */
.documents-popup {
    display: block;
    list-style: none;
    max-width: 300px;
    max-height: 150px;
    overflow-x: auto;
    padding: 0
}

.documents-popup li:not(:last-child) {
    border-bottom: 1px solid #dedfe0;
}

.documents-popup li {
    padding: 8px 16px;
}

.documents-popup a {
    font-size: 1rem;
    text-transform: none;
    font-weight: 400;
    text-decoration: underline;
}

.download-icon {
    font-size: 2.125rem;
    color: #006bb6;
}

.download-button {
    background: transparent;
    border: none;
}

/* table-info styling */
.table-buttons button {
    background: transparent;
    border: none;
    padding: 0;
    color: #006bb6;
}

.table-buttons button:hover {
    color: #14377d
}

