﻿.notification-popover {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--rr-border, #e5e7eb);
    background: #ffffff;
}

.notification-scroll-area {
    width: min(420px, calc(100vw - 32px));
    max-height: 480px;
    overflow-y: auto;
    background: #ffffff;
}

.notification-entry {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--rr-border, #e5e7eb);
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

    .notification-entry:last-child {
        border-bottom: none;
    }

    .notification-entry:hover {
        background: #f9fafb;
    }

    .notification-entry.is-unread {
        background: #fffaf3;
    }

        .notification-entry.is-unread:hover {
            background: #fff7e8;
        }

    .notification-entry.is-read {
        opacity: 0.72;
    }

.notification-entry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #111111;
    margin-top: 1px;
}

.notification-entry.is-unread .notification-entry-icon {
    background: #fff1db;
    color: #d97706;
}

.notification-entry-content {
    flex: 1;
    min-width: 0;
}

.notification-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notification-entry-title {
    font-weight: 600;
    color: #111111;
    line-height: 1.35;
}

.notification-entry-message {
    margin-top: 3px;
    color: rgba(0, 0, 0, 0.68);
    line-height: 1.45;
    word-break: break-word;
}

.notification-entry-date {
    display: block;
    margin-top: 6px;
    color: rgba(0, 0, 0, 0.48);
}

.notification-unread-dot {
    display: block;
    width: 7px;
    height: 7px;
    min-width: 7px;
    border-radius: 50%;
    background: #f59e0b;
}

.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.notification-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #555555;
}

.notification-empty-title {
    font-weight: 600;
    color: #111111;
}

.notification-muted {
    margin-top: 3px;
    color: rgba(0, 0, 0, 0.54);
}

.notification-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.notification-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.notification-scroll-area::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

    .notification-scroll-area::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
