/* --- Notifications Page Styles --- */

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notification-card:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

/* Unread State */
.notification-card.unread {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 41, 59, 0.4) 100%);
    border-left: 4px solid #3b82f6;
}

.notification-card.unread::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 50%, rgba(59, 130, 246, 0.15), transparent 70%);
    pointer-events: none;
}

/* Icon Box */
.notif-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    transition: all 0.3s ease;
}

.notification-card.unread .notif-icon-box {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* Content */
.notif-content {
    flex-grow: 1;
    min-width: 0; /* Fix flex truncate */
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

.notif-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    background: #3b82f6;
    color: white;
    margin-left: 0.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.notif-text {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.notif-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-time {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.notif-action {
    font-size: 0.8rem;
    color: #3b82f6;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.notification-card:hover .notif-action {
    opacity: 1;
    transform: translateX(0);
}

/* Empty State */
.empty-state-icon {
    width: 6rem;
    height: 6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #475569;
    font-size: 2.5rem;
}

/* Header Actions */
.header-action-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: #94a3b8;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
}

.header-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.header-action-btn.danger:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}