.notifications-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.notifications-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.notifications-page-header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
    font-family: var(--brand-font-heading, system-ui, sans-serif);
}

.notif-page-mark-all {
    border: none;
    background: var(--brand-primary, #4CAF50);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--brand-border-radius, 6px);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.notif-page-mark-all:hover {
    background: var(--brand-primary-dark, #388E3C);
}

/* Filter Tabs */
.notif-page-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.notif-page-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

.notif-page-tab:hover {
    color: #555;
}

.notif-page-tab.active {
    color: var(--brand-primary, #4CAF50);
    border-bottom-color: var(--brand-primary, #4CAF50);
}

.notif-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--brand-primary, #4CAF50);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

/* Empty state */
.notif-page-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.notif-page-empty svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.notif-page-empty p {
    font-size: 1rem;
    margin: 0;
}

/* Notification list */
.notif-page-list {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.notif-page-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.notif-page-item:last-child {
    border-bottom: none;
}

.notif-page-item.unread {
    background: color-mix(in srgb, var(--brand-primary, #4CAF50) 5%, white);
}

.notif-page-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    margin-top: 5px;
}

.notif-page-item.unread .notif-page-dot {
    background: var(--brand-primary, #4CAF50);
}

.notif-page-content {
    flex: 1;
    min-width: 0;
}

.notif-page-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.notif-page-body {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}

.notif-page-time {
    font-size: 0.78rem;
    color: #aaa;
}

.notif-page-read-form {
    flex-shrink: 0;
    margin-top: 2px;
}

.notif-page-read-btn {
    border: none;
    background: none;
    color: #aaa;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.notif-page-read-btn:hover {
    color: var(--brand-primary, #4CAF50);
    background: color-mix(in srgb, var(--brand-primary, #4CAF50) 10%, white);
}

/* Pagination */
.notif-page-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.notif-page-pagination nav {
    display: flex;
    gap: 4px;
}

.notif-page-pagination a,
.notif-page-pagination span {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
}

.notif-page-pagination a {
    color: var(--brand-primary, #4CAF50);
    border: 1px solid #e0e0e0;
}

.notif-page-pagination a:hover {
    background: color-mix(in srgb, var(--brand-primary, #4CAF50) 8%, white);
}

/* Dark Mode */
body.dark-mode .notifications-page-header h1 { color: #f0f0f0; }

body.dark-mode .notif-page-tabs { border-bottom-color: #333; }
body.dark-mode .notif-page-tab { color: #666; }
body.dark-mode .notif-page-tab:hover { color: #aaa; }
body.dark-mode .notif-page-tab.active { color: var(--brand-primary, #4CAF50); }

body.dark-mode .notif-page-empty { color: #777; }
body.dark-mode .notif-page-empty svg { stroke: #777; }

body.dark-mode .notif-page-list {
    background: #1e1e1e;
    border-color: #333;
}

body.dark-mode .notif-page-item { border-bottom-color: #2d2d2d; }
body.dark-mode .notif-page-item.unread { background: color-mix(in srgb, var(--brand-primary, #4CAF50) 8%, #1e1e1e); }

body.dark-mode .notif-page-title { color: #f0f0f0; }
body.dark-mode .notif-page-body { color: #aaa; }
body.dark-mode .notif-page-time { color: #777; }

body.dark-mode .notif-page-read-btn { color: #666; }
body.dark-mode .notif-page-read-btn:hover {
    color: var(--brand-primary, #4CAF50);
    background: color-mix(in srgb, var(--brand-primary, #4CAF50) 10%, #1e1e1e);
}

body.dark-mode .notif-page-pagination a { color: var(--brand-primary, #4CAF50); border-color: #333; }
body.dark-mode .notif-page-pagination a:hover { background: color-mix(in srgb, var(--brand-primary, #4CAF50) 8%, #1e1e1e); }

/* Forest Theme */
body.theme-forest .notif-page-tabs { border-bottom-color: #3d5235; }
body.theme-forest .notif-page-tab { color: #5a7a4a; }
body.theme-forest .notif-page-tab:hover { color: #8aaa78; }
body.theme-forest .notifications-page-header h1 { color: #b8d4a8; }
body.theme-forest .notif-page-list { background: #1a2418; border-color: #3d5235; }
body.theme-forest .notif-page-item { border-bottom-color: #2a3a22; }
body.theme-forest .notif-page-item.unread { background: rgba(90, 158, 75, 0.08); }
body.theme-forest .notif-page-title { color: #b8d4a8; }
body.theme-forest .notif-page-body { color: #8aaa78; }
body.theme-forest .notif-page-time { color: #5a7a4a; }

/* Ocean Theme */
body.theme-ocean .notif-page-tabs { border-bottom-color: #2e4460; }
body.theme-ocean .notif-page-tab { color: #4a6a88; }
body.theme-ocean .notif-page-tab:hover { color: #7a9ab8; }
body.theme-ocean .notifications-page-header h1 { color: #a0c4e8; }
body.theme-ocean .notif-page-list { background: #141e2e; border-color: #2e4460; }
body.theme-ocean .notif-page-item { border-bottom-color: #1c2a3e; }
body.theme-ocean .notif-page-item.unread { background: rgba(59, 130, 196, 0.08); }
body.theme-ocean .notif-page-title { color: #a0c4e8; }
body.theme-ocean .notif-page-body { color: #7a9ab8; }
body.theme-ocean .notif-page-time { color: #4a6a88; }

/* Slate Theme */
body.theme-slate .notif-page-tabs { border-bottom-color: #c8bfb0; }
body.theme-slate .notif-page-tab { color: #a09888; }
body.theme-slate .notif-page-tab:hover { color: #8b7d6b; }
body.theme-slate .notifications-page-header h1 { color: #504840; }
body.theme-slate .notif-page-list { background: #f5f0e8; border-color: #c8bfb0; }
body.theme-slate .notif-page-item { border-bottom-color: #ddd6ca; }
body.theme-slate .notif-page-item.unread { background: rgba(139, 125, 107, 0.06); }
body.theme-slate .notif-page-title { color: #504840; }
body.theme-slate .notif-page-body { color: #8b7d6b; }
body.theme-slate .notif-page-time { color: #a09888; }

/* Sunset Theme */
body.theme-sunset .notif-page-tabs { border-bottom-color: #e0bfb0; }
body.theme-sunset .notif-page-tab { color: #c09888; }
body.theme-sunset .notif-page-tab:hover { color: #a06858; }
body.theme-sunset .notifications-page-header h1 { color: #6b3f35; }
body.theme-sunset .notif-page-list { background: #fff5f0; border-color: #e0bfb0; }
body.theme-sunset .notif-page-item { border-bottom-color: #f0ddd4; }
body.theme-sunset .notif-page-item.unread { background: rgba(212, 130, 106, 0.06); }
body.theme-sunset .notif-page-title { color: #6b3f35; }
body.theme-sunset .notif-page-body { color: #a06858; }
body.theme-sunset .notif-page-time { color: #c09888; }

@media (max-width: 600px) {
    .notifications-page { padding: 20px 12px; }
    .notifications-page-header h1 { font-size: 1.4rem; }
    .notif-page-item { padding: 12px 14px; }
}
