/**
 * Estilos para las notificaciones de chat en el dashboard
 */

.chat-notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.chat-notification-content {
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.chat-notification-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.chat-notification-text {
    flex: 1;
}

.chat-notification-text strong {
    display: block;
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 4px;
}

.chat-notification-text p {
    margin: 0;
    color: #718096;
    font-size: 0.875rem;
}

.chat-notification-close {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-notification-close:hover {
    background: #f7fafc;
    color: #4a5568;
}

.chat-notification-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4A6FA5 0%, #7B68EE 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-notification-btn:hover {
    background: linear-gradient(135deg, #3a5a85 0%, #6b58de 100%);
    transform: translateY(-1px);
}

.chat-notification-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 480px) {
    .chat-notification {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
}