/* BIFF3EN HUB GLOBAL UI V1 */

#b3-global-notifications {
    position: fixed;
    top: 76px;
    right: 18px;

    z-index: 99990;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;
}


.b3-global-notification-button {
    position: relative;

    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 14px;

    background:
        rgba(15,13,21,.96);

    color: #fff;

    font-size: 20px;

    cursor: pointer;

    box-shadow:
        0 15px 50px
        rgba(0,0,0,.32);
}


.b3-global-notification-button:hover {
    border-color:
        rgba(194,67,255,.65);
}


.b3-global-notification-badge {
    position: absolute;

    top: -7px;
    right: -7px;

    display: grid;
    place-items: center;

    min-width: 22px;
    height: 22px;

    padding:
        0
        6px;

    border:
        2px solid #09080d;

    border-radius: 999px;

    background: #d43cff;

    color: white;

    font-size: 10px;

    font-weight: 950;
}


.b3-global-notification-badge[hidden] {
    display: none !important;
}


.b3-global-notification-panel {
    position: absolute;

    top: 56px;
    right: 0;

    width:
        min(
            390px,
            calc(100vw - 24px)
        );

    max-height:
        min(
            620px,
            calc(100vh - 150px)
        );

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 18px;

    background:
        rgba(12,10,17,.985);

    color: white;

    box-shadow:
        0 30px 100px
        rgba(0,0,0,.52);
}


.b3-global-notification-panel[hidden] {
    display: none !important;
}


.b3-global-notification-head {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding:
        17px
        18px;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);
}


.b3-global-notification-head strong {
    font-size: 15px;
}


.b3-global-notification-readall {
    padding:
        7px
        9px;

    border:
        1px solid
        rgba(255,255,255,.1);

    border-radius: 8px;

    background: #211c29;

    color: #d7cfdf;

    font-size: 10px;

    font-weight: 900;

    cursor: pointer;
}


.b3-global-notification-list {
    max-height:
        min(
            530px,
            calc(100vh - 220px)
        );

    overflow-y: auto;
}


.b3-global-notification-item {
    display: block;

    width: 100%;

    padding:
        15px
        18px;

    border: 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.065);

    background: transparent;

    color: inherit;

    text-align: left;

    cursor: pointer;
}


.b3-global-notification-item:hover {
    background:
        rgba(147,46,211,.1);
}


.b3-global-notification-item.unread {
    background:
        rgba(151,49,221,.13);
}


.b3-global-notification-title {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 5px;

    font-size: 13px;

    font-weight: 950;
}


.b3-global-notification-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 999px;

    background: #d243ff;
}


.b3-global-notification-body {
    color: #b7aebe;

    font-size: 12px;

    line-height: 1.5;
}


.b3-global-notification-time {
    display: block;

    margin-top: 7px;

    color: #6e6775;

    font-size: 10px;
}


.b3-global-notification-empty {
    padding:
        28px
        18px;

    color: #817989;

    text-align: center;

    font-size: 12px;
}


#b3-admin-panel-link {
    color: #d995ff;

    font-weight: 900;
}


@media (max-width: 700px) {

    #b3-global-notifications {
        top: auto;
        right: 12px;
        bottom: 12px;
    }


    .b3-global-notification-panel {
        top: auto;
        right: 0;
        bottom: 56px;

        max-height:
            calc(100vh - 100px);
    }
}