/* Estilos del Botón Principal - Base */
.boton-container {
    display: inline-block;
    margin: 10px;
}

.boton-principal {
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: #ffffff;
}

.boton-icono {
    font-size: 20px;
}

/* Estilos específicos para botón de cotizador (transparente) */
.boton-cotizador {
    background: transparent;
    border: 2px solid #ffffff;
}

.boton-cotizador:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Estilos específicos para botón de afiliado (color #25D366) */
.boton-afiliado {
    background-color:#000;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.boton-afiliado:hover {
    background: #20b859;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Estilos del Popup (compartido) */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-contenido {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-cerrar:hover {
    color: #ff0000;
}

/* Estilos del Header del Popup */
.popup-header {
    margin-bottom: 25px;
    padding-right: 20px;
}

.popup-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
    line-height: 1.5;
    font-weight: normal;
}

/* Estilos específicos para Popup Afiliado */
.popup-afiliado-contenido {
    max-width: 400px;
    text-align: center;
}

.afiliado-opciones {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.boton-afiliado-link {
    display: inline-block;
    padding: 15px 30px;
    background: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.boton-afiliado-link:hover {
    background: #1976D2;
    transform: scale(1.05);
    color: white;
}

.boton-no-afiliado {
    display: inline-block;
    padding: 15px 30px;
    background: #f44336;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.boton-no-afiliado:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

/* Estilos para el formulario CF7 */
.popup-formulario {
    width: 100%;
}

.popup-formulario .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-formulario .wpcf7-form p {
    margin: 0;
}

.popup-formulario label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.popup-formulario input,
.popup-formulario select,
.popup-formulario textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.popup-formulario input[type="submit"] {
    background: #4CAF50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s ease;
}

.popup-formulario input[type="submit"]:hover {
    background: #45a049;
}

/* Media Queries para Responsive */
@media (max-width: 768px) {
    .popup-contenido {
        width: 95%;
        padding: 20px;
    }
    
    .boton-principal {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .popup-header h3 {
        font-size: 16px;
    }
    
    .boton-afiliado-link,
    .boton-no-afiliado {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .popup-contenido {
        padding: 15px;
    }
    
    .popup-header {
        margin-bottom: 15px;
    }
    
    .popup-header h3 {
        font-size: 15px;
    }
    
    .afiliado-opciones {
        gap: 10px;
    }
    
    .boton-afiliado-link,
    .boton-no-afiliado {
        width: 100%;
        padding: 12px;
    }
}