.ra-notif-shell {
    max-width: 980px;
    margin: 0 auto;
}

.ra-notif-heading {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.ra-notif-heading h1 {
    margin-bottom: 4px;
}

.ra-notif-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 1px 8px;
    margin-bottom: 8px;
    scrollbar-width: thin;
}

.ra-notif-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid var(--border, #dbe3ef);
    border-radius: 999px;
    background: var(--surface, #fff);
    color: var(--text, #172033);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 700;
}

.ra-notif-tab.is-active {
    border-color: #0b4fc4;
    color: #0b4fc4;
    background: rgba(11, 79, 196, .08);
}

.ra-notif-tab-icon {
    line-height: 1;
    font-size: .95rem;
}

.ra-notif-tab-badge,
.ra-notif-tab-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: .7rem;
    line-height: 1;
}

.ra-notif-tab-badge {
    color: #fff;
    background: #dc2626;
}

.ra-notif-tab-count {
    color: inherit;
    background: rgba(127, 127, 127, .14);
}

.ra-notif-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px;
    font-size: .86rem;
}

.ra-notif-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #0b4fc4;
    font-weight: 700;
    text-decoration: none;
}

.ra-notif-filter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.ra-notif-filter-toggle.is-active .ra-notif-filter-dot {
    background: #0b4fc4;
    box-shadow: 0 0 0 3px rgba(11, 79, 196, .12);
}

.ra-notif-push-panel {
    margin-bottom: 14px;
    padding: 0;
    overflow: hidden;
}

.ra-notif-push-panel > summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    list-style: none;
}

.ra-notif-push-panel > summary::-webkit-details-marker {
    display: none;
}

.ra-notif-push-panel > summary > span:first-child {
    display: grid;
    gap: 2px;
}

.ra-notif-push-panel > summary small {
    font-size: .79rem;
    font-weight: 400;
}

.ra-notif-push-body {
    padding: 0 14px 14px;
}

.ra-notif-groups {
    display: grid;
    gap: 16px;
}

.ra-notif-group-label {
    margin: 0 0 7px 3px;
    color: var(--muted, #667085);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ra-notif-list {
    gap: 8px;
}

.ra-notif-item {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    align-items: start;
    gap: 10px;
    padding: 12px 13px;
    min-width: 0;
    overflow: hidden;
}

.ra-notif-item.is-unread {
    border-color: rgba(11, 79, 196, .34);
    box-shadow: inset 3px 0 0 #0b4fc4;
}

.ra-notif-type-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(11, 79, 196, .08);
    font-size: 1rem;
    line-height: 1;
}

.ra-notif-content,
.ra-notif-title-wrap {
    min-width: 0;
}

.ra-notif-title-row {
    gap: 8px;
}

.ra-notif-title-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.ra-notif-title-wrap strong {
    overflow-wrap: anywhere;
}

.ra-notif-content p {
    margin: 4px 0 7px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ra-notif-time {
    white-space: nowrap;
}

.ra-notif-unread-label,
.ra-notif-category-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-weight: 800;
}

.ra-notif-unread-label {
    padding: 2px 6px;
    background: #0b4fc4;
    color: #fff;
    font-size: .64rem;
}

.ra-notif-category-label {
    padding: 3px 7px;
    background: rgba(127, 127, 127, .1);
    color: var(--muted, #667085);
    font-size: .67rem;
}

.ra-notif-chevron {
    align-self: center;
    color: #94a3b8;
    font-size: 1.35rem;
    line-height: 1;
}

.ra-notif-empty {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 5px;
    padding: 28px 18px;
}

.ra-notif-empty p {
    margin: 0;
}

.ra-notif-empty-icon {
    font-size: 1.8rem;
    margin-bottom: 3px;
}

html[data-theme="dark"] .ra-notif-tab.is-active,
html[data-theme="dark"] .ra-notif-type-icon {
    background: rgba(93, 149, 255, .14);
}

@media (max-width: 720px) {
    .ra-notif-heading {
        margin-bottom: 9px;
    }

    .ra-notif-heading p {
        font-size: .82rem;
        line-height: 1.35;
    }

    .ra-notif-read-all {
        min-height: 36px;
        padding: 7px 10px;
        font-size: .78rem;
    }

    .ra-notif-tabs {
        gap: 6px;
        margin-inline: -2px;
        margin-bottom: 5px;
    }

    .ra-notif-tab {
        min-height: 34px;
        padding: 6px 9px;
        font-size: .78rem;
    }

    .ra-notif-tab-icon {
        font-size: .85rem;
    }

    .ra-notif-toolbar {
        margin-bottom: 9px;
        font-size: .76rem;
    }

    .ra-notif-push-panel {
        margin-bottom: 10px;
    }

    .ra-notif-push-panel > summary {
        padding: 9px 10px;
    }

    .ra-notif-push-panel > summary small {
        display: none;
    }

    .ra-notif-push-body {
        padding: 0 10px 10px;
    }

    .ra-notif-groups {
        gap: 12px;
    }

    .ra-notif-group-label {
        margin-bottom: 5px;
        font-size: .7rem;
    }

    .ra-notif-list {
        gap: 6px;
    }

    .ra-notif-item {
        grid-template-columns: 30px minmax(0, 1fr) 12px;
        gap: 8px;
        padding: 9px 9px;
        border-radius: 12px;
    }

    .ra-notif-type-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: .86rem;
    }

    .ra-notif-title-row {
        display: block;
    }

    .ra-notif-title-wrap {
        gap: 5px;
    }

    .ra-notif-title-wrap strong {
        font-size: .84rem;
        line-height: 1.28;
    }

    .ra-notif-time {
        display: block;
        margin-top: 2px;
        font-size: .66rem;
    }

    .ra-notif-content p {
        margin: 3px 0 5px;
        font-size: .77rem;
        line-height: 1.35;
    }

    .ra-notif-category-label {
        padding: 2px 6px;
        font-size: .61rem;
    }

    .ra-notif-chevron {
        font-size: 1.15rem;
    }
}

/* Professional SVG icons: notification center uses no emoji glyphs. */
.ra-notif-tab-icon,
.ra-notif-type-icon,
.ra-notif-empty-icon {
    line-height: 1;
}

.ra-notif-svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
}

.ra-notif-type-icon .ra-notif-svg {
    width: 19px;
    height: 19px;
}

.ra-notif-empty-svg {
    width: 26px;
    height: 26px;
    display: block;
    fill: none;
    stroke: currentColor;
}
