/* Reset e estilo base do botão GamiPress */
button.gamipress-button.botaodecoletafrag,
.gamipress-button.botaodecoletafrag,
a.gamipress-button.botaodecoletafrag {
    /* Remove estilos padrão */
    all: unset !important;
    
    /* Layout */
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 10px 28px !important;
    box-sizing: border-box !important;
    
    /* Tipografia */
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    
    /* Background com gradiente animado */
    background: #1a202c !important;
    background-image: 
        linear-gradient(#1a202c, #1a202c), 
        linear-gradient(90deg, #00c6ff, #8d00ff, #ff00e5, #00c6ff) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    border: 1px solid transparent !important;
    background-size: 200% 100% !important;
    animation: borderAnimation 6s ease infinite !important;
    
    /* Visual */
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Animação do gradiente da borda */
@keyframes borderAnimation {
    0% { background-position: 0% 50%, 0% 50%; }
    50% { background-position: 100% 50%, 100% 50%; }
    100% { background-position: 0% 50%, 0% 50%; }
}

/* Efeito hover */
.gamipress-button.botaodecoletafrag:hover:not(.botao-desabilitado) {
    animation-duration: 2s !important;
    box-shadow: 0 0 20px rgba(141, 0, 255, 0.5) !important;
    transform: translateY(-3px) !important;
    color: #e0e0e0 !important;
}

/* Ícone SVG */
.gamipress-button.botaodecoletafrag .botao-icone {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    color: #00c6ff !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

/* Ícone no hover */
.gamipress-button.botaodecoletafrag:hover:not(.botao-desabilitado) .botao-icone {
    color: #ff00e5 !important;
    transform: scale(1.1) rotate(15deg) !important;
}

/* Texto do botão */
.gamipress-button.botaodecoletafrag .botao-texto {
    display: inline-block !important;
    line-height: 1 !important;
}

/* Estado desabilitado */
.gamipress-button.botaodecoletafrag.botao-desabilitado {
    animation: none !important;
    background: #2d3748 !important;
    background-image: 
        linear-gradient(#2d3748, #2d3748), 
        linear-gradient(90deg, #4a5568, #4a5568) !important;
    cursor: not-allowed !important;
    color: #718096 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.7 !important;
}

/* Hover desabilitado (não deve ter efeito) */
.gamipress-button.botaodecoletafrag.botao-desabilitado:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Ícone quando desabilitado */
.gamipress-button.botaodecoletafrag.botao-desabilitado .botao-icone {
    color: #4a5568 !important;
    transform: none !important;
}

/* Overlay invisível para bloquear cliques */
.botao-overlay-invisivel {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
    cursor: not-allowed !important;
    background: transparent !important;
    pointer-events: auto !important;
}

/* Garante que funcione em diferentes contextos */
.elementor-widget-container .gamipress-button.botaodecoletafrag,
.entry-content .gamipress-button.botaodecoletafrag,
div .gamipress-button.botaodecoletafrag {
    display: inline-flex !important;
}

/* Fix para alinhar com texto ao redor */
.gamipress-button.botaodecoletafrag {
    vertical-align: middle !important;
    margin: 4px 0 !important;
}

.voyager2-audiocast-modal .voyager2-audiocast-fragmento-container {
    text-align: center !important;
    margin-top: 20px !important;
    padding: 15px 0 !important;
    border-top: 1px solid #e0e0e0 !important;
    width: 100% !important;
}

.voyager2-audiocast-modal .botaodecoletafrag {
    margin: 0 auto !important;
    display: inline-flex !important; /* Mantém as propriedades flex do botão original */
}

/* ===== outros botões semelhantes ao primeiro botaodecoletafrag ===== */


/* Aplicar mesmos estilos para todos os novos botões */
button.gamipress-button.botaodecoletafragcarreira,
.gamipress-button.botaodecoletafragcarreira,
a.gamipress-button.botaodecoletafragcarreira,
button.gamipress-button.botaodecoletafragcompra,
.gamipress-button.botaodecoletafragcompra,
a.gamipress-button.botaodecoletafragcompra,
button.gamipress-button.botaodecoletafragexesimul,
.gamipress-button.botaodecoletafragexesimul,
a.gamipress-button.botaodecoletafragexesimul,
button.gamipress-button.botaodecoletafragidiomas,
.gamipress-button.botaodecoletafragidiomas,
a.gamipress-button.botaodecoletafragidiomas,
button.gamipress-button.botaodecoletafragcurriculo,
.gamipress-button.botaodecoletafragcurriculo,
a.gamipress-button.botaodecoletafragcurriculo,
button.gamipress-button.botaodecoletafragredacao,
.gamipress-button.botaodecoletafragredacao,
a.gamipress-button.botaodecoletafragredacao {
    /* Herdar todos os estilos do botão original */
    all: unset !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 10px 28px !important;
    box-sizing: border-box !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    background: #1a202c !important;
    background-image: 
        linear-gradient(#1a202c, #1a202c), 
        linear-gradient(90deg, #00c6ff, #8d00ff, #ff00e5, #00c6ff) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    border: 1px solid transparent !important;
    background-size: 200% 100% !important;
    animation: borderAnimation 6s ease infinite !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Efeito hover para todos os novos botões */
.gamipress-button.botaodecoletafragcarreira:hover:not(.botao-desabilitado),
.gamipress-button.botaodecoletafragcompra:hover:not(.botao-desabilitado),
.gamipress-button.botaodecoletafragexesimul:hover:not(.botao-desabilitado),
.gamipress-button.botaodecoletafragidiomas:hover:not(.botao-desabilitado),
.gamipress-button.botaodecoletafragcurriculo:hover:not(.botao-desabilitado),
.gamipress-button.botaodecoletafragredacao:hover:not(.botao-desabilitado) {
    animation-duration: 2s !important;
    box-shadow: 0 0 20px rgba(141, 0, 255, 0.5) !important;
    transform: translateY(-3px) !important;
    color: #e0e0e0 !important;
}

/* Ícone SVG para todos os novos botões */
.gamipress-button.botaodecoletafragcarreira .botao-icone,
.gamipress-button.botaodecoletafragcompra .botao-icone,
.gamipress-button.botaodecoletafragexesimul .botao-icone,
.gamipress-button.botaodecoletafragidiomas .botao-icone,
.gamipress-button.botaodecoletafragcurriculo .botao-icone,
.gamipress-button.botaodecoletafragredacao .botao-icone {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    color: #00c6ff !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

/* Ícone no hover para todos os novos botões */
.gamipress-button.botaodecoletafragcarreira:hover:not(.botao-desabilitado) .botao-icone,
.gamipress-button.botaodecoletafragcompra:hover:not(.botao-desabilitado) .botao-icone,
.gamipress-button.botaodecoletafragexesimul:hover:not(.botao-desabilitado) .botao-icone,
.gamipress-button.botaodecoletafragidiomas:hover:not(.botao-desabilitado) .botao-icone,
.gamipress-button.botaodecoletafragcurriculo:hover:not(.botao-desabilitado) .botao-icone,
.gamipress-button.botaodecoletafragredacao:hover:not(.botao-desabilitado) .botao-icone {
    color: #ff00e5 !important;
    transform: scale(1.1) rotate(15deg) !important;
}

/* Texto do botão para todos os novos botões */
.gamipress-button.botaodecoletafragcarreira .botao-texto,
.gamipress-button.botaodecoletafragcompra .botao-texto,
.gamipress-button.botaodecoletafragexesimul .botao-texto,
.gamipress-button.botaodecoletafragidiomas .botao-texto,
.gamipress-button.botaodecoletafragcurriculo .botao-texto,
.gamipress-button.botaodecoletafragredacao .botao-texto {
    display: inline-block !important;
    line-height: 1 !important;
}

/* Estado desabilitado para todos os novos botões */
.gamipress-button.botaodecoletafragcarreira.botao-desabilitado,
.gamipress-button.botaodecoletafragcompra.botao-desabilitado,
.gamipress-button.botaodecoletafragexesimul.botao-desabilitado,
.gamipress-button.botaodecoletafragidiomas.botao-desabilitado,
.gamipress-button.botaodecoletafragcurriculo.botao-desabilitado,
.gamipress-button.botaodecoletafragredacao.botao-desabilitado {
    animation: none !important;
    background: #2d3748 !important;
    background-image: 
        linear-gradient(#2d3748, #2d3748), 
        linear-gradient(90deg, #4a5568, #4a5568) !important;
    cursor: not-allowed !important;
    color: #718096 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.7 !important;
}

/* Ícone quando desabilitado para todos os novos botões */
.gamipress-button.botaodecoletafragcarreira.botao-desabilitado .botao-icone,
.gamipress-button.botaodecoletafragcompra.botao-desabilitado .botao-icone,
.gamipress-button.botaodecoletafragexesimul.botao-desabilitado .botao-icone,
.gamipress-button.botaodecoletafragidiomas.botao-desabilitado .botao-icone,
.gamipress-button.botaodecoletafragcurriculo.botao-desabilitado .botao-icone,
.gamipress-button.botaodecoletafragredacao.botao-desabilitado .botao-icone {
    color: #4a5568 !important;
    transform: none !important;
}