.wvf-visualizador-wrapper {
    max-width: 950px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: Arial, Helvetica, sans-serif;
}

.wvf-painel-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.wvf-info-esquerda {
    flex: 0 0 auto;
    font-size: 14px;
    color: #495057;
}

.wvf-posicao-texto {
    font-weight: 500;
}

.wvf-posicao-texto strong {
    color: #0073aa;
    font-weight: 700;
}

.wvf-controles-navegacao {
    display: flex;
    gap: 12px;
    flex: 1 1 auto;
    justify-content: center;
}

.wvf-info-direita {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wvf-contador-selecao {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    white-space: nowrap;
}

.wvf-contador-selecao strong {
    color: #28a745;
    font-weight: 700;
}

.wvf-btn {
    padding: 10px 18px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 38px;
}

.wvf-btn:hover:not(:disabled) {
    background: #005f8d;
    box-shadow: 0 2px 6px rgba(0,115,170,0.3);
    transform: translateY(-1px);
}

.wvf-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.wvf-btn-selecionar {
    background: #28a745;
    font-weight: 600;
}

.wvf-btn-selecionar:hover:not(:disabled) {
    background: #218838;
    box-shadow: 0 2px 6px rgba(40,167,69,0.3);
}

.wvf-btn-selecionar.selecionada {
    background: #ffc107;
    color: #000;
}

.wvf-btn-selecionar.selecionada:hover {
    background: #e0a800;
    color: #000;
}

.wvf-btn-limpar {
    padding: 8px 14px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wvf-btn-limpar:hover {
    background: #c82333;
    box-shadow: 0 2px 6px rgba(220,53,69,0.3);
}

.wvf-area-visualizacao {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .wvf-painel-superior {
        flex-wrap: wrap;
        gap: 15px;
    }

    .wvf-info-esquerda,
    .wvf-info-direita {
        width: 100%;
        text-align: center;
    }

    .wvf-controles-navegacao {
        width: 100%;
        order: 3;
    }
}

@media (max-width: 600px) {
    .wvf-visualizador-wrapper {
        margin: 15px auto;
        padding: 0 10px;
    }

    .wvf-painel-superior {
        padding: 12px;
        gap: 10px;
    }

    .wvf-controles-navegacao {
        flex-wrap: wrap;
        gap: 8px;
    }

    .wvf-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 36px;
    }

    .wvf-area-visualizacao {
        padding: 15px;
    }
}