/* Here, the content of the common custom CSS defined into Home - Setup - Display - CSS*/
.campo-rojo {
 color: #e00000 !important;
 font-weight: bold;
}

.campo-azul {
 color: #0066cc !important;
 font-weight: bold;
}

.campo-verde {
 color: #00a65a !important;
 font-weight: bold;
}

.campo-oro {
 color: #b8860b !important;
 font-weight: bold;
}
div.login_table {
 background: transparent !important;
 backdrop-filter: none !important;
 -webkit-backdrop-filter: none !important;
 border: none !important;
 box-shadow: none !important;
}
div.login_table {
 background: transparent !important;
 backdrop-filter: none !important;
 border: none !important;
 box-shadow: none !important;
}

.login_table .tdinputlogin {
 background-color: rgba(255, 255, 255, 0.40) !important;
 border: none !important;
 border-bottom: 1px solid rgba(255, 255, 255, 0.7) !important;
 border-radius: 6px !important;
}
/* KANBAN PROSPECTOS - modo oscuro */
#kanban_prospects .e-kanbancard,
#kanban_prospects .e-columnrow .e-kanbancard,
#kanban_prospects .e-kanbancard.e-hover,
#kanban_prospects .e-kanbancard.e-cardselection {
 background: #17354F !important;
 background-image: none !important;
 border: 1px solid #29475d !important;
 outline: 0 !important;
 box-shadow: none !important;
}
#kanban_prospects .e-kanbancard:hover {
 background: #1c4263 !important;
 border-color: #17B6E6 !important;
}

/* todo lo de dentro de la tarjeta, transparente */
#kanban_prospects .e-kanbancard table,
#kanban_prospects .e-kanbancard tr,
#kanban_prospects .e-kanbancard td {
 background: transparent !important;
 background-image: none !important;
}

/* textos de la tarjeta en claro */
#kanban_prospects .e-kanbancard,
#kanban_prospects .e-kanbancard div,
#kanban_prospects .e-kanbancard span,
#kanban_prospects .e-kanbancard td {
 color: #eaf4fb !important;
}
#kanban_prospects .e-kanbancard a,
#kanban_prospects .e-kanbancard .object-link {
 color: #45c9f0 !important;
}

/* cabeceras de columna */
#kanban_prospects .e-kanbanheader,
#kanban_prospects .e-kanbanheader .e-headercell {
 background: #102638 !important;
 border-color: #29475d !important;
}
.login_table .tdinputlogin input {
 background: transparent !important;
 background-color: transparent !important;
 color: #fff !important;
 box-shadow: none !important;
 -webkit-box-shadow: none !important;
}

.login_table .tdinputlogin input::placeholder {
 color: rgba(255, 255, 255, 0.7) !important;
}
/* Etiqueta (ej. "Bajo") */
#kanban_prospects .e-kanbancard .e-tag {
 background: #29475d !important;
 color: #eaf4fb !important;
 border: 1px solid #426176 !important;
}

/* Leyenda */
.legend-label, .legend-label * {
 color: #eaf4fb !important;
}
/* Triángulo de nivel en la esquina de la tarjeta */
#kanban_prospects .e-kanbancard .e-bottom-triangle {
 border-left-color: transparent !important;
 border-top-color: transparent !important;
 border-right-color: transparent !important;
}
html body .maxwidthsearch button,
html body .maxwidthsearch a,
html body .maxwidthsearch img,
html body button.button_search,
html body button.button_removefilter,
html body button[name*="button_search"],
html body button[name*="button_removefilter"],
html body tr.liste_titre_filter td button,
html body tr.liste_titre_filter th button {
 filter: brightness(0) invert(1) !important;
 opacity: 1 !important;
 visibility: visible !important;
}
/* Etiquetas de email (Enviar a, Copia a...) legibles en modo oscuro */
html body .select2-container--default .select2-selection--multiple .select2-selection__choice,
html body .select2-container .select2-selection--multiple .select2-selection__choice {
 background-color: #123b60 !important;
 border: 1px solid #347db8 !important;
 color: #ffffff !important;
 -webkit-text-fill-color: #ffffff !important;
 opacity: 1 !important;
}
html body .select2-selection__choice__display,
html body .select2-selection__choice span,
html body .select2-selection__choice * {
 color: #ffffff !important;
 -webkit-text-fill-color: #ffffff !important;
 opacity: 1 !important;
}
html body .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
 color: #ff8a8a !important;
 -webkit-text-fill-color: #ff8a8a !important;
}
html body .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
 color: #ffffff !important;
}
/* ===== AGENDA Dolibarr (vista mes / semana / día) en modo oscuro ===== */

/* Celdas del mes actual */
html body table.cal_month td.cal_current_month,
html body table.cal_month td.cal_current_month_peruserleft,
html body table.cal_month td.cal_current_month_oneday,
html body td.cal_current_month,
html body td.cal_current_month_right,
html body td.cal_impair {
 background: #20242b !important;
 background-color: #20242b !important;
 border-color: #3b4652 !important;
 color: #e7e9f0 !important;
}

/* Días pasados y de otros meses (más oscuros) */
html body table.cal_month td.cal_other_month,
html body table.cal_month td.cal_past_month,
html body td.cal_other_month,
html body td.cal_other_month_right,
html body td.cal_past_month {
 background: #15181d !important;
 background-color: #15181d !important;
 border-color: #2f3640 !important;
 color: #8b95a1 !important;
}

/* Hoy */
html body table.cal_month td.cal_today,
html body td.cal_today,
html body td.cal_today_peruser,
html body td.cal_today_peruser_peruserleft,
html body td.cal_today_peruser_impair {
 background: #123b60 !important;
 background-color: #123b60 !important;
 border-color: #347db8 !important;
 color: #ffffff !important;
}

/* Números de día, "+" y enlaces dentro de las celdas */
html body table.cal_month td.cal_current_month,
html body table.cal_month td.cal_current_month *,
html body table.cal_month td.cal_today,
html body table.cal_month td.cal_today * {
 color: #57c7e8 !important;
 -webkit-text-fill-color: #57c7e8 !important;
}
html body table.cal_month td.cal_other_month,
html body table.cal_month td.cal_other_month *,
html body table.cal_month td.cal_past_month,
html body table.cal_month td.cal_past_month * {
 color: #8b95a1 !important;
 -webkit-text-fill-color: #8b95a1 !important;
}

/* Eventos (tarjetas dentro de cada día) */
html body table.cal_event,
html body table.cal_event td,
html body td.cal_event,
html body td.cal_event_right,
html body .cal_event_busy,
html body .cal_event_notbusy {
 background: #2b3340 !important;
 background-color: #2b3340 !important;
 color: #e7e9f0 !important;
 filter: none !important;
}
html body .cal_event a,
html body .cal_event a:link,
html body .cal_event a:visited,
html body .cal_event a:active,
html body .cal_event span,
html body .cal_event_notbusy a.cal_event_title:hover,
html body table.cal_event *,
html body td.cal_event * {
 color: #e7e9f0 !important;
 -webkit-text-fill-color: #e7e9f0 !important;
}
html body table.cal_event:hover,
html body table.cal_event:hover td {
 background: #123b60 !important;
 background-color: #123b60 !important;
}

/* Círculo de estado y "+9 más" */
html body .cal_event span.badge.badge-status {
 border-color: #8b95a1 !important;
}
html body table.cal_month .fa-angle-double-down,
html body table.cal_month .fa-chevron-down {
 color: #57c7e8 !important;
}

/* Vista por usuario / semana: franjas libres y festivos */
html body td.peruser_holiday_imp {
 background: #3a2a2a !important;
}