
        /* Estilos para el mensaje de éxito - Adaptado al diseño de Antipartícula */
        .mensaje-exito {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            color: #2c3e50;
            padding: 40px 50px;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            animation: modalIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            max-width: 500px;
            width: 90%;
            border: 1px solid rgba(255, 255, 255, 0.3);
            text-align: center;
        }

        .mensaje-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            z-index: 999;
            animation: fadeIn 0.3s ease-out;
        }

        .mensaje-contenido {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .mensaje-icono {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: pulse 2s infinite;
        }

        .mensaje-contenido i {
            font-size: 36px;
            color: white;
        }

        .mensaje-texto {
            text-align: center;
        }

        .mensaje-texto h3 {
            margin: 0 0 15px 0;
            font-size: 28px;
            font-weight: 600;
            color: #2c3e50;
            font-family: 'Montserrat', sans-serif;
        }

        .mensaje-texto p {
            margin: 0;
            font-size: 16px;
            color: #7f8c8d;
            line-height: 1.6;
            font-family: 'Montserrat', sans-serif;
        }

        .mensaje-cerrar {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: #95a5a6;
            cursor: pointer;
            font-size: 24px;
            transition: all 0.3s ease;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mensaje-cerrar:hover {
            color: #FF6B6B;
            background: rgba(255, 107, 107, 0.1);
        }

        .mensaje-botones {
            display: flex;
            gap: 15px;
            margin-top: 10px;
        }

        .btn-mensaje {
            padding: 12px 30px;
            border: none;
            border-radius: 25px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .btn-primario {
            background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
            color: white;
        }

        .btn-primario:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
        }

        .btn-secundario {
            background: transparent;
            color: #7f8c8d;
            border: 2px solid #ecf0f1;
        }

        .btn-secundario:hover {
            background: #ecf0f1;
            color: #2c3e50;
        }

        /* Estilos para el botón de descarga */
        .btn-descarga-descarga {
            display: inline-block;
            background: linear-gradient(146deg, rgba(32,41,54,1) 23%, rgba(44,110,149,1) 96%);
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 25px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            margin-top: 10px;
            width: 100%;
            text-align: center;
        }

        .btn-descarga-descarga:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
            background: linear-gradient(146deg, rgba(32,41,54,1) 23%, rgba(44,110,149,1) 96%);
        }

        .btn-descarga-descarga i {
            margin-right: 8px;
        }

        @keyframes modalIn {
            from {
                transform: translate(-50%, -50%) scale(0.7);
                opacity: 0;
            }
            to {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes modalOut {
            from {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
            to {
                transform: translate(-50%, -50%) scale(0.7);
                opacity: 0;
            }
        }

        @keyframes fadeOut {
            from {
                opacity: 1;
            }
            to {
                opacity: 0;
            }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
            }
        }

        .mensaje-salida {
            animation: modalOut 0.3s ease-in-out forwards;
        }

        .overlay-salida {
            animation: fadeOut 0.3s ease-in-out forwards;
        }

        /* Responsive para móviles */
        @media (max-width: 768px) {
            .mensaje-exito {
                padding: 30px 25px;
                max-width: 350px;
            }
            
            .mensaje-texto h3 {
                font-size: 24px;
            }
            
            .mensaje-texto p {
                font-size: 14px;
            }
            
            .mensaje-botones {
                flex-direction: column;
                gap: 10px;
            }
            
            .btn-mensaje {
                width: 100%;
            }
        }
