/* Notifications Styles */
.dashboard-kaveh-notifications {
    margin-bottom: 2rem;
}

.dashboard-kaveh-notifications-heading {
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #e9ecef;
}

.dashboard-kaveh-notifications-heading-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.dashboard-kaveh-notifications-heading-title i {
    font-size: 1.25rem;
    color: #007bff;
}

.dashboard-kaveh-notifications-list {
    max-height: 400px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-kaveh-notifications-list li {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dashboard-kaveh-notifications-list li:last-child {
    border-bottom: none;
}

.dashboard-kaveh-notifications-list li.unread {
    background-color: #f8f9ff;
    border-left: 4px solid #007bff;
}

.dashboard-kaveh-notifications-list li:hover {
    background-color: #f8f9fa;
}

.dashboard-kaveh-notifications-list .info {
    margin-bottom: 0.5rem;
}

.dashboard-kaveh-notifications-list .icon {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
}
.dashboard-kaveh-notifications-list .content {
    margin-right: 20px;
}

.dashboard-kaveh-notifications-list .content {
    flex: 1;
}

.dashboard-kaveh-notifications-list .title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.dashboard-kaveh-notifications-list .message {
    font-size: 0.85rem;
    line-height: 1.4;
}

.dashboard-kaveh-notifications-list .bottom {
    font-size: 0.8rem;
    gap: 1rem;
}

.dashboard-kaveh-notifications-list .bottom > div {
    color: #666;
}

.dashboard-kaveh-notifications-list .go {
    width: 32px;
    height: 32px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dashboard-kaveh-notifications-list .go:hover {
    background-color: #0056b3;
    color: white;
}

/* Notifications Page Styles */
.kavehboard-notifications-page {
    padding: 2rem;
}

.notifications-header h2 {
    color: #333;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.empty-notifications {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 3rem 2rem;
}

.notification-item {
    margin-bottom: 1rem;
}

.notification-item.read .notification-content {
    opacity: 0.8;
}

.notification-item.unread .notification-content {
    border-left: 4px solid #007bff;
    background-color: #f8f9ff;
}

.notification-content {
    padding: 1.5rem;
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.notification-icon {
    width: 48px;
    height: 48px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.notification-message {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.notification-meta {
    font-size: 0.85rem;
}

.notification-meta i {
    margin-left: 0.25rem;
}

.notification-actions .btn {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.badge-info {
    background-color: #17a2b8;
    color: white;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-error {
    background-color: #dc3545;
    color: white!important;
}

.badge-danger {
    background-color: #dc3545;
    color: white !important;
}

.badge-secondary {
    background-color: #6c757d;
    color: white!important;
}

.badge-sm {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .kavehboard-notifications-page {
        padding: 1rem;
    }
    
    .notification-content {
        padding: 1rem;
    }
    
    .notification-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .notification-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* RTL Support */
[dir="rtl"] .dashboard-kaveh-notifications-list .content{
    margin-left: 0;
    margin-left: 1rem;
}

[dir="rtl"] .notification-meta i {
    margin-right: 0;
    margin-left: 0.25rem;
}

[dir="rtl"] .notification-item.unread .notification-content {
    border-left: none;
    border-right: 4px solid #007bff;
}