.calendar-scroll-container::-webkit-scrollbar {
    display: none;
}
.calendar-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.appointments-header {
    background-color: #fff;
    color: inherit;
    margin: 0;
    padding: 0.5rem;
}

html,
body,
#main-content {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-content {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

#calendarContainer {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#calendarTable {
    width: 100%;
    table-layout: fixed;
    flex: 1;
}
#calendarTable.day-view,
#calendarTable.week-view,
#calendarTable.month-view {
    height: 100%;
}
#calendarTable.day-view tbody tr,
#calendarTable.week-view tbody tr {
    height: calc(100% / 11);
}
#calendarTable.month-view tbody tr {
    height: calc(100% / 6);
}
#calendarTable.month-view td {
    vertical-align: top;
}

#calendarTable td[data-date] {
    overflow: hidden;
}

#calendarTable.month-view {
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

#calendarContainer table {
    border-collapse: collapse;
}
#doctorFilter,
#doctorFilter:focus {
    background-image: none;
    width: 220px;
    min-width: 220px;
    height: 40px;
}

#viewFilter,
#viewFilter:focus {
    background-image: none;
    width: 150px;
    min-width: 150px;
    height: 40px;
}

.app-footer {
    margin-top: 0;
}

/* Overlay de carga para la página de citas */
.page-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
}


