/* Calendário: texto branco independentemente da cor do evento. */
#calendar .fc-event,
#calendar .fc-event .fc-title,
#calendar .fc-event .fc-content,
#calendar .fc-event .fc-time,
#calendar .fc-event .fc-event-title,
#calendar .fc-event .fc-event-time,
#calendar .fc-event .fc-event-main,
#calendar .fc-event .fc-event-main-frame,
#calendar .fc-event .fc-list-item-title,
#calendar .fc-event .fc-event-title-container,
#calendar .fc-list-item .fc-list-item-title,
#calendar .fc-list-item .fc-list-item-title a {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Tabela de clientes (/admin/clients): células em preto, cabeçalhos em verde.
   Nota: o tema usa -webkit-text-fill-color que prevalece sobre color, por
   isso forçamos ambos. */
html body table.table-clients,
html body table.table-clients tbody tr,
html body table.table-clients tbody td,
html body table.table-clients tbody td *,
html body table.table-clients tbody td a,
html body table.table-clients tbody td a:link,
html body table.table-clients tbody td a:visited,
html body table.table-clients tbody td a:hover,
html body table.table-clients tbody td a:active,
html body table.table-clients tbody td .row-options a,
html body table.table-clients tbody td .row-options a:link,
html body table.table-clients tbody td .row-options a:visited {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}
/* Cabeçalhos da tabela de clientes em verde (cor primária do tema). */
html body table.table-clients thead th,
html body table.table-clients thead tr th {
    color: #8BC540 !important;
    -webkit-text-fill-color: #8BC540 !important;
}
/* Manter o link de apagar a vermelho para não perder o sinal de perigo. */
html body table.table-clients td .row-options a.text-danger,
html body table.table-clients td .row-options a.text-danger:link,
html body table.table-clients td .row-options a.text-danger:visited {
    color: #d9534f !important;
    -webkit-text-fill-color: #d9534f !important;
}

/* Título mais legível em eventos da vista semana/dia. */
#calendar .fc-timegrid-event .fc-event-title {
    font-weight: 600;
    white-space: normal;
    line-height: 1.15;
}
#calendar .fc-timegrid-event .fc-event-time {
    font-size: 10px;
    opacity: .85;
}

/* Esconder itens do menu Setup. */
.menu-item-modules,
.menu-item-theme-style {
    display: none !important;
}

/* Esconder secções "Atualização do sistema" e "System/Server Info" das definições. */
.settings-group-system-update,
.settings-group-system-info {
    display: none !important;
}
