/* --- Dark mode for Radzen popups and dropdowns --- */
body.mud-theme-dark .rz-dropdown-panel,
body.mud-theme-dark .rz-dropdown-list,
body.mud-theme-dark .rz-dropdown-item,
body.mud-theme-dark .rz-dropdown-label,
body.mud-theme-dark .rz-dropdown {
    background: #383838 !important;
    color: #F5F5F5 !important;
}

body.mud-theme-dark .disaster-recovery-title {
    background-color: #383838 !important;
}

body.mud-theme-dark .rz-form-field-label,
body.mud-theme-dark .rz-inputtext,
body.mud-theme-dark .rz-textarea,
body.mud-theme-dark .rz-textbox,
body.mud-theme-dark .rz-form-field-content{
    background-color: #383838 !important;
}

body.mud-theme-dark .rz-tabview.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected{
    background-color: #00000040 !important;
}

body.mud-theme-dark .mud-link {
    color: #06a2de !important;
}

body.mud-theme-dark .mud-progress-circular-svg {
    color: #F5F5F5 !important;
}

body.mud-theme-dark .readonly-textboxes,
body.mud-theme-dark .alert-card-container,
body.mud-theme-dark .alerts-panel .custom-accordion-content,
body.mud-theme-dark .alerts-panel .rz-accordion-content-wrapper .rz-accordion-content,
body.mud-theme-dark .custom-accordion-item,
body.mud-theme-dark .alerts-panel {
    background-color: #383838 !important;
}

body.mud-theme-dark .rz-steps .rz-state-highlight .rz-steps-number{
    background-color: #5ebed6;
}

body.mud-theme-dark .rz-steps-title{
    color: white !important;
}

body.mud-theme-dark .info-text,
body.mud-theme-dark .mud-svg-icon,
body.mud-theme-dark .mud-icon-button-label,
body.mud-theme-dark .rz-button-box,
body.mud-theme-dark .rz-button-icon-left {
    color: #F5F5F5 !important;
}
body.mud-theme-dark .template-content {
    background-color: #383838 !important;
}

body.mud-theme-dark .routing-content {
    background-color: #383838 !important;
}


/* Optional: Improve appearance for other Radzen popups/inputs */
body.mud-theme-dark .rz-overlaypanel-content,
body.mud-theme-dark .rz-popup,
body.mud-theme-dark .rz-calendar,
body.mud-theme-dark .rz-grid-table {
    background: #383838 !important;
    color: #F5F5F5 !important;
}

body.mud-theme-dark .rz-dropdown-item.rz-state-highlight {
    background: #5ebed6 !important;
    color: #F5F5F5 !important;
}

body.mud-theme-dark .rz-dropdown-item:hover {
    color: #5ebed6 !important;
}

body.mud-theme-dark .rz-chkbox-box{
    background: #F5F5F5 !important;
}

body.mud-theme-dark .create-report-menu-list div .mud-menu-item .mud-menu-item-icon {
    color: #F5F5F5 !important;
}
