.topbar-notification-menu {
    position: relative;
    margin-right: -6px;
}

.topbar-notification-menu[hidden] {
    display: none !important;
}

.topbar-notification-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #b9cec2;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff 0%, #f3f8f5 100%);
    color: #315e50;
    cursor: pointer;
    box-shadow:
        0 3px 7px rgba(37, 75, 61, .12),
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(190, 210, 199, .45);
    transition: background .18s, border-color .18s, box-shadow .18s, transform .18s;
}

.topbar-notification-button:hover,
.topbar-notification-button:focus-visible {
    background: linear-gradient(145deg, #ffffff 0%, #e8f4ed 100%);
    border-color: #82b49a;
    outline: none;
    box-shadow:
        0 5px 11px rgba(37, 75, 61, .16),
        0 0 0 3px rgba(130, 180, 154, .16),
        inset 0 1px 0 rgba(255, 255, 255, .95);
    transform: translateY(-1px);
}

.topbar-notification-button:active {
    background: linear-gradient(145deg, #e6f1eb 0%, #f7fbf8 100%);
    box-shadow:
        0 1px 3px rgba(37, 75, 61, .12),
        inset 0 2px 4px rgba(37, 75, 61, .1);
    transform: translateY(0);
}

.topbar-notification-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar-notification-icon-badge,
.topbar-notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc4b42;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.topbar-notification-icon-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    border: 2px solid #fff;
}

.topbar-notification-count[hidden],
.topbar-notification-icon-badge[hidden] {
    display: none !important;
}

.topbar-notification-dropdown {
    position: absolute;
    z-index: 1000;
    top: 100%;
    right: 0;
    min-width: 170px;
    padding-top: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
}

.topbar-notification-dropdown::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 10px;
    content: "";
}

.topbar-notification-dropdown > .account-dropdown-panel {
    position: relative;
}

.topbar-notification-menu:hover .topbar-notification-dropdown,
.topbar-notification-menu:focus-within .topbar-notification-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.topbar-notification-dropdown .account-menu-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
