/* ==========================================================
   NoviDesk — Centrum zdarzeń: poprawa kontrastu i kolorów V1
   Ładowane jako ostatni arkusz po novidesk-theme-hardfix-v112.css.
   Zmienia wyłącznie wygląd modalu powiadomień i jego przycisku w sidebarze.
   ========================================================== */

/* Modal zawsze pozostaje czytelny niezależnie od wybranego motywu panelu. */
html body .bg-v29u-modal.bg-v60-events-modal{
    color-scheme:light;
    background:linear-gradient(180deg,#ffffff 0%,#fff9fc 100%)!important;
    border-color:#eadce3!important;
}

html body .bg-v60-events-modal .bg-v29u-action-grid{
    gap:10px!important;
    padding:0!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card{
    min-height:70px!important;
    padding:11px 14px!important;
    border:1px solid #eadce3!important;
    border-radius:17px!important;
    background:linear-gradient(145deg,#ffffff,#faf7fb)!important;
    box-shadow:0 8px 22px rgba(54,32,48,.07)!important;
    overflow:hidden!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card.is-hot{
    border-color:#f2c7b0!important;
    background:linear-gradient(145deg,#fffaf5 0%,#fff0e7 100%)!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card.is-blue{
    border-color:#cbdcf5!important;
    background:linear-gradient(145deg,#f9fcff 0%,#edf5ff 100%)!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card:not(.is-hot):not(.is-blue){
    border-color:#ddd5e2!important;
    background:linear-gradient(145deg,#fdfcff 0%,#f4f1f7 100%)!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card span{
    color:#665865!important;
    opacity:1!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card strong{
    color:#2d1f2a!important;
    opacity:1!important;
    text-shadow:none!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card.is-hot strong{
    color:#d94f17!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card.is-blue strong{
    color:#1763c7!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card .bg-v60-stat-icon{
    box-shadow:inset 0 0 0 1px rgba(82,55,72,.07)!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card.is-hot .bg-v60-stat-icon{
    background:#fff0e4!important;
    color:#c95b1f!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card.is-blue .bg-v60-stat-icon{
    background:#e9f3ff!important;
    color:#1763c7!important;
}

html body .bg-v60-events-modal .bg-v29u-action-card:not(.is-hot):not(.is-blue) .bg-v60-stat-icon{
    background:#eeeaf2!important;
    color:#5c4e62!important;
}

/* Czytelniejsza pozycja „Powiadomienia” w lewym menu. */
html body .bg-sidebar .bg-v29u-sidebar-link,
html body .bg-v29u-sidebar-link{
    border-color:rgba(255,226,239,.30)!important;
    background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.055))!important;
}

html body .bg-sidebar .bg-v29u-sidebar-link:hover,
html body .bg-v29u-sidebar-link:hover{
    border-color:rgba(255,226,239,.48)!important;
    background:linear-gradient(135deg,rgba(222,123,166,.38),rgba(255,255,255,.10))!important;
}

html body .bg-sidebar .bg-v29u-sidebar-link .bg-sidebar-link-text,
html body .bg-v29u-sidebar-link .bg-sidebar-link-text{
    color:#ffffff!important;
    opacity:1!important;
}

html body .bg-sidebar .bg-v29u-sidebar-link .bg-sidebar-link-text::after,
html body .bg-v29u-sidebar-link .bg-sidebar-link-text::after{
    color:rgba(255,241,247,.82)!important;
}

html body .bg-v29w-notification-empty-dot{
    background:#efabc8!important;
    border:1px solid rgba(255,255,255,.52)!important;
    box-shadow:0 0 0 4px rgba(239,171,200,.13),0 0 14px rgba(239,171,200,.28)!important;
}

@media(max-width:760px){
    html body .bg-v60-events-modal .bg-v29u-action-grid{
        gap:8px!important;
    }

    html body .bg-v60-events-modal .bg-v29u-action-card{
        min-height:62px!important;
        border-radius:15px!important;
    }
}
