.message-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.3s ease-out;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.notification-content {
    flex: 1;
}

.notification-sender {
    font-weight: bold;
    margin-bottom: 5px;
}

.notification-message {
    opacity: 0.9;
    word-break: break-word;
}

.notification-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.notification-button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.2s;
}

.view-button {
    background: #4a90e2;
    color: white;
}

.close-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

.message-notification.error {
    background-color: #ff4444;
}

.message-notification.success {
    background-color: #00C851;
}

.message-notification.info {
    background-color: #33b5e5;
} 