/* Notifications page-specific styles */

/* Filters bar */
.filters-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.filters-bar select {
    padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 6px;
    font-size: 13px; font-family: inherit; outline: none; background: #fff;
    box-sizing: border-box; height: 36px; transition: border-color 0.2s;
}
.filters-bar select:focus { border-color: #FF8C00; box-shadow: 0 0 0 2px rgba(255,140,0,0.15); }

/* Column header row */
.notif-list-header {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    gap: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.nlh-type { width: 90px; flex-shrink: 0; }
.nlh-title { flex: 1; min-width: 0; }
.nlh-date { width: 110px; flex-shrink: 0; }
.nlh-actions { width: 50px; flex-shrink: 0; text-align: right; }

/* Notification cards grid */
.notif-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notif-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    gap: 20px;
    transition: box-shadow 0.2s, background 0.15s;
    cursor: pointer;
}
.notif-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fafbfc;
}
.notif-card.unread {
    background: #fffbf0;
    border-color: #fde68a;
}
.notif-card.unread:hover {
    background: #fef9e7;
}

/* Type badge column */
.nc-type { width: 90px; flex-shrink: 0; }
.notif-type-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600;
}
.notif-type-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.notif-type--info { background: #dbeafe; color: #1d4ed8; }
.notif-type--info svg { stroke: #1d4ed8; }
.notif-type--success { background: #dcfce7; color: #15803d; }
.notif-type--success svg { stroke: #15803d; }
.notif-type--warning { background: #fef9c3; color: #a16207; }
.notif-type--warning svg { stroke: #a16207; }
.notif-type--error { background: #fef2f2; color: #dc2626; }
.notif-type--error svg { stroke: #dc2626; }

/* Title column */
.nc-title {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 8px;
}
.notif-unread-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #FF8C00; flex-shrink: 0;
}
.nc-title-text {
    font-size: 13px; font-weight: 600; color: #374151;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Date column */
.nc-date {
    width: 110px; flex-shrink: 0;
    font-size: 13px; color: #6b7280;
}

/* Actions column */
.nc-actions {
    width: 50px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: flex-end;
}
.nc-actions .btn-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 8px;
    border: 1px solid #e5e7eb; background: #f9fafb; color: #6b7280;
    cursor: pointer; transition: all 0.15s;
}
.nc-actions .btn-icon:hover { background: #f3f4f6; color: #374151; border-color: #d1d5db; }
.nc-actions .btn-icon--danger:hover { background: #fef2f2; color: #ef4444; border-color: #fecaca; }

/* Expanded message */
.nc-message {
    font-size: 13px; color: #6b7280; line-height: 1.5;
    padding: 12px 20px 14px;
    border-top: 1px solid #f3f4f6;
    display: none;
}
.notif-card.expanded { flex-wrap: wrap; }
.notif-card.expanded .nc-message { display: block; width: 100%; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 13px; color: #6b7280; }
.pagination-btns { display: flex; gap: 8px; }
.pagination-btns button {
    padding: 6px 14px; border: 1px solid #d1d5db; background: #fff; border-radius: 6px;
    font-size: 13px; font-family: inherit; cursor: pointer; transition: all 0.15s;
}
.pagination-btns button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-btns button:hover:not(:disabled) { background: #f9fafb; border-color: #9ca3af; }

/* Empty state */
.notif-empty-state {
    text-align: center; padding: 60px 20px;
}
.notif-empty-icon {
    width: 56px; height: 56px; border-radius: 50%; background: #f3f4f6;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.notif-empty-icon svg { width: 24px; height: 24px; stroke: #9ca3af; }
.notif-empty-title { font-size: 15px; font-weight: 600; color: #374151; margin-bottom: 4px; }
.notif-empty-sub { font-size: 13px; color: #9ca3af; }

/* Mobile */
@media (max-width: 640px) {
    .notif-list-header { display: none; }

    .notif-card {
        flex-wrap: wrap;
        padding: 14px 16px;
        gap: 8px;
    }
    .nc-type { width: auto; order: 1; }
    .nc-date { width: auto; order: 2; margin-left: auto; font-size: 12px; }
    .nc-title { width: 100%; order: 3; }
    .nc-actions { width: auto; order: 4; margin-left: auto; }
    .nc-message { padding: 10px 16px 12px; }
}