* {
    font-family: 'Montserrat', sans-serif;
}


select {
    appearance: none;
}

.modal {
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
}

/* input[type="text"][disabled] {
    background: #dcdcdc;
} */

input[disabled] {
    background: #dcdcdc;
}

select[disabled] {
    background: #dcdcdc;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

label {
    font-weight: 600;
    font-size: 14px;
    color: #2C2C2E;
    margin-bottom: 5px;
}

input[type="radio"]:checked {
    color: #549fa8;
}

select {
    border: none;
}

select.units option:after {
    content: '*';
    color: red;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    border-radius: var(--swal2-confirm-button-border-radius);
    background: initial;
    background-color: var(--swal2-confirm-button-background-color) !important;
    box-shadow: var(--swal2-confirm-button-box-shadow);
    color: var(--swal2-confirm-button-color);
}

.overflow-x-auto {
    overflow-x: auto;
    overflow-y: auto !important;
    height: 500px !important;
}

.animate-slide {
    display: inline-block;
    animation: slide 20s linear infinite;
}

table,
tbody,
tr,
td {
    overflow: visible !important;
    position: relative;
}

td,
th {
    padding: 10px;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f9f9f9;
    padding: 20px;
}

.appointment-tile {
    background: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.appointment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.physician-info {
    display: flex;
    align-items: center;
}

.physician-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.appointment-details {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.toggle-button {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

.action-panel {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.loader {
    text-align: center;
    font-size: 14px;
    padding: 10px;
    color: rgb(21, 4, 207);
}

.btn {
    padding: 8px 14px;
    margin-right: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.btn-reschedule {
    background: #4CAF50;
    color: white;
}

.btn-cancel {
    background: #f44336;
    color: white;
}

#blur-overlay {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.session-badge {
    float: right;
    margin: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 9999px;
    /* pill shape */
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    background: #e5e7eb;
    color: #374151;
    user-select: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 9999;
    /* always on top */
}

.session-badge.warning {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fdba74;
    box-shadow: 0 0 8px rgba(251, 146, 60, 0.6);
}

.session-badge.expired {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #f87171;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

.session-badge .icon {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}