﻿/* ============================================================
   WISO Popup / Modal – rounded corners (scoped)
   - .wiso_popup
   - .wiso_popup--window_modal
   ============================================================ */

/* Root popup */
.wiso_popup,
.wiso_popup--window_modal {
    border-radius: 14px !important;
    overflow: hidden !important; /* wichtig für Header/Footer/Content */
}

    /* Häufige Popup-Content-Wrapper (je nach Render-Variante) */
    .wiso_popup .wiso_popup-content,
    .wiso_popup--window_modal .wiso_popup-content,
    .wiso_popup .wiso_popup-body,
    .wiso_popup--window_modal .wiso_popup-body,
    .wiso_popup .wiso_popup__content,
    .wiso_popup--window_modal .wiso_popup__content {
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    /* Falls Popups als "Window" gerendert werden (Header/Footer/Content) */
    .wiso_popup .wiso_window,
    .wiso_popup--window_modal .wiso_window {
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .wiso_popup .wiso_window-header,
    .wiso_popup--window_modal .wiso_window-header,
    .wiso_popup .wiso_window-content,
    .wiso_popup--window_modal .wiso_window-content,
    .wiso_popup .wiso_window-footer,
    .wiso_popup--window_modal .wiso_window-footer {
        border-radius: 0 !important; /* Root rundet */
    }

    /* Optional: wenn ein innerer Panel/Container eigene Hintergründe hat */
    .wiso_popup .wiso_layout,
    .wiso_popup--window_modal .wiso_layout {
        border-radius: 14px !important;
        overflow: hidden !important;
    }
.window-toolbar-title {
    white-space: nowrap; /* kein Umbruch */
    overflow: visible; /* DARF über andere Elemente laufen */
    text-overflow: unset; /* kein Ellipsis */
    max-width: none; /* keine künstliche Begrenzung */
    pointer-events: none; /* optional: blockiert keine Buttons daneben */
}
.w6-window .wiso_tabbar--top > .wiso_tabbar-header__wrapper {
    border-bottom: none !important;
    flex-direction: row;
}
html[data-wiso-theme="dark"] .w6-window .wiso_window .wiso_toolbar,
html[data-wiso-theme="contrast-dark"] .w6-window .wiso_window .wiso_toolbar {
    background-color: #3f4350;
}
html[data-wiso-theme="light"] .w6-window .wiso_window .wiso_toolbar,
html[data-wiso-theme="contrast-light"] .w6-window .wiso_window .wiso_toolbar {
    background-color: #41A7E1;
}

.w6_as2monitor_window .wiso_window .wiso_window-header .wiso_toolbar .wiso_navbar {
    background: linear-gradient(90deg, #020617, #0f172a, #1e3a8a);
}
html[data-wiso-theme="light"] .w6_as2monitor_window .wiso_window .wiso_window-header .wiso_toolbar .wiso_navbar,
html[data-wiso-theme="contrast-light"] .w6_as2monitor_window .wiso_window .wiso_window-header .wiso_toolbar .wiso_navbar {
    background: linear-gradient(90deg, #ffffff, #f1f5f9, #e0f2fe);
}

.w6_as2monitor_window .window-toolbar-title {
    font-family: "Segoe UI", "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em; /* 👈 gesperrt */
    text-transform: uppercase;
    color: #e2e8f0;
    letter-spacing: 0.1em;
    color: #f1f5f9;
    text-shadow: 0 0 6px rgba(59,130,246,0.3);
}

html[data-wiso-theme="light"] .w6_as2monitor_window .window-toolbar-title,
html[data-wiso-theme="contrast-light"] .w6_as2monitor_window .window-toolbar-title {
    font-family: "Segoe UI", "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1e293b; /* dunkles Slate */
    letter-spacing: 0.1em;
    color: #0f172a;
    text-shadow: 0 0 4px rgba(59,130,246,0.15);
}
