/**
 * GALES-13220: Emergency Layout - Emergency Overrides
 *
 * Este arquivo é carregado por último e sobrescreve estilos
 * do styleAgrodefesa.css compilado.
 *
 * @version 2.1.0
 * @date 2025-12-11
 */

/* ==========================================================================
   DROPDOWN OPERAÇÕES - Figma specs (dropdown_menu_light/dark.css)
   Sobrescreve estilos do styleAgrodefesa.css compilado
   ========================================================================== */

.operacao-items {
    background: #F6F6F9 !important;
    border: 1px solid #CED3E2 !important;
    border-radius: 6px !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.09) !important;
    width: 200px !important;
    padding: 5px !important;
    z-index: 9999 !important;
}

.operacao-items .mdl-menu__item,
.operacao-items .mdl-list__item {
    background: #F6F6F9 !important;
    padding: 8px !important;
    gap: 12px;
    width: 190px !important;
    height: 40px !important;
    border: none !important;
    margin: 0 !important;
}

.operacao-items .mdl-menu__item:hover,
.operacao-items .mdl-list__item:hover {
    background: #ECEDF2 !important;
    border-radius: 6px !important;
}

.operacao-items .icone-ipe,
.operacao-items .mdi,
.operacao-items .material-icons {
    color: #394360 !important;
    font-size: 18px !important;
}

.operacao-items .mdl-list__item-primary-content p {
    color: #394360 !important;
    font-weight: 500;
    font-size: 14px !important;
}

/* Dark mode - Figma specs */
html.dark .operacao-items,
html.dark-mode .operacao-items,
html[data-theme="dark"] .operacao-items {
    background: #141926 !important;
    border: 1px solid #2A2F41 !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2) !important;
}

html.dark .operacao-items .mdl-menu__item,
html.dark .operacao-items .mdl-list__item,
html.dark-mode .operacao-items .mdl-menu__item,
html.dark-mode .operacao-items .mdl-list__item,
html[data-theme="dark"] .operacao-items .mdl-menu__item,
html[data-theme="dark"] .operacao-items .mdl-list__item {
    background: #141926 !important;
}

html.dark .operacao-items .mdl-menu__item:hover,
html.dark .operacao-items .mdl-list__item:hover,
html.dark-mode .operacao-items .mdl-menu__item:hover,
html.dark-mode .operacao-items .mdl-list__item:hover,
html[data-theme="dark"] .operacao-items .mdl-menu__item:hover,
html[data-theme="dark"] .operacao-items .mdl-list__item:hover {
    background: #212533 !important;
}

html.dark .operacao-items .icone-ipe,
html.dark .operacao-items .mdi,
html.dark .operacao-items .material-icons,
html.dark-mode .operacao-items .icone-ipe,
html.dark-mode .operacao-items .mdi,
html.dark-mode .operacao-items .material-icons,
html[data-theme="dark"] .operacao-items .icone-ipe,
html[data-theme="dark"] .operacao-items .mdi,
html[data-theme="dark"] .operacao-items .material-icons {
    color: #A2A8B9 !important;
}

html.dark .operacao-items .mdl-list__item-primary-content p,
html.dark-mode .operacao-items .mdl-list__item-primary-content p,
html[data-theme="dark"] .operacao-items .mdl-list__item-primary-content p {
    color: #BFC3CF !important;
}
