/* Estilos para o plugin Niver Premios */

.niver-premios-lista,
.niver-premios-resgatar {
    width: 100%;
    margin: 0;
    padding: 20px;
}

/* Lista de prêmios - Design Limpo */
.premios-lista {
    width: 100%;
    margin: 0;
    padding: 20px;
    font-family: 'Indie Flower', cursive;
    color: #011064;
}

.premio-lista-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    margin-bottom: 8px;
    position: relative;
    font-family: 'Indie Flower', cursive;
    color: #011064;
    min-height: 60px;
}

.premio-lista-item:last-child {
    margin-bottom: 0;
}

/* Remover hover effects - lista limpa */

.premio-lista-posicao {
    font-size: 28px;
    font-weight: bold;
    color: #011064;
    margin-right: 20px;
    min-width: 40px;
    font-family: 'Indie Flower', cursive;
    line-height: 1;
}

.premio-lista-conteudo {
    position: relative;
    display: flex;
    align-items: center;
}

.premio-lista-texto {
    font-size: 26px;
    color: #011064;
    font-weight: 500;
    font-family: 'Indie Flower', cursive;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.premio-lista-texto.oculto {
    color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Fita Adesiva Realista - IMPOSSÍVEL DE REMOVER */
.fita-adesiva {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 38px;
    transform: translateY(-50%);
    background: #EAE1D5;
    border-top: 1px solid #F2EDE6;
    border-left: 1px solid #F2EDE6;
    border-right: 1px solid #D1BC9E;
    border-bottom: 1px solid #D1BC9E;
    z-index: 10;
    pointer-events: none;
    transform-origin: center;
    /* Rotação e largura aleatória para cada fita */
    transform: translateY(-50%) rotate(var(--fita-rotation, 0deg));
    width: var(--fita-width, 100%);
    /* Sem sombras - fita limpa */
}

/* Valores aleatórios são gerados via JavaScript a cada F5 */

/* Fita completamente limpa - sem patterns */

/* Texto da fita removido - agora é só a fita visual */
.fita-texto {
    display: none;
}

.fita-padrao {
    display: none;
}

/* Proteções adicionais */
.premio-lista-item.disponivel {
    position: relative;
}

.premio-lista-item.disponivel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9;
    pointer-events: none;
}

/* Desabilitar seleção de texto */
.premio-lista-item.disponivel {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Proteção contra inspeção */
.premio-lista-texto.oculto {
    display: none !important;
}

/* Proteção contra CSS personalizado */
.premio-lista-item.disponivel .premio-lista-texto {
    visibility: hidden !important;
    opacity: 0 !important;
    color: transparent !important;
    background: transparent !important;
    text-shadow: none !important;
    -webkit-text-fill-color: transparent !important;
}

/* Proteção contra JavaScript */
.premio-lista-item.disponivel .premio-lista-texto {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.niver-premios-lista h3,
.niver-premios-resgatar h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Grid de prêmios */
.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.premio-item {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.premio-item:hover {
    border-color: #0073aa;
    transform: translateY(-2px);
}

.premio-item.selected {
    border-color: #0073aa;
    background-color: #f0f8ff;
}

.premio-item.resgatado {
    border-color: #28a745;
    background-color: #f8fff8;
}

.premio-item.disponivel {
    border-color: #ffc107;
    background-color: #fffbf0;
}

.premio-posicao {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 10px;
}

.premio-info {
    font-size: 14px;
}

.premio-nome {
    font-weight: bold;
    margin-bottom: 5px;
}

.premio-tipo {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

/* Formulários - Forçados para evitar conflitos */
.niver-premios-lista .form-group,
.niver-premios-resgatar .form-group {
    margin-bottom: 15px !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.niver-premios-lista .form-group label,
.niver-premios-resgatar .form-group label {
    display: block !important;
    margin-bottom: 5px !important;
    font-weight: bold !important;
    color: #333 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.niver-premios-lista .form-group input,
.niver-premios-resgatar .form-group input,
.niver-premios-lista .form-group select,
.niver-premios-resgatar .form-group select {
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    background: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    font-family: 'Raleway', sans-serif !important;
    line-height: 1.4 !important;
}

.niver-premios-lista .form-group input:focus,
.niver-premios-resgatar .form-group input:focus,
.niver-premios-lista .form-group select:focus,
.niver-premios-resgatar .form-group select:focus {
    outline: none !important;
    border-color: #0073aa !important;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3) !important;
}

/* Botões - Forçados para evitar conflitos com Elementor/Hello Theme */
.niver-premios-lista .button,
.niver-premios-resgatar .button,
.niver-premios-lista button,
.niver-premios-resgatar button,
.niver-premios-lista input[type="submit"],
.niver-premios-resgatar input[type="submit"],
.niver-premios-lista .resgatar-btn,
.niver-premios-resgatar .resgatar-btn,
.niver-premios-lista .proximo-premio-btn,
.niver-premios-resgatar .proximo-premio-btn,
.niver-premios-lista .proximo-btn,
.niver-premios-resgatar .proximo-btn {
    background-color: #0073aa !important;
    color: white !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    user-select: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    /* Reset completo para evitar conflitos com Elementor */
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
    background-size: auto !important;
    background-repeat: repeat !important;
    background-position: 0% 0% !important;
    background-attachment: scroll !important;
    background-origin: padding-box !important;
    background-clip: border-box !important;
    /* Reset de transformações */
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    /* Reset de filtros */
    filter: none !important;
    -webkit-filter: none !important;
    /* Reset de backdrop */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Reset de border-radius */
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    /* Reset de border */
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-style: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
}

.niver-premios-lista .button:hover,
.niver-premios-resgatar .button:hover,
.niver-premios-lista button:hover,
.niver-premios-resgatar button:hover,
.niver-premios-lista input[type="submit"]:hover,
.niver-premios-resgatar input[type="submit"]:hover,
.niver-premios-lista .resgatar-btn:hover,
.niver-premios-resgatar .resgatar-btn:hover,
.niver-premios-lista .proximo-premio-btn:hover,
.niver-premios-resgatar .proximo-premio-btn:hover,
.niver-premios-lista .proximo-btn:hover,
.niver-premios-resgatar .proximo-btn:hover {
    background-color: #005a87 !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    /* Reset completo para hover */
    background-image: none !important;
    text-shadow: none !important;
    border: none !important;
    border-radius: 4px !important;
}

.niver-premios-lista .button:active,
.niver-premios-resgatar .button:active,
.niver-premios-lista button:active,
.niver-premios-resgatar button:active,
.niver-premios-lista input[type="submit"]:active,
.niver-premios-resgatar input[type="submit"]:active,
.niver-premios-lista .resgatar-btn:active,
.niver-premios-resgatar .resgatar-btn:active,
.niver-premios-lista .proximo-premio-btn:active,
.niver-premios-resgatar .proximo-premio-btn:active,
.niver-premios-lista .proximo-btn:active,
.niver-premios-resgatar .proximo-btn:active {
    background-color: #004a73 !important;
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
    /* Reset completo para active */
    background-image: none !important;
    text-shadow: none !important;
    border: none !important;
    border-radius: 4px !important;
}

/* Botões específicos do plugin - Forçados para evitar conflitos */
.niver-premios-lista .proximo-btn,
.niver-premios-resgatar .proximo-btn {
    background: #007cba !important;
    padding: 15px 30px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    /* Reset específico para próximo-btn */
    background-image: none !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.niver-premios-lista .proximo-btn:hover,
.niver-premios-resgatar .proximo-btn:hover {
    background: #005a87 !important;
    background-image: none !important;
    border: none !important;
    border-radius: 4px !important;
}

.niver-premios-lista .premio-selecao-botao .button,
.niver-premios-resgatar .premio-selecao-botao .button,
.niver-premios-lista .premio-selecao-botao .resgatar-btn,
.niver-premios-resgatar .premio-selecao-botao .resgatar-btn,
.niver-premios-lista .premio-selecao-botao .proximo-premio-btn,
.niver-premios-resgatar .premio-selecao-botao .proximo-premio-btn {
    background: #28a745 !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    /* Reset específico para botões de seleção */
    background-image: none !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.niver-premios-lista .premio-selecao-botao .button:hover,
.niver-premios-resgatar .premio-selecao-botao .button:hover,
.niver-premios-lista .premio-selecao-botao .resgatar-btn:hover,
.niver-premios-resgatar .premio-selecao-botao .resgatar-btn:hover,
.niver-premios-lista .premio-selecao-botao .proximo-premio-btn:hover,
.niver-premios-resgatar .premio-selecao-botao .proximo-premio-btn:hover {
    background: #218838 !important;
    background-image: none !important;
    border: none !important;
    border-radius: 4px !important;
}



/* Mensagens - Forçadas para evitar conflitos */
.niver-premios-lista .success,
.niver-premios-resgatar .success,
.niver-premios-lista .error,
.niver-premios-resgatar .error {
    background-color: #d4edda !important;
    color: #155724 !important;
    padding: 15px !important;
    border-radius: 4px !important;
    margin: 10px 0 !important;
    text-align: center !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    border: 1px solid #c3e6cb !important;
}

.niver-premios-lista .error,
.niver-premios-resgatar .error {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb !important;
}

/* Mensagem de erro específica */
.niver-premios-lista #key-error-message,
.niver-premios-resgatar #key-error-message,
.niver-premios-lista #form-error-message,
.niver-premios-resgatar #form-error-message {
    color: #d63638 !important;
    margin-top: 10px !important;
    font-size: 14px !important;
    font-family: 'Raleway', sans-serif !important;
    padding: 8px 12px !important;
    background: #fef7f1 !important;
    border-left: 4px solid #d63638 !important;
    border-radius: 2px !important;
    margin-bottom: 15px !important;
}

/* Status */
.status-disponivel {
    color: #28a745;
    font-weight: bold;
}

.status-resgatado {
    color: #dc3545;
    font-weight: bold;
}

.status-usada {
    color: #6c757d;
    font-weight: bold;
}

/* Responsividade */
@media (max-width: 768px) {
    .premios-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .premio-item {
        padding: 10px;
    }
    
    .premio-posicao {
        font-size: 20px;
    }
    
    .resgate-step {
        padding: 20px;
    }
    
    .premio-lista-item {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
        padding: 20px;
        text-align: center;
        min-height: auto;
        margin-bottom: 15px;
    }
    
    .premio-lista-posicao {
        font-size: 28px;
        margin-right: 0;
        margin-bottom: 10px;
        justify-self: center;
        font-family: 'Indie Flower', cursive;
        color: #011064;
        line-height: 1;
    }
    
    .premio-lista-texto {
        font-size: 20px;
        line-height: 1.3;
        padding: 10px 0;
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        font-family: 'Indie Flower', cursive;
        color: #011064;
    }
    
    .fita-adesiva {
        height: 32px;
    }
}

/* ===== SISTEMA DE RESGATE ===== */
.niver-premios-resgatar {
    font-family: 'Raleway', sans-serif;
    width: 100%;
    margin: 0;
    padding: 20px;
}

.niver-premios-resgatar h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

.niver-premios-resgatar p {
    font-family: 'Raleway', sans-serif;
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Formulário de Key */
.niver-premios-resgatar .form-group {
    margin-bottom: 20px;
}

.niver-premios-resgatar .form-group {
    display: flex;
    gap: 10px;
}

/* Campo Trade Link específico */
#tradelink-group {
    display: none !important;
}

#tradelink-group.ativo {
    display: block !important;
}

#tradelink-group input[type="url"] {
    width: 100%;
    box-sizing: border-box;
}

/* Campos de input - Forçados para evitar conflitos */
.niver-premios-lista .form-group input[type="text"],
.niver-premios-resgatar .form-group input[type="text"],
.niver-premios-lista .form-group input[type="email"],
.niver-premios-resgatar .form-group input[type="email"],
.niver-premios-lista .form-group input[type="url"],
.niver-premios-resgatar .form-group input[type="url"],
.niver-premios-lista .form-group input[type="number"],
.niver-premios-resgatar .form-group input[type="number"],
.niver-premios-lista .form-group select,
.niver-premios-resgatar .form-group select {
    flex: 1 !important;
    padding: 12px 16px !important;
    border: 2px solid #e1e1e1 !important;
    border-radius: 8px !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
    background: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
}

/* Campo Trade Link específico */
.niver-premios-lista #tradelink-group input[type="url"],
.niver-premios-resgatar #tradelink-group input[type="url"] {
    flex: 1 !important;
    width: 100% !important;
}

.niver-premios-lista .form-group input:focus,
.niver-premios-resgatar .form-group input:focus,
.niver-premios-lista .form-group select:focus,
.niver-premios-resgatar .form-group select:focus {
    outline: none !important;
    border-color: #007cba !important;
    box-shadow: 0 0 0 1px #007cba !important;
}

.button {
    background: #007cba;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: #005a87;
}

/* Lista de Seleção de Prêmios */
.premios-selecao-lista {
    margin: 20px 0;
}

.premio-selecao-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding: 20px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    min-height: 60px;
}

/* Container interno para o texto e fita */
.premio-selecao-texto-container {
    position: relative;
    grid-column: 2;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.premio-selecao-item:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.premio-selecao-item.selecionado {
    border-color: #28a745;
    background: #f8fff9;
}

.premio-selecao-item.resgatado {
    border-color: #dc3545;
    background: #fff8f8;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Prêmios bloqueados após resgate */
.premio-selecao-item.bloqueado {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.premio-selecao-item.bloqueado:hover {
    border-color: #e1e1e1;
    box-shadow: none;
}

/* Link próximo na mensagem informativa */
.proximo-link {
    color: #2d5a2d !important;
    text-decoration: none !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: color 0.2s ease;
}

.proximo-link:hover {
    color: #1a3a1a !important;
    text-decoration: none !important;
}

/* Cor verde escuro para texto e posição no card resgatado */
.premio-selecao-item.resgatado .premio-selecao-posicao,
.premio-selecao-item.resgatado .premio-selecao-texto,
.premio-selecao-item.resgatado .premio-selecao-texto.revelado {
    color: #2d5a2d !important;
}

.premio-selecao-posicao {
    font-family: 'Indie Flower', cursive;
    font-size: 24px;
    font-weight: bold;
    color: #2d5a2d;
    margin-right: 20px;
    min-width: 40px;
    line-height: 1;
}

.premio-selecao-texto {
    font-family: 'Indie Flower', cursive;
    font-size: 22px;
    color: #2d5a2d;
    font-weight: 500;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 8px 0;
    grid-column: 2;
    align-self: center;
}

.premio-selecao-texto {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    z-index: 2;
    min-height: 40px;
    display: flex;
    align-items: center;
    width: 100%;
}

.premio-selecao-texto.revelado {
    opacity: 1;
}

.premio-selecao-fita {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #EAE1D5;
    border-top: 1px solid #F2EDE6;
    border-left: 1px solid #F2EDE6;
    border-right: 1px solid #D1BC9E;
    border-bottom: 1px solid #D1BC9E;
    transform-origin: left center;
    transition: all 0.5s ease;
    z-index: 1;
    border-radius: 4px;
}

.premio-selecao-fita.removida {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Fita quando card está selecionado */
.premio-selecao-item.selecionado .premio-selecao-fita {
    right: 120px; /* Deixa espaço para o botão */
    transition: all 0.3s ease;
}

.premio-selecao-botao {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-self: end;
}

.premio-selecao-item.selecionado .premio-selecao-botao {
    opacity: 1;
    transform: translateX(0);
    display: block;
}

.premio-selecao-botao .button {
    background: #28a745;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
}

.premio-selecao-botao .button:hover {
    background: #218838;
}

/* Botão Próximo específico para prêmio resgatado */
.premio-selecao-botao .proximo-premio-btn {
    background: #28a745;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: shake-rotate 5s infinite;
    animation-delay: 2s; /* Começa após 2s para não ser imediato */
}

.premio-selecao-botao .proximo-premio-btn:hover {
    background: #218838;
}

.premio-selecao-botao .proximo-premio-btn::after {
    content: '→';
    font-size: 16px;
    font-weight: bold;
}

/* Animação de shake girante para o botão Próximo */
@keyframes shake-rotate {
    0%, 90%, 100% {
        transform: rotate(0deg) scale(1);
    }
    92% {
        transform: rotate(-2deg) scale(1.05);
    }
    94% {
        transform: rotate(2deg) scale(1.05);
    }
    96% {
        transform: rotate(-1deg) scale(1.02);
    }
    98% {
        transform: rotate(1deg) scale(1.02);
    }
}

/* Botão Próximo */
.botao-proximo-container {
    text-align: center;
    margin-top: 30px;
}

.proximo-btn {
    background: #007cba;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
}

/* Steps do resgate */
.resgate-step {
    padding: 30px;
    margin-bottom: 20px;
}

.resgate-step p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

/* Instruções melhoradas */
.instrucoes-premio {
    text-align: center;
    margin-bottom: 30px;
}



.instrucoes-texto {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: 'Raleway', sans-serif;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mensagem de erro do prêmio */
.premio-error-message {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 6px;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 14px;
    color: #d63638;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

/* Dados Pessoais */
.niver-premios-resgatar .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.niver-premios-resgatar .form-group {
    margin-bottom: 20px;
}

/* Melhorias na legibilidade da fonte Indie Flower */
.premio-lista-texto,
.premio-selecao-texto {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

/* Ajustes para nomes longos */
.premio-lista-item,
.premio-selecao-item {
    padding: 12px 20px;
}

.premio-lista-conteudo,
.premio-selecao-conteudo {
    padding: 8px 0;
}

/* Responsivo */
@media (max-width: 768px) {
    /* Layout vertical para mobile */
    .premio-selecao-item {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
        padding: 20px;
        text-align: center;
        min-height: auto;
    }
    
    .premio-selecao-posicao {
        font-size: 28px;
        margin-right: 0;
        margin-bottom: 10px;
        justify-self: center;
    }
    
    .premio-selecao-texto-container {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        padding: 10px 0;
    }
    
    .premio-selecao-texto {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .premio-selecao-fita {
        height: 100%;
        z-index: 1;
    }
    
    .premio-selecao-botao {
        grid-column: 1;
        grid-row: 3;
        justify-self: stretch;
        opacity: 1;
        transform: none;
        display: block;
    }
    
    .premio-selecao-botao .button,
    .premio-selecao-botao .proximo-premio-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        justify-content: center;
    }
    
    /* Animação mais suave no mobile */
    .premio-selecao-botao .proximo-premio-btn {
        animation: shake-rotate-mobile 5s infinite;
        animation-delay: 2s;
    }
    
    @keyframes shake-rotate-mobile {
        0%, 90%, 100% {
            transform: rotate(0deg) scale(1);
        }
        92% {
            transform: rotate(-1deg) scale(1.03);
        }
        94% {
            transform: rotate(1deg) scale(1.03);
        }
        96% {
            transform: rotate(-0.5deg) scale(1.01);
        }
        98% {
            transform: rotate(0.5deg) scale(1.01);
        }
    }
    .niver-premios-resgatar .form-group {
        flex-direction: column;
    }
    
    .premio-selecao-posicao {
        font-size: 20px;
        min-width: 35px;
        font-family: 'Indie Flower', cursive;
        line-height: 1;
    }
    
    .premio-selecao-texto {
        font-size: 18px;
        font-family: 'Indie Flower', cursive;
    }
    
    .premio-selecao-fita {
        height: 36px;
    }
    
    .premio-selecao-item {
        padding: 15px;
    }
    
    .premio-selecao-botao {
        margin-left: 15px;
    }
    
    .premio-selecao-botao .button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .premio-lista-item,
    .premio-selecao-item {
        padding: 10px 15px;
        gap: 15px;
        min-height: 50px;
    }
    
    .premio-lista-conteudo {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        padding: 10px 0;
    }
    
    /* Instruções mobile */
    .instrucoes-premio {
        margin-bottom: 20px;
    }
    

    
    .instrucoes-texto {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }
}

/* Estilos específicos para botões gerados dinamicamente - Forçados para evitar conflitos com Elementor */
.niver-premios-lista .resgatar-btn,
.niver-premios-resgatar .resgatar-btn,
.niver-premios-lista .proximo-premio-btn,
.niver-premios-resgatar .proximo-premio-btn {
    background-color: #28a745 !important;
    color: white !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    user-select: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    /* Reset completo para evitar conflitos com Elementor */
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
    background-size: auto !important;
    background-repeat: repeat !important;
    background-position: 0% 0% !important;
    background-attachment: scroll !important;
    background-origin: padding-box !important;
    background-clip: border-box !important;
    /* Reset de transformações */
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    /* Reset de filtros */
    filter: none !important;
    -webkit-filter: none !important;
    /* Reset de backdrop */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Reset de border-radius */
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    /* Reset de border */
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-style: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
}

.niver-premios-lista .resgatar-btn:hover,
.niver-premios-resgatar .resgatar-btn:hover,
.niver-premios-lista .proximo-premio-btn:hover,
.niver-premios-resgatar .proximo-premio-btn:hover {
    background-color: #218838 !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    /* Reset completo para hover */
    background-image: none !important;
    text-shadow: none !important;
    border: none !important;
    border-radius: 4px !important;
}

.niver-premios-lista .resgatar-btn:active,
.niver-premios-resgatar .resgatar-btn:active,
.niver-premios-lista .proximo-premio-btn:active,
.niver-premios-resgatar .proximo-premio-btn:active {
    background-color: #1e7e34 !important;
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
    /* Reset completo para active */
    background-image: none !important;
    text-shadow: none !important;
    border: none !important;
    border-radius: 4px !important;
}

/* Estilos específicos para botão próximo-premio-btn com animação */
.niver-premios-lista .proximo-premio-btn,
.niver-premios-resgatar .proximo-premio-btn {
    background: #28a745 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    animation: shake-rotate 5s infinite !important;
    animation-delay: 2s !important;
    /* Reset específico para próximo-premio-btn */
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.niver-premios-lista .proximo-premio-btn:hover,
.niver-premios-resgatar .proximo-premio-btn:hover {
    background: #218838 !important;
    background-image: none !important;
    border: none !important;
    border-radius: 6px !important;
}

.niver-premios-lista .proximo-premio-btn::after,
.niver-premios-resgatar .proximo-premio-btn::after {
    content: '→' !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

/* Isolamento completo dos estilos do plugin - Força especificidade máxima */
body .niver-premios-lista .button,
body .niver-premios-resgatar .button,
body .niver-premios-lista button,
body .niver-premios-resgatar button,
body .niver-premios-lista input[type="submit"],
body .niver-premios-resgatar input[type="submit"],
body .niver-premios-lista .resgatar-btn,
body .niver-premios-resgatar .resgatar-btn,
body .niver-premios-lista .proximo-premio-btn,
body .niver-premios-resgatar .proximo-premio-btn,
body .niver-premios-lista .proximo-btn,
body .niver-premios-resgatar .proximo-btn {
    /* Força a aplicação dos estilos do plugin */
    all: unset !important;
    background-color: #0073aa !important;
    color: white !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    user-select: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Mensagem de erro - Já coberta pelos estilos forçados acima */ 