#token_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.filter-width {
    width: 200px;

}

.token-card {
    display: none;
}

.token-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: .5px;
    border-radius: 100%;
    background-color: #e7e7e7;
    color: #000;
    font-size: 13px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    text-align: center;
}

.token-label:hover {
    background-color: #e0e0e0;
}

.token-card:checked+.token-label {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

.token-label.bg-danger {
    background-color: #ccc;
    cursor: not-allowed;
    border-color: #aaa;
    color: #000000;
}

.top-right-alert {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1050;
    width: auto;


}

.input#dateFilter {

    width: 220px;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}

.form-check {
    display: flex;

}

.role-column {
    width: 30%;
}

.history-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
}

.procedure-name,
.done-by,
.procedure-description {
    word-wrap: break-word;
    white-space: normal;
    max-width: 250px;
    width: 250px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    line-clamp: 5;
    text-overflow: ellipsis;
    vertical-align: top;
}

/* table.dataTable td {
    padding: 8px 10px;
    text-align: left;
} */

.tab {
    background-color: #e5e0ff;
}

.card-size {
    padding: 1rem;
    min-height: 5rem;
    display: flex;
    align-items: center;
    text-align: center;
}

.sub-text {
    font-weight: 900;
    font-size: 17px;
}

.head-text {
    font-size: 13px;
}

.tab {
    width: auto;
    height: auto;
    color: #000;
    font-weight: 900;
    font-size: 17px;
    padding: 18px;
    border: none;
}

.due-box,
.print-box {
    margin-left: 10px;
    height: 5rem;
    padding: 10px;
    width: 97px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.bottom-box {
    margin-left: auto;
    justify-content: end;
}

.due-box {
    background-color: #FFEAC5;
}

.bill-modal {
    background-color: transparent !important;
}

.tab-link {
    font-weight: 600;
    color: #000;
}

.print-box {
    font-weight: 900;
    cursor: pointer;
    font-size: 17px;

}

.status-card {
    width: 120px;
}

.badge-lg {
    font-size: 14px;

}

.remove-service {
    color: #dc3545;
    font-size: 0.875rem;
}

.remove-service i {
    margin-right: 5px;
}

.underline {
    border-bottom: 4px solid #d33737;
}

.profile-image {
    width: 300px;
    height: 200px;
    text-align: center;
    display: block;
    margin-top: 10px;
}

.dashboard-div-height-70 {
    height: 70px !important;
}

span.select2-selection.select2-selection--single {
    border: 1px solid #cddcea;
    background-color: #f8fafc;
    height: 38px;
    align-items: center;
    display: flex;
}

span.select2-selection__arrow {
    margin-top: 6px;
}

/* .bill-centered-container {
    width: 50%;
    display: flex;
    justify-content: center;
    margin-left: 5.3rem;
} */

.select2-selection.is-invalid {
    border-color: #dc3545 !important;
    border-width: 1px;
}

.short-description {
    position: relative;
    cursor: pointer;
}

.short-description[data-full-text]:hover::after {
    content: attr(data-full-text);
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    white-space: normal;
    z-index: 1000;
    left: 0;
    top: 120%;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
    font-size: 14px;
    width: 40vh;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.short-description::after {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

@media print {
    div {
        height: 100% !important;
    }
}



@media only screen and (max-width: 1312px) {}

.filter-toggle.active {
    background-color: #007bff;
    /* Active button color */
    color: white;
}

@media print {
    body {
        -webkit-print-color-adjust: exact;
        /* Adjust for color */
        -moz-print-color-adjust: exact;
        /* Firefox */
        print-color-adjust: exact;
        /* Non-prefixed version */
    }

    .print-header {
        display: block;
    }

    .print-footer {
        display: block;
    }

}

/* .card {
    border: 1px solid #e0e0e0;
    border-radius: 0.25rem; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
} */
.input-group-text {
    cursor: pointer;
}

.error-position,
.field-error {
    position: static !important;
    margin-top: 0.35rem;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    z-index: auto !important;
}

.field-error:empty {
    display: none !important;
}

.field-error:not(:empty) {
    display: block !important;
}

.card {
    --tb-card-bg: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.body {
    background: #E7EFF5;
}

.btn-primary-color {
    background: #4B99CB;
}

.btn-primary-color:hover {
    background: #4B99CB;
}

.large-font {
    font-size: 0.90rem;
}

.custom-hr {
    width: 100%;
    margin: 1rem auto;
    border: 1px solid #ccc;
}

/* Global UI font — matches appointment list reference */
html,
body,
.navbar-menu,
.app-menu,
.main-content,
.page-content,
.table,
.dataTables_wrapper {
    --tb-font-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
    --tb-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.page-title,
.card-title,
.breadcrumb,
.btn,
.form-control,
.form-select,
.nav-link,
.dropdown-menu {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

:root {
    --bs-primary: #4B99CB;
    --bs-primary-rgb: 75, 153, 203;
    --bs-secondary: #5E6E82;
    --bs-secondary-rgb: 94, 110, 130;
    --bs-success: #23C58A;
    --bs-success-rgb: 35, 197, 138;
    --bs-info: #17A2B8;
    --bs-info-rgb: 23, 162, 184;
    --bs-warning: #F0AD4E;
    --bs-warning-rgb: 240, 173, 78;
    --bs-danger: #E74C3C;
    --bs-danger-rgb: 231, 76, 60;
    --bs-light: #F8F9FA;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark: #34495E;
    --bs-dark-rgb: 52, 73, 94;
}

/* Global DataTable / table header highlight + Inter font */
table.dataTable,
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tbody td,
table.dataTable tbody th,
table.display,
table.display thead th,
table.display tbody td,
table.dt-responsive,
table.dt-responsive thead th,
table.dt-responsive tbody td,
.table.dataTable,
.table.dataTable thead th,
.table.dataTable tbody td,
.dataTables_wrapper,
.dataTables_wrapper table,
.dataTables_wrapper table thead th,
.dataTables_wrapper table tbody td,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate,
.table > thead > tr > th,
.table > tbody > tr > td {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

table.dataTable thead th,
table.dataTable thead td,
table.display thead th,
table.dt-responsive thead th,
.table.dataTable thead th,
.dataTables_wrapper table thead th,
.table > thead > tr > th {
    background: #eff6ff !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.01em;
    border-bottom: 2px solid #bfdbfe !important;
    vertical-align: middle !important;
    white-space: nowrap;
}

table.dataTable thead th.sorting:hover,
table.dataTable thead th.sorting_asc:hover,
table.dataTable thead th.sorting_desc:hover,
.table > thead > tr > th:hover {
    background: #dbeafe !important;
}

table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

table.dataTable tbody td,
table.display tbody td,
.table > tbody > tr > td {
    font-weight: 400 !important;
    font-size: 0.875rem !important;
    color: #334155 !important;
}