/* ==========================================================================
   AGENDA
   ========================================================================== */

/* ==========================================================================
   ESTRUTURA
   ========================================================================== */
.app-shell,
.nav-link{
    transition:background-color .20s ease,color .20s ease;
}

.container-calendar{
    margin-top:30px;
    padding:25px;
    background:#ffffff;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
}

/* ==========================================================================
   FULLCALENDAR
   ========================================================================== */
.fc .fc-daygrid-event,
.fc .fc-timegrid-event{
    border-width:1px;
    border-radius:3px;
}

.fc .fc-daygrid-event{
    white-space:normal;
}

.fc .fc-more-link{
    color:#0d6efd;
    font-size:11px;
    cursor:pointer;
}

.fc .fc-popover{
    width:320px;
    max-width:min(92vw,420px);
    box-shadow:0 8px 24px rgba(15,23,42,.18);
}

.fc .fc-popover-body{
    padding:8px;
}

.fc .fc-popover .fc-daygrid-event{
    margin:4px 0;
}

/* ==========================================================================
   PREVIEW DOS EVENTOS
   ========================================================================== */
.agenda-event-preview{
    width:100%;
    min-height:42px;
    padding:3px 4px;
    color:#ffffff;
    font-size:10px;
    line-height:1.2;
    font-weight:700;
    overflow:hidden;
}

.agenda-event-preview .agenda-event-line{
    display:block;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.agenda-event-preview .agenda-event-meta{
    font-weight:600;
}

.fc .fc-popover .agenda-event-preview{
    min-height:55px;
    padding:3px 5px;
    font-size:12px;
    line-height:1.25;
}

/* ==========================================================================
   FILTROS
   ========================================================================== */
.titulo-agenda{
    padding-left:15px;
    border-left:5px solid var(--theme-color);
}

.filtro-label{
    letter-spacing:.5px;
}

.filtro-select{
    width:200px;
}

/* ==========================================================================
   FULLCALENDAR - LINKS
   ========================================================================== */
.fc a{
    color:#212529 !important;
    text-decoration:none !important;
}

.fc a:hover{
    color:#000000 !important;
    text-decoration:none !important;
}

.fc .fc-col-header-cell-cushion{
    color:#000000 !important;
    text-decoration:none !important;
}

.fc .fc-daygrid-day-number{
    padding:4px 8px !important;
    color:#000000 !important;
    text-decoration:none !important;
}

.fc .fc-day-today .fc-daygrid-day-number{
    color:#334157 !important;
    font-weight:700 !important;
}

/* ==========================================================================
   BOTÕES DE HORÁRIO
   ========================================================================== */
.btn-horario-compacto{
    height:auto;
    padding:.05rem .40rem !important;
    font-size:.70rem !important;
    line-height:1.1 !important;
}

.btn-group-horario{
    display:flex;
    gap:2px;
}