/**
 * Modern Table Styles
 * Reusable CSS for modern card and table design
 * Created: December 2025
 */

/* Page Background */
body.modern-ui {
    background-color: #f8fafc;
}

/* Modern Card Style */
.modern-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.modern-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.modern-card-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.modern-card-header p {
    font-size: 14px;
    color: #64748b;
    margin: 4px 0 0 0;
}

/* Modern Table */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.modern-table thead {
    background: #f8fafc;
}

.modern-table thead th {
    padding: 0.5rem 0.5rem;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.modern-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.modern-table tbody tr:last-child {
    border-bottom: none;
}

.modern-table tbody tr:hover {
    background-color: #f8fafc;
}

.modern-table tbody td {
    padding: 0.5rem 0.5rem;
    font-size: 13px;
    color: #334155;
    vertical-align: middle;
}

/* Compact column widths */
.modern-table .col-id {
    width: 50px;
    max-width: 50px;
}

.modern-table .col-url {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-table .col-date {
    width: 80px;
    white-space: nowrap;
}

.modern-table .col-count {
    width: 60px;
    text-align: center;
}

.modern-table .col-money {
    width: 80px;
    white-space: nowrap;
}

.modern-table .col-actions {
    width: 70px;
}

/* Project Name Cell */
.project-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-name {
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
}

.project-name:hover {
    color: #3b82f6;
}

.project-url {
    font-size: 12px;
    color: #94a3b8;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge i {
    font-size: 10px;
}

.status-live {
    background-color: #dcfce7;
    color: #16a34a;
}

.status-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.status-scheduled {
    background-color: #e0e7ff;
    color: #4f46e5;
}

.status-failed {
    background-color: #fee2e2;
    color: #dc2626;
}

/* DA/DR Score */
.score-badge {
    font-weight: 600;
    color: #059669;
}

/* Date */
.date-text {
    color: #64748b;
    font-size: 13px;
}

/* External Link Icon */
.external-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.external-link:hover {
    color: #3b82f6;
}

/* Filter Dropdown */
.filter-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-dropdown:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* Export Button */
.btn-export {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-export:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}

.dashboard-header-actions {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.stats-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.stats-card .icon.primary { background: #eff6ff; color: #3b82f6; }
.stats-card .icon.success { background: #dcfce7; color: #16a34a; }
.stats-card .icon.warning { background: #fef3c7; color: #d97706; }
.stats-card .icon.info { background: #e0e7ff; color: #6366f1; }

.stats-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.stats-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

@media (max-width: 768px) {
    .stats-card {
        padding: 16px 14px;
        border-radius: 12px;
    }

    .stats-card .icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
        margin-bottom: 9px;
        font-size: 17px;
    }

    .stats-card h3 {
        font-size: 22px;
        line-height: 1.12;
    }
}

@media (max-width: 576px) {
    .stats-card {
        padding: 14px 12px;
        border-radius: 12px;
    }

    .stats-card .icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        margin-bottom: 8px;
        font-size: 16px;
    }

    .stats-card h3 {
        font-size: 24px;
    }

    .stats-card p {
        font-size: 12px;
        line-height: 1.25;
    }
}

/* Action Buttons */
.action-btn {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 12px;
}

.action-btn:hover {
    background: #f8fafc;
    color: #3b82f6;
    border-color: #3b82f6;
}

.action-btn.delete:hover {
    color: #dc2626;
    border-color: #dc2626;
}

/* Create Button */
.btn-create {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-create:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}

@media (max-width: 768px) {
    .dashboard-header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        align-items: stretch;
    }

    .dashboard-header-actions .dropdown {
        width: 100%;
        grid-column: 1 / -1;
    }

    .dashboard-header-actions .filter-dropdown {
        width: 100%;
        justify-content: space-between;
    }

    .dashboard-header-actions .btn-create,
    .dashboard-header-actions .btn-export {
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
        justify-content: center;
        padding: 8px 10px;
    }

    .dashboard-header-actions .btn-create {
        order: 3;
    }

    .dashboard-header-actions .btn-export {
        order: 2;
    }
}

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    width: 80%;
}

/* Modal styles */
.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
}

/* Page Header */
.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.page-header p {
    font-size: 14px;
    color: #64748b;
    margin: 4px 0 0 0;
}

/* Usage progress bars */
.usage-progress {
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    overflow: hidden;
}

.usage-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.usage-progress-bar.success { background: #22c55e; }
.usage-progress-bar.warning { background: #eab308; }
.usage-progress-bar.danger { background: #ef4444; }

/* Monospace text for IDs */
.mono-text {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 13px;
    color: #64748b;
}

/* Link text styling */
.link-url {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #64748b;
}

/* Badge variants */
.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.badge-count.primary { background: #eff6ff; color: #3b82f6; }
.badge-count.success { background: #dcfce7; color: #16a34a; }
.badge-count.warning { background: #fef3c7; color: #d97706; }
.badge-count.danger { background: #fee2e2; color: #dc2626; }
.badge-count.muted { background: #f1f5f9; color: #64748b; }

/* ============================================
   Таблица1 - Компактный современный стиль
   Используется на: dashboard.html
   ============================================ */

/* Таблица1: Общие стили */
.table1 {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    background: white;
}

.table1 thead {
    background: #f8fafc;
}

.table1 thead th {
    padding: 0.5rem 0.5rem;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.table1 tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.table1 tbody tr:last-child {
    border-bottom: none;
}

.table1 tbody tr:hover {
    background-color: #f8fafc;
}

.table1 tbody td {
    padding: 0.5rem 0.5rem;
    font-size: 13px;
    color: #334155;
    vertical-align: middle;
}

/* Таблица1: Классы для колонок */
.table1 .col-id {
    width: 50px;
    max-width: 50px;
}

.table1 .col-date {
    width: 90px;
    white-space: nowrap;
}

.table1 .col-count {
    width: 60px;
    text-align: center;
}

.table1 .col-money {
    width: 80px;
    white-space: nowrap;
}

.table1 .col-actions {
    width: 70px;
}

/* Таблица1: Кнопки действий */
.table1 .action-btn {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 12px;
}

.table1 .action-btn:hover {
    background: #f8fafc;
    color: #3b82f6;
    border-color: #3b82f6;
}

.table1 .action-btn.delete:hover {
    color: #dc2626;
    border-color: #dc2626;
}

/* Таблица1: Бейджи */
.table1 .badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Таблица1: Моноширинный текст для ID */
.table1 .mono-text {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 12px;
    color: #64748b;
}

/* Таблица1: Текст даты */
.table1 .date-text {
    color: #64748b;
    font-size: 12px;
}

/* Таблица1: Внешние ссылки */
.table1 .external-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.table1 .external-link:hover {
    color: #3b82f6;
}

/* Таблица1: Название проекта */
.table1 .project-name {
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
}

.table1 .project-name:hover {
    color: #3b82f6;
}

/* Таблица1: Компактные колонки для placements-manager */
.table1 .col-site {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table1 .col-autorenewal {
    width: 70px;
    text-align: center;
    white-space: nowrap;
}

.table1 .col-published {
    width: 80px;
    white-space: nowrap;
}

/* ============================================
   Notification Cards - Modern Design
   Based on screenshot design (December 2025)
   ============================================ */

/* Notification dropdown container */
.notification-dropdown {
    padding: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e5e7eb !important;
    min-width: 400px !important;
    max-width: 450px !important;
    background: #f8fafc !important;
}

/* Notification header with gradient */
.notification-header-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 16px 16px 0 0;
    padding: 20px;
}

.notification-header-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-header-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-header-title h6 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.notification-header-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.notification-mark-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: fit-content;
}

.notification-mark-all-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.notification-mark-all-btn i {
    font-size: 14px;
}

/* Legacy header support */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 16px 16px 0 0;
}

.notification-header > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-header h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.notification-header small {
    font-size: 12px;
    color: #64748b;
}

.notification-header .mark-all-read {
    font-size: 13px;
    color: #3b82f6;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
}

.notification-header .mark-all-read:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Notification list container */
.notification-list {
    max-height: 60vh;
    overflow-y: auto;
    padding: 16px;
    background: #f8fafc;
}

/* Scrollbar styling for notification list */
.notification-list::-webkit-scrollbar {
    width: 8px;
}

.notification-list::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Individual notification card - colored background matching AlertsPanel.tsx */
.notification-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    background: #f3f4f6;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease;
    cursor: default;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.notification-card:last-child {
    margin-bottom: 0;
}

.notification-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notification-card.unread {
    background: #fff;
}

/* Notification type colors - colored backgrounds like AlertsPanel.tsx */
.notification-card.type-warning {
    background: #fef3c7;
    border-color: #fde68a;
}

.notification-card.type-error {
    background: #fee2e2;
    border-color: #fecaca;
}

.notification-card.type-success {
    background: #dcfce7;
    border-color: #bbf7d0;
}

.notification-card.type-info {
    background: #dbeafe;
    border-color: #bfdbfe;
}

.notification-card.type-security {
    background: #ede9fe;
    border-color: #ddd6fe;
}

/* Notification icon - simple icon without circle (like AlertsPanel.tsx) */
.notification-icon {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    margin-top: 2px;
    font-size: 20px;
}

.notification-card.type-warning .notification-icon {
    color: #ea580c;
}

.notification-card.type-error .notification-icon {
    color: #dc2626;
}

.notification-card.type-success .notification-icon {
    color: #16a34a;
}

.notification-card.type-info .notification-icon {
    color: #2563eb;
}

.notification-card.type-security .notification-icon {
    color: #7c3aed;
}

/* Notification content */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.notification-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.notification-time {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    margin-left: 8px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.notification-time i {
    font-size: 12px;
}

.notification-message {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 10px 0;
    word-break: break-word;
}

.notification-action {
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
}

.notification-action:hover {
    color: #2563eb;
    gap: 6px;
}

.notification-action i {
    font-size: 12px;
    transition: transform 0.15s;
}

.notification-action:hover i {
    transform: translateX(2px);
}

/* Notification footer */
.notification-footer {
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 0 0 16px 16px;
}

.notification-footer a {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.15s;
}

.notification-footer a:hover {
    color: #6366f1;
}

.notification-footer a.text-danger {
    color: #dc2626;
}

.notification-footer a.text-danger:hover {
    color: #b91c1c;
}

.notification-footer a i {
    margin-right: 4px;
}

/* Empty state */
.notification-empty {
    text-align: center;
    padding: 50px 20px;
    color: #94a3b8;
    background: #fff;
    border-radius: 12px;
}

.notification-empty i {
    font-size: 52px;
    margin-bottom: 16px;
    color: #e2e8f0;
    display: block;
}

.notification-empty p {
    margin: 0;
    font-size: 15px;
    color: #64748b;
}

@media (max-width: 768px) {
    .notification-dropdown {
        border-radius: 14px !important;
    }

    .notification-header-gradient {
        padding: 14px 14px 12px;
    }

    .notification-header-title h6 {
        font-size: 18px;
    }

    .notification-header-count {
        font-size: 12px;
    }

    .notification-mark-all-btn {
        font-size: 12px;
        padding: 7px 12px;
    }

    .notification-list {
        padding: 10px;
    }

    .notification-card {
        padding: 12px;
        margin-bottom: 10px;
    }

    .notification-title {
        font-size: 15px;
        line-height: 1.25;
    }

    .notification-message {
        font-size: 13px;
        line-height: 1.4;
    }

    .notification-footer {
        padding: 12px;
    }
}

/* ============================================
   Notification Types - Color Coding
   ============================================ */

/* Purchase notification type (single) */
.notification-card.type-purchase {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}
.notification-card.type-purchase .notification-icon {
    color: #3b82f6;
}

/* Batch notification type */
.notification-card.type-batch {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #a7f3d0;
}
.notification-card.type-batch .notification-icon {
    color: #10b981;
}

/* Renewal notification type */
.notification-card.type-renewal {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-color: #fde68a;
}
.notification-card.type-renewal .notification-icon {
    color: #d97706;
}

/* Refund notification type */
.notification-card.type-refund {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}
.notification-card.type-refund .notification-icon {
    color: #dc2626;
}

/* Deposit notification type */
.notification-card.type-deposit {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}
.notification-card.type-deposit .notification-icon {
    color: #16a34a;
}

/* Commission notification type */
.notification-card.type-commission {
    background: linear-gradient(135deg, #fdf4ff 0%, #f3e8ff 100%);
    border-color: #e9d5ff;
}
.notification-card.type-commission .notification-icon {
    color: #9333ea;
}

/* Notification content header with amount */
.notification-content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}

/* Amount badge */
.notification-amount-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.notification-amount-badge i {
    font-size: 12px;
}

/* Placement info (fromUrl → toUrl) */
.notification-placement-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.notification-from-url {
    font-size: 13px;
    color: #6b7280;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.notification-placement-info > i.bi-arrow-right {
    color: #9ca3af;
    font-size: 12px;
}

.notification-to-url {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #3b82f6;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.notification-to-url:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #2563eb;
}

.notification-to-url i.bi-box-arrow-up-right {
    font-size: 11px;
    opacity: 0.7;
}

.notification-to-url:hover i.bi-box-arrow-up-right {
    opacity: 1;
}

/* Bulk purchase info */
.notification-bulk-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.notification-project-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #374151;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.notification-project-name i {
    color: #6b7280;
    font-size: 12px;
}

.notification-count-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

/* Notification meta (time) */
.notification-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

/* Inline external link icon in message */
.notification-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 6px;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s;
    vertical-align: middle;
}

.notification-inline-link:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #2563eb;
}

.notification-inline-link i {
    font-size: 12px;
}

/* Delete all button styling */
.notification-delete-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #dc2626 !important;
    text-decoration: none;
    transition: all 0.2s;
}

.notification-delete-all-btn:hover {
    color: #b91c1c !important;
}

.notification-delete-all-btn i {
    font-size: 14px;
}
