/* Contenedor responsive del navbar */
.navbar-container {
  width: 100%;
  padding: 0 10px; /* espacio lateral en móviles */
  max-width: 1200px; /* límite de ancho en pantallas grandes */
  margin: 0 auto; /* centrado horizontal */
}

/* Alternativa con porcentaje máximo */
@media (min-width: 992px) { /* pantallas grandes */
  .navbar-container {
    max-width: 70%; /* máximo 70% del ancho en escritorio */
  }
}

.fc-event{
    font-size:0.70rem;
    padding:2px 4px;
    font-weight: 500;
    border-radius:4px;
    margin-bottom:1px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
#contextMenu{position:absolute;display:none;background:#fff;border:1px solid #ccc;z-index:10000;}
#contextMenu ul{list-style:none;margin:0;padding:5px;}
#contextMenu ul li{padding:5px 10px;cursor:pointer;}
#contextMenu ul li:hover{background:#eee;}


/* Eliminar espacio extra al final de cada celda */
.fc-daygrid-day-frame {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* asegura que el contenido quede arriba */
    padding-bottom: 0.15rem !important; /* elimina padding inferior */
}

.fc-daygrid-day-frame {
    padding-bottom: 5px !important;
}

/* Ajustar los eventos dentro de la celda */
.fc-daygrid-day-events {
    margin-top: 2px;
    margin-bottom: 0; /* sin margen al final */
}

.fc-event {
    border: 1px solid #cccccc; /* color del borde */
    border-radius: 4px;        /* opcional, redondear esquinas */
}

.fc .fc-daygrid-day-number {
    text-decoration: none !important;
    color: lightslategray !important
}

.fc .fc-col-header-cell-cushion {
    text-decoration: none !important;
    color: lightslategrey !important;
}

.fc-day-today {
    background: none !important; /* or transparent */
}

.fc .fc-highlight
{
    background: rgba(209, 209, 209, 15%);
}

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events
{
    min-height: 6em !important;
}

.fc table {
    font-size: 0.75rem;
}

.fc .fc-daygrid-day-number {
    padding: 1px 4px 0px 6px;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.5em !important;
}

.fc .fc-toolbar-title {
    font-size: 1.25em;
    color: #3C3C3C !important;
}

.fc .fc-button {
    font-size: 0.75em;
}

.fc .fc-button-primary {
    background-color: #CC0000;
    border-color: #eeeeee;
    color: #ffff;
}

.form-control:focus {
    border-color: #bebebe !important;
    box-shadow: 0 0 0 .15rem rgb(207 207 207 / 25%) !important;
}

.form-select:focus {
    border-color: #bebebe !important;
    box-shadow: 0 0 0 .15rem rgb(207 207 207 / 25%) !important;
}


.dropdown-item.active, .dropdown-item:active {
    background-color: #4d4d4d !important;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #4D4D4D !important;
    /* box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color); */
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .15rem rgb(207 207 207 / 25%) !important;

}

.accordion-button {
    color: #fff;
    background-color: #4D4D4D !important;
}

.accordion {
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .15rem rgb(207 207 207 / 25%) !important;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}