.appointment-page {
    overflow: hidden;
}

.appointment-page .appointment-content {
    max-width: 100% !important;
    /* padding-left: 30px !important;
    padding-right: 30px !important; */
}

/* Estilos para mantener el banner como estaba */
.appointment-page .navbar {
    width: 100% !important;
    max-width: none !important;

}

.appointment-page .navbar .container-nav {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.appointment-page .container {
    max-width: 1200px;
    max-height: 95%;
    min-height: 95%;
}

.appointment-page .filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.appointment-page .filter-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.appointment-page .filter-column {
    flex: 1;
}

.appointment-page label {
    display: block;
    margin-bottom: 3px;
}

.appointment-page select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.appointment-page .table-container {
    overflow-x: auto;
    margin-bottom: 0;
}

.appointment-page #appointmentsTable {
    width: 100%;
    border-collapse: collapse;
}

.appointment-page #appointmentsTable th,
.appointment-page #appointmentsTable td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.appointment-page #appointmentsTable th {
    background-color: #f2f2f2;
}

.appointment-page .pagination {
    margin-top: 4px;
}

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-row {
    display: flex;
    gap: 20px;
}

.filter-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
}

select {
    width: 100%;
    padding: 5px;
}

.table-container {
    max-height: 300px; /* Ajusta esta altura según tus necesidades */
    overflow-y: auto;
    margin-bottom: 20px; /* Espacio entre la tabla y el paginador */
}

#appointmentsTable {
    margin-bottom: 0; /* Elimina el margen inferior de la tabla */
}

#appointmentsTable thead th {
    position: sticky;
    top: 0;
    background-color: #fff; /* O el color de fondo que prefieras */
    z-index: 1;
}

.pagination {
    position: sticky;
    bottom: 0;
    background-color: #fff; /* O el color de fondo que prefieras */
    padding: 10px 0;
    z-index: 1;
}

.phone-style {
    padding: 2px !important;
    margin: 4px 0px 0px;
    height: 32px;
}

#phone {
    border: 1px solid #bbb;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.phone {
    padding: 0px;
}