/* Botón flotante */
        .floating-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(235deg, #d3341bbf, #d81b1b);
            border-radius: 50%;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(233, 30, 30, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .floating-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(233, 30, 99, 0.5);
            background: linear-gradient(135deg, #f06262, #e91e1e);
        }

        .floating-button:active {
            transform: translateY(0);
            box-shadow: 0 2px 15px rgba(233, 30, 30, 0.4);
        }

        /* Ícono del documento */
        .document-icon {
            width: 24px;
            height: 24px;
            fill: white;
        }

        .floating-label {
            position: fixed;
            bottom: 100px; /* justo encima del botón */
            right: 30px;
            background: #ff0000;
            color: white;
            padding: 10px 16px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            z-index: 1001;
            animation: fadeIn 0.8s ease;
            white-space: nowrap;
        }

        /* Opcional: Responsive */
        @media (max-width: 768px) {
            .floating-label {
                bottom: 90px;
                right: 20px;
                font-size: 13px;
                padding: 8px 14px;
            }
        }

        /* Widget desplegable */
        .chat-widget {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 350px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            z-index: 1500;
            transform: translateY(20px) scale(0.95);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .chat-widget.show {
            transform: translateY(0) scale(1);
            opacity: 1;
            visibility: visible;
        }

        .widget-content {
            padding: 24px;
            text-align: center;
        }

        .widget-logo {
            width: 60px;
            height: 20px;
            margin: 0 auto 20px;
            background: linear-gradient(45deg, #2196F3, #21CBF3);
            border-radius: 10px;
            position: relative;
        }

        .widget-logo::before,
        .widget-logo::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            background: inherit;
            border-radius: 50%;
            top: 4px;
        }

        .widget-logo::before {
            left: 8px;
        }

        .widget-logo::after {
            right: 8px;
        }

        .widget-content h2 {
            color: #333;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .widget-content p {
            color: #666;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .widget-estimate-button {
            background: linear-gradient(135deg, #645959, #f31818);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 20px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            margin-bottom: 14px;
            transition: all 0.3s ease;
        }

        .widget-estimate-button:hover {
            background: linear-gradient(135deg, #b8aeb1, #f61e1e);
            transform: translateY(-1px);
        }

        .widget-disclaimer {
            color: #999;
            font-size: 11px;
            line-height: 1.4;
        }

        .widget-close {
            position: absolute;
            top: 12px;
            right: 12px;
            background: none;
            border: none;
            font-size: 20px;
            color: #999;
            cursor: pointer;
            padding: 4px;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .widget-close:hover {
            color: #666;
            background: #f5f5f5;
        }

        /* Animación de entrada del widget */
        .chat-widget::before {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 25px;
            width: 16px;
            height: 16px;
            background: white;
            transform: rotate(45deg);
            box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { 
                opacity: 0; 
                transform: translateY(30px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .floating-button {
                bottom: 20px;
                right: 20px;
                width: 56px;
                height: 56px;
            }

            .chat-widget {
                bottom: 85px;
                right: 20px;
                width: calc(100vw - 40px);
                max-width: 320px;
            }

            .widget-content {
                padding: 20px;
            }
        }