/* ===============================
HOREKA LIVE FEED
=============================== */

.wf-live-feed{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;

    background:#4b4a3f;
    color:#fff;

    padding:10px 0;

    overflow:hidden;
    z-index:9998;

    font-size:14px;

    box-shadow:0 -2px 10px rgba(0,0,0,0.2);
}

.wf-live-feed-track{
    display:inline-block;
    white-space:nowrap;
    animation:wf-feed-scroll 25s linear infinite;
    will-change:transform;
}

@keyframes wf-feed-scroll{
    0%{ transform:translate3d(100%,0,0); }
    100%{ transform:translate3d(-100%,0,0); }
}

.wf-live-feed-track span{
    margin-right:40px;
}

@media(min-width:768px){
    .wf-live-feed{
        bottom:auto;
        top:70px;
    }
}


/* ===============================
ROLE POPUP
=============================== */

.wf-role-popup{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,0.7);

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:9999;
}

.wf-role-box{
    background:#fff;
    padding:40px;
    border-radius:12px;
    text-align:center;
    max-width:400px;
    width:90%;
}

.wf-role-btn{
    display:block;
    margin:10px 0;
    padding:14px;

    background:#1dbf73;
    color:#fff;

    text-decoration:none;
    border-radius:6px;

    transition:0.2s;
}

.wf-role-btn:hover{
    background:#18a566;
}


/* ===============================
NOTIFICATIONS (MENY)
=============================== */

.wf-menu-notifications a{
    font-weight:600;
    position:relative;
}

.wf-badge{
    background:#f59e0b;
    color:#fff;

    font-size:11px;
    font-weight:700;

    padding:4px 8px;
    border-radius:999px;

    margin-left:6px;
    display:inline-block;
}

.wf-dot{
    display:none !important;
}


/* ===============================
FOOTER BELL (subtil istället för puls)
=============================== */

.wf-footer-bell.active{
    color:#f59e0b;
}


/* ===============================
MOBILE NOTIFICATION POPUP
=============================== */

#wf-mobile-popup{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,0.55);

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;
    visibility:hidden;

    transition:all 0.25s ease;

    z-index:99999;
}

#wf-mobile-popup.active{
    opacity:1;
    visibility:visible;
}

.wf-mobile-box{
    background:#fff;

    width:90%;
    max-width:420px;

    border-radius:16px;
    padding:18px;

    max-height:80%;
    overflow:auto;

    position:relative;

    transform:translateY(30px) scale(0.96);
    opacity:0;

    transition:all 0.25s ease;

    box-shadow:0 20px 60px rgba(0,0,0,0.25);
}

#wf-mobile-popup.active .wf-mobile-box{
    transform:translateY(0) scale(1);
    opacity:1;
}

.wf-mobile-close{
    position:absolute;
    top:10px;
    right:14px;

    font-size:18px;
    cursor:pointer;
    opacity:0.6;
}


/* ===============================
NOTIFICATION ITEMS (SMOOTHER)
=============================== */

.wf-notifications-dropdown ul{
    list-style:none;
    padding:0;
    margin:0;
}

.wf-notification{
    padding:12px 8px;
    border-bottom:1px solid #f1f1f1;

    cursor:pointer;
    transition:all 0.15s ease;

    font-size:13px;
    font-weight:500;
    color:#222;
}

/* hover */

.wf-notification:hover{
    background:#fafafa;
}

/* unread highlight */

.wf-notification.unseen{
    background:#fff7ed;
}

/* företag */

.wf-notification small{
    display:block;
    font-size:11px;
    color:#888;
    margin-top:2px;
}


/* ===============================
🔥 TOAST (REALTIME)
=============================== */

.wf-toast{
    position:fixed;
    bottom:100px;
    left:50%;
    transform:translateX(-50%);

    background:#fff;
    color:#111;

    padding:14px 18px;
    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,0.15);

    font-size:13px;
    font-weight:500;

    z-index:999999;

    min-width:240px;
    max-width:90%;

    animation:wf-toast-in 0.25s ease;
}

.wf-toast small{
    display:block;
    margin-top:4px;
    font-size:11px;
    color:#777;
}

.wf-toast-hide{
    opacity:0;
    transform:translate(-50%,15px);
    transition:0.3s ease;
}

@keyframes wf-toast-in{
    from{
        transform:translate(-50%,20px);
        opacity:0;
    }
    to{
        transform:translate(-50%,0);
        opacity:1;
    }
}