﻿/* notifications-bell.css
   Scope:
   - Header notifications bell (badge, dot, dropdown, glow)
   - Footer "Was ist neu?" link styling (scoped to footer only)
*/

/* ---------------------------------------------
   Bell button (positioning anchor for badge/dot)
---------------------------------------------- */
#notifyBellBtn {
    position: relative;
}

/* Workload badge (number) */
.notify-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 700;
    background: #dc3545;
    color: #fff;
    border: 2px solid #fff;
}

/* "new/unseen" dot on bell */
.notify-newdot {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffb300;
    box-shadow: 0 0 0 2px #fff;
}

/* Per-item dot in dropdown list */
.notify-item-newdot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffb300;
    margin-top: 6px;
    flex: 0 0 auto;
}

/* Glow animation (apply .notify-glow to the button) */
.notify-glow {
    animation: notifyPulse 1.3s ease-in-out infinite;
}

@keyframes notifyPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.0);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 179, 0, 0.35);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.0);
    }
}

/* Dropdown content helpers */
.notify-item-title {
    font-weight: 600;
    line-height: 1.2;
}

.notify-item-kind {
    font-size: 12px;
    line-height: 1.2;
}

/* Optional: limit dropdown size (safe defaults) */
.notify-dropdown {
    min-width: 320px;
    max-width: 420px;
}

    .notify-dropdown #notifyBellList {
        max-height: 360px;
        overflow: auto;
    }

/* ---------------------------------------------
   Footer "Was ist neu?" link (force white)
   Works for both classes:
   - heliro-footer-whatnew
   - heliro-footer-link
---------------------------------------------- */
footer.heliro-footer a.heliro-footer-whatnew:link,
footer.heliro-footer a.heliro-footer-whatnew:visited,
footer.heliro-footer a.heliro-footer-whatnew:hover,
footer.heliro-footer a.heliro-footer-whatnew:active,
footer.heliro-footer a.heliro-footer-whatnew:focus,
footer.heliro-footer a.heliro-footer-link:link,
footer.heliro-footer a.heliro-footer-link:visited,
footer.heliro-footer a.heliro-footer-link:hover,
footer.heliro-footer a.heliro-footer-link:active,
footer.heliro-footer a.heliro-footer-link:focus {
    color: #fff !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font: inherit !important;
    cursor: pointer !important;
    opacity: 0.92;
}

footer.heliro-footer a.heliro-footer-whatnew:hover,
footer.heliro-footer a.heliro-footer-link:hover {
    opacity: 1;
    text-decoration: underline !important;
}

footer.heliro-footer a.heliro-footer-whatnew:focus,
footer.heliro-footer a.heliro-footer-link:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22) !important;
    border-radius: 4px;
}
