/* Estilo del Ministerio de Salud */
#rcmloginsubmit,
#rcmloginsubmit:focus {
    background-color: #39c937 !important;
    border-color: #39c937 !important;
    color: #ffffff !important;
}
#rcmloginsubmit:hover {
    filter: brightness(0.9);
}

/* Color de acento verde en modo claro */
html:not(.dark-mode) #taskmenu a.compose,
html:not(.dark-mode) #taskmenu a.compose:before {
    color: #39c937 !important;
}
html:not(.dark-mode) .unreadcount {
    background-color: #39c937 !important;
    color: #ffffff !important;
}
html:not(.dark-mode) .listing li.selected,
html:not(.dark-mode) .listing li.selected > a,
html:not(.dark-mode) table.records-table tr.selected td {
    background-color: #e7f8e7 !important;
}
html:not(.dark-mode) .btn-primary,
html:not(.dark-mode) .button.mainaction,
html:not(.dark-mode) button.mainaction {
    background-color: #39c937 !important;
    border-color: #39c937 !important;
    color: #ffffff !important;
}

/* Color de acento verde en modo oscuro */
html.dark-mode #taskmenu a.compose,
html.dark-mode #taskmenu a.compose:before {
    color: #39c937 !important;
}
html.dark-mode .unreadcount {
    background-color: #39c937 !important;
    color: #ffffff !important;
}
html.dark-mode .listing li.selected,
html.dark-mode .listing li.selected > a,
html.dark-mode table.records-table tr.selected td {
    background-color: #1f3a24 !important;
}
html.dark-mode .btn-primary,
html.dark-mode .button.mainaction,
html.dark-mode button.mainaction {
    background-color: #39c937 !important;
    border-color: #39c937 !important;
    color: #ffffff !important;
}

/* Modo oscuro: carpeta seleccionada en blanco */
html.dark-mode .listing li.selected > a,
html.dark-mode .listing li.selected > a:before,
html.dark-mode .listing li.selected > a span.name {
    color: #ffffff !important;
}

/* Barra de espacio ocupado en verde (ambos modos) */
.quota-widget .bar .value {
    background-color: #39c937 !important;
}

/* Indicador del elemento con foco en verde (ambos modos) */
table.records-table tr.focused td:first-child,
.listing li.focused > a {
    border-left-color: #39c937 !important;
}
