.notification-icon-container {
    right: 48px;
    position: absolute;
}

.notification-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: block;
    height: 20px;
    padding: 0;
    position: relative;
    width: 20px;
}

.notification-toggle[aria-expanded="true"] {
    border-bottom: 0;
}

.notification-toggle[aria-expanded="true"]::after {
    background: #0f71b3;
    bottom: -4px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}

.notification-toggle img {
    display: block;
    width: 20px;
    height: 20px;
}

.notification-panel {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .12);
    color: #1d2939;
    position: absolute;
    right: 0;
    top: calc(100% + 16px);
    width: 400px;
    z-index: 1050;
}

.notification-panel[hidden] {
    display: none !important;
}

.notification-panel:not([hidden]) {
    display: block !important;
}

.notification-panel-heading {
    align-items: center;
    border-bottom: 1px solid #eaecf0;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    justify-content: space-between;
    padding: 18px 16px;
}

.notification-mark-read {
    background: transparent;
    border: 0;
    color: #005b8f;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
}

.notification-panel-empty {
    color: #667085;
    font-size: 13px;
    line-height: 18px;
    padding: 28px 16px;
    text-align: center;
}

.notification-list { max-height: 330px; overflow-y: auto; }
.notification-item { border-bottom: 1px solid #f2f4f7; box-sizing: border-box; color: #344054; font-size: 14px; line-height: 20px; min-height: 74px; padding: 16px 18px; }
.notification-item,
.notification-item time { text-align: left; }
.notification-item:last-child { border-bottom: 0; }
.notification-item[data-unread="true"] { background: #f8fbfd; font-weight: 600; }
.notification-item-message { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
.notification-item time { color: #667085; display: block; font-size: 12px; font-weight: 400; line-height: 18px; margin-top: 5px; }
.notification-unread-dot { background: #12b76a; border-radius: 50%; flex: 0 0 8px; height: 8px; margin-top: 6px; width: 8px; }
.notification-pagination { align-items: center; border-top: 1px solid #eaecf0; display: flex; gap: 26px; height: 54px; justify-content: center; }
.notification-pagination button { background: transparent; border: 0; color: #344054; cursor: pointer; font-size: 26px; line-height: 1; padding: 0; }
.notification-pagination button:disabled { color: #d0d5dd; cursor: default; }
.notification-pagination span { color: #667085; font-size: 12px; }

@media (max-width: 767px) {
    .notification-panel {
        position: fixed;
        right: 12px;
        top: 64px;
        width: min(400px, calc(100vw - 24px));
    }
}
