.notifications-wrapper { max-width: 900px; margin: 30px auto; }
.notifications-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notifications-header h1 { font-size: 24px; font-weight: 700; color: #1f3f8f; margin: 0; }
.header-actions { display: flex; gap: 10px; }
.header-actions button {
    padding: 8px 16px;
    border: 1px solid #d6deef;
    background: #fff;
    color: #456;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
}
.header-actions button:hover { border-color: #2f63da; color: #2f63da; }
.tabs-wrapper {
    background: #fff;
    border: 1px solid #e6ebf5;
    border-radius: 12px;
    overflow: hidden;
}
.tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e6ebf5;
    background: #f8fafc;
    padding: 0;
}
.tab-btn {
    flex: 1;
    padding: 14px;
    border: 0;
    background: transparent;
    color: #6f7e96;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    border-bottom: 2px solid transparent;
    text-align: center;
    position: relative;
}
.tab-btn:hover { color: #2f63da; }
.tab-btn.active { color: #2f63da; border-bottom-color: #2f63da; }
.tab-btn .badge { position: absolute; top: 8px; right: 8px; display: inline-block; padding: 2px 6px; background: #f56c6c; color: #fff; border-radius: 999px; font-size: 11px; }
.tabs-content { padding: 20px; }
.notification-item {
    background: #fff;
    border: 1px solid #e6ebf5;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    transition: all .15s;
    position: relative;
}
.notification-item:hover { border-color: #2f63da; }
.notification-item.unread { background: #f0f7ff; border-left: 3px solid #2f63da; }
.notification-item.unread::before { content: '•'; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: #2f63da; }
.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d5e5ff, #ecf2ff);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}
.notification-body { min-width: 0; }
.notification-title {
    font-weight: 600;
    color: #1f2d3d;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.notification-tag { display: inline-block; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.notification-tag.reply { background: #e8f5ff; color: #1e4cae; }
.notification-tag.like { background: #ffe8e8; color: #d73c2e; }
.notification-tag.mention { background: #e8fff2; color: #0f8b4b; }
.notification-tag.system { background: #fff3e0; color: #d97706; }
.notification-content {
    color: #6f7e96;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notification-time { color: #888; font-size: 12px; white-space: nowrap; }
.notification-actions {
    display: flex;
    gap: 6px;
    flex-direction: column;
    flex-shrink: 0;
}
.action-btn {
    padding: 5px 10px;
    border: 1px solid #d6deef;
    background: #fff;
    color: #456;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.action-btn:hover { border-color: #2f63da; color: #2f63da; }
.action-btn.primary { background: #2f63da; color: #fff; border-color: #2f63da; }
.action-btn.danger { color: #f56c6c; border-color: #f56c6c; }
.action-btn.danger:hover { background: #f56c6c; color: #fff; }
.notification-detail-link-wrap { font-size: 12px; color: #888; margin-top: 4px; }
.notification-detail-link { color: #2f63da; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 48px; margin-bottom: 12px; opacity: 0.3; }
.empty-state .text { color: #6f7e96; font-size: 14px; }
.loading { text-align: center; padding: 40px 20px; }
.spinner { width: 32px; height: 32px; border: 3px solid #e6ebf5; border-top-color: #2f63da; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e6ebf5;
}
.pagination-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid #d6deef; border-radius: 6px; color: #456; font-size: 13px; cursor: pointer; transition: all .15s; }
.pagination-btn:hover { border-color: #2f63da; color: #2f63da; }
.pagination-btn.active { background: #2f63da; color: #fff; border-color: #2f63da; cursor: default; }
@media (max-width: 768px) {
    .notification-item { grid-template-columns: auto 1fr; }
    .notification-item .notification-actions { display: none; }
    .notification-item:hover .notification-actions { display: flex; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
}
