/* Notificación Flotante de Encuesta */
.notification-encuesta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: linear-gradient(135deg, #B71c1c 0%, #8B0000 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 20px;
    color: white;
    z-index: 9999;
    animation: slideInUp 0.5s ease-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-encuesta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.notification-encuesta-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-encuesta-icon {
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.notification-encuesta-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.notification-encuesta-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.notification-encuesta-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    opacity: 0.95;
}

.notification-encuesta-buttons {
    display: flex;
    gap: 10px;
}

.notification-encuesta-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-encuesta-btn-primary {
    background: white;
    color: #B71c1c;
}

.notification-encuesta-btn-primary:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.notification-encuesta-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.notification-encuesta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

/* Responsive */
@media (max-width: 480px) {
    .notification-encuesta {
        width: calc(100% - 20px);
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification-encuesta-buttons {
        flex-direction: column;
    }
}

/* Modo oscuro */
@media (prefers-color-scheme: dark) {
    .notification-encuesta {
        background: linear-gradient(135deg, #8B0000 0%, #5a0000 100%);
    }
}
