/* Notification Popup Styles */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(320px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(320px);
        opacity: 0;
    }
}

.notification-header {
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-title {
    font-weight: 600;
    color: #333;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #333;
}

.notification-body {
    padding: 16px;
    color: #666;
    font-size: 14px;
}

.notification-time {
    padding: 0 16px 12px;
    color: #999;
    font-size: 12px;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    display: none;
}

/* Notification Center Styles */
.notification-dropdown {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-badge {
    font-size: 0.6rem;
    line-height: 1;
    padding: 0.25em 0.4em;
}

.notification-list .dropdown-item {
    white-space: normal;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.notification-list .dropdown-item:hover {
    background-color: #f8f9fa;
}

.notification-list .dropdown-item:last-child {
    border-bottom: none;
}

.notification-item {
    cursor: pointer;
}

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

.notification-item-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
    font-size: 0.9rem;
}

.notification-item-message {
    color: #666;
    margin-bottom: 4px;
    font-size: 0.8rem;
    line-height: 1.3;
}

.notification-item-time {
    color: #999;
    font-size: 0.75rem;
}

.mark-all-read-btn {
    color: #007bff !important;
}

.mark-all-read-btn:hover {
    color: #0056b3 !important;
}

.view-all-btn {
    color: #007bff;
    font-size: 0.9rem;
}

.view-all-btn:hover {
    color: #0056b3;
}