/*
 * Caminho: public/css/voy2cur-public.css
 * 
 * Objetivo: Folha de estilos principal do frontend responsável por toda interface do usuário - 
 * formulário multi-step, histórico de currículos, navegação AJAX e componentes visuais.
 * 
 * Funcionalidades:
 * - Sistema de navegação por tabs (histórico/formulário) com animações
 * - Formulário multi-step com barra de progresso e validação visual
 * - Grid responsivo para modelos de currículo com hover effects
 * - Interface de histórico com cards, badges de score e ações contextuais
 * - Componentes dinâmicos: upload foto, sliders habilidades, pontos idiomas
 * - Sistema completo de botões (primário, secundário, sucesso, perigo)
 * - Modais, avisos, estados de loading e interface vazia
 * - Layout responsivo com breakpoints mobile (768px)
 * - Animações CSS (fadeIn, modalFadeIn, spin, hover transforms)
 * 
 * Detalhes Técnicos:
 * - CSS Grid e Flexbox para layouts responsivos
 * - Integração com Dashicons WordPress para ícones
 * - Variáveis de cor consistentes (#4CAF50 primário, #f44336 perigo)
 * - Estados visuais para scores (alto/médio/baixo) e status (rascunho/finalizado)
 * - Media queries para impressão (oculta controles)
 * - Classes prefixadas 'voy2cur-' para evitar conflitos
 * 
 * Observações:
 * - Arquivo crítico para experiência do usuário
 * - Otimizado para performance com transições suaves
 * - Suporte completo a acessibilidade e responsividade
 */


/* Reset e Base */
.voy2cur-formulario-container *,
.voy2cur-historico-container *,
.voy2cur-container * {
    box-sizing: border-box;
}

/* Variáveis CSS */
:root {
    --voy2cur-azul: #4285F4;
    --voy2cur-roxo: #8D00FF;
    --voy2cur-gradiente: linear-gradient(90deg, #4285F4, #8D00FF);
    --voy2cur-gradiente-hover: linear-gradient(90deg, #3674e3, #7c00ee);
    --voy2cur-radius: 4px;
    --voy2cur-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    --voy2cur-shadow-hover: 0 4px 12px rgba(141, 0, 255, 0.15);
}

/* Container Principal Unificado */
.voy2cur-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header com navegação */
.voy2cur-nav-header {
    background: #fff;
    border-radius: var(--voy2cur-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--voy2cur-shadow);
}

.voy2cur-titulo-principal {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
    font-weight: 500;
}

/* Tabs de navegação */
.voy2cur-nav-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 12px;
}

.voy2cur-nav-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.voy2cur-nav-tab:hover {
    color: var(--voy2cur-roxo);
    background: rgba(141, 0, 255, 0.05);
    border-color: #8D00FF;
}

.voy2cur-nav-tab.ativo {
    color: var(--voy2cur-roxo);
    border-bottom-color: var(--voy2cur-roxo);
    background: rgba(141, 0, 255, 0.05);
}

/* Botões */
.voy2cur-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--voy2cur-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--voy2cur-shadow);
}

.voy2cur-btn-primario {
    background: var(--voy2cur-roxo);
    color: white;
    fill: #fff !important;
    }

.voy2cur-btn-primario span {
    color: white;
    fill: white !important; /* Para SVGs */
}


.voy2cur-btn-primario:hover {
    background: #7c00ee;
    transform: translateY(-1px);
    box-shadow: var(--voy2cur-shadow-hover);
}

.voy2cur-btn-secundario {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.voy2cur-btn-secundario:hover {
    background: #e9e9e9;
    border-color: var(--voy2cur-roxo);
    color: var(--voy2cur-roxo);
}

.voy2cur-btn-sucesso {
    background: var(--voy2cur-azul);
    color: white;
}

.voy2cur-btn-sucesso:hover {
    background: #3674e3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.25);
}

/* Botão especial com borda animada (IA) */
.voy2cur-btn-ia,
#voy2cur-btn-analisar,
.voy2cur-btn-finalizar {
    background-image: linear-gradient(white, white), linear-gradient(90deg, #00c6ff, #8d00ff, #ff00e5, #00c6ff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent !important;
    background-size: 300% 100%;
    animation: borderAnimation 6s ease infinite;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    color: var(--voy2cur-roxo);
    font-weight: 600;
}

@keyframes borderAnimation {
    0% { background-position: 0% 50%, 0% 50%; }
    50% { background-position: 0% 50%, 100% 50%; }
    100% { background-position: 0% 50%, 0% 50%; }
}

.voy2cur-btn-ia:hover,
#voy2cur-btn-analisar:hover,
.voy2cur-btn-finalizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(141, 0, 255, 0.2);
}

/* Barra de Progresso */
.voy2cur-progresso-barra {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.voy2cur-progresso-preenchimento {
    height: 100%;
    background: var(--voy2cur-gradiente);
    transition: width 0.3s ease;
}

.voy2cur-step.ativo {
    background: var(--voy2cur-roxo);
    color: white;
}

.voy2cur-step.completo {
    background: #f5f5f5 !important;
    color: #666 !important;
}

/* Formulários */
.voy2cur-form-group input[type="text"],
.voy2cur-form-group input[type="email"],
.voy2cur-form-group input[type="tel"],
.voy2cur-form-group input[type="url"],
.voy2cur-form-group input[type="number"],
.voy2cur-form-group select,
.voy2cur-form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--voy2cur-radius);
    font-size: 14px;
    transition: all 0.3s ease;
}

.voy2cur-form-group input:focus,
.voy2cur-form-group select:focus,
.voy2cur-form-group textarea:focus {
    outline: none;
    border-color: var(--voy2cur-roxo);
    box-shadow: 0 0 0 3px rgba(141, 0, 255, 0.1);
}

/* Modelos de currículo */
.voy2cur-modelo-item {
    border: 2px solid #e0e0e0;
    border-radius: var(--voy2cur-radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.voy2cur-modelo-item:hover {
    border-color: var(--voy2cur-roxo);
    transform: translateY(-3px);
    box-shadow: var(--voy2cur-shadow-hover);
}

.voy2cur-modelo-item.selecionado {
    border-color: #8D00FF !important;
    background-color: #f9f5ff !important;
    box-shadow: 0 0 0 3px rgba(141, 0, 255, 0.1) !important;
}

.voy2cur-modelo-item.selecionado::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #8D00FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voy2cur-modelo-item.selecionado::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Sliders de habilidade */
input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--voy2cur-roxo);
    cursor: pointer;
    box-shadow: var(--voy2cur-shadow);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--voy2cur-roxo);
    cursor: pointer;
    box-shadow: var(--voy2cur-shadow);
}

/* Score de análise */
.voy2cur-score-circle {
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--voy2cur-gradiente);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(141, 0, 255, 0.3);
}

/* Cards do histórico */
.voy2cur-curriculo-card {
    background: white;
    border-radius: var(--voy2cur-radius);
    box-shadow: var(--voy2cur-shadow);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.voy2cur-curriculo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--voy2cur-shadow-hover);
}

.voy2cur-curriculo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--voy2cur-gradiente);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.voy2cur-curriculo-card:hover::before {
    opacity: 1;
}

/* Badges de score */
.voy2cur-score-alto {
    background: var(--voy2cur-azul);
}

.voy2cur-score-medio {
    background: #FF9800;
}

.voy2cur-score-baixo {
    background: #f44336;
}

/* Modal */
.voy2cur-modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--voy2cur-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Avisos */
.voy2cur-aviso {
    padding: 15px;
    border-radius: var(--voy2cur-radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.voy2cur-aviso-sucesso {
    background: rgba(66, 133, 244, 0.1);
    color: #1976D2;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.voy2cur-aviso-erro {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.voy2cur-aviso-info {
    background: rgba(141, 0, 255, 0.05);
    color: var(--voy2cur-roxo);
    border: 1px solid rgba(141, 0, 255, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .voy2cur-nav-tabs {
        flex-wrap: wrap;
    }
    
    .voy2cur-nav-tab {
        flex: 1;
        min-width: 120px;
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Container Principal Unificado */
.voy2cur-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header com navegação */
.voy2cur-nav-header {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.voy2cur-titulo-principal {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
}


.voy2cur-nav-tab .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Content wrapper */
.voy2cur-content-wrapper {
    position: relative;
    min-height: 400px;
}

.voy2cur-content {
    animation: fadeIn 0.3s ease;
}

/* Loading state */
.voy2cur-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}


.voy2cur-modal-visualizacao .voy2cur-loading {
    text-align: center;
    padding: 50px;
}


/* Loading state */
.voy2cur-loading .dashicons {
    font-size: 48px;
    color: var(--voy2cur-roxo);
}

/* Container do formulário */
.voy2cur-formulario-container {
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header do Formulário */
.voy2cur-formulario-header {
    text-align: center;
    margin-bottom: 40px;
}

.voy2cur-formulario-header h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Barra de Progresso */
.voy2cur-progresso {
    margin-bottom: 30px;
}

.voy2cur-progresso-barra {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Barra de Progresso */
.voy2cur-progresso-preenchimento {
    height: 100%;
    background: var(--voy2cur-gradiente);
    transition: width 0.3s ease;
}

.voy2cur-progresso-steps {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.voy2cur-step {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.voy2cur-step.ativo {
    background: var(--voy2cur-roxo);
    color: white;
    font-weight: bold;
}

.voy2cur-step.completo {
    background: var(--voy2cur-azul);
    color: white;
}

/* Step Content */
.voy2cur-step-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.voy2cur-step-content.ativo {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid de Modelos */
.voy2cur-modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.voy2cur-modelo-item {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.voy2cur-modelo-item:hover {
    border-color: var(--voy2cur-roxo);
    transform: translateY(-5px);
    box-shadow: var(--voy2cur-shadow-hover);
}



.voy2cur-modelo-preview {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.voy2cur-modelo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voy2cur-modelo-item h4 {
    color: #333;
    margin: 10px 0;
}

.voy2cur-modelo-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Formulário */
.voy2cur-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.voy2cur-form-group {
    margin-bottom: 20px;
}

.voy2cur-col-6 {
    flex: 1;
    min-width: 250px;
}

.voy2cur-col-4 {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 200px;
}

.voy2cur-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.voy2cur-form-group input[type="text"],
.voy2cur-form-group input[type="email"],
.voy2cur-form-group input[type="tel"],
.voy2cur-form-group input[type="url"],
.voy2cur-form-group input[type="number"],
.voy2cur-form-group select,
.voy2cur-form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.voy2cur-form-group input:focus,
.voy2cur-form-group select:focus,
.voy2cur-form-group textarea:focus {
    outline: none;
    border-color: var(--voy2cur-roxo);
    box-shadow: 0 0 0 3px rgba(141, 0, 255, 0.1);
}

.voy2cur-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Upload de Foto */
.voy2cur-upload-foto {
    display: flex;
    align-items: center;
    gap: 20px;
}

.voy2cur-foto-preview {
    width: 120px;
    height: 120px;
    border: 2px dashed #ddd;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.voy2cur-foto-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voy2cur-foto-placeholder {
    text-align: center;
    color: #999;
}

.voy2cur-foto-placeholder .dashicons {
    font-size: 48px;
    line-height: 1;
}

/* Botões */
.voy2cur-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}



.voy2cur-btn-secundario {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.voy2cur-btn-secundario:hover {
    background: #e9e9e9;
}

.voy2cur-btn-sucesso {
    background: #2196F3;
    color: white;
}

.voy2cur-btn-sucesso:hover {
    background: #1976D2;
}

.voy2cur-btn-perigo {
    background: #f44336;
    color: white;
}

.voy2cur-btn-perigo:hover {
    background: #d32f2f;
}

/* Items Dinâmicos */
.voy2cur-item-dinamico {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
}

.voy2cur-item-dinamico-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.voy2cur-item-dinamico-titulo {
    font-weight: 600;
    color: #333;
}

.voy2cur-btn-remover {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    padding: 5px;
}

.voy2cur-btn-remover:hover {
    background: #ffebee;
    border-radius: 4px;
}

/* Habilidades */
.voy2cur-habilidade-nivel-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.voy2cur-habilidade-nivel-slider {
    flex: 1;
}

.voy2cur-habilidade-nivel-valor {
    font-weight: 600;
    color: var(--voy2cur-roxo);
    min-width: 40px;
    text-align: center;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--voy2cur-roxo);
    cursor: pointer;
    box-shadow: var(--voy2cur-shadow);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--voy2cur-roxo);
    cursor: pointer;
    box-shadow: var(--voy2cur-shadow);
}

/* Idiomas */
.voy2cur-idioma-pontos {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.voy2cur-idioma-ponto {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voy2cur-idioma-ponto:hover {
    border-color: var(--voy2cur-roxo);
}

.voy2cur-idioma-ponto.preenchido {
    background: var(--voy2cur-roxo);
    border-color: var(--voy2cur-roxo);
}
/* Navegação */
.voy2cur-form-navegacao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Separador */
.voy2cur-separador {
    margin: 40px 0;
    border: 0;
    height: 1px;
    background: #e0e0e0;
}

/* Preview */
.voy2cur-preview-container {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    min-height: 400px;
    position: relative;
}

.voy2cur-preview-loading {
    text-align: center;
    padding: 80px 20px;
}

.voy2cur-preview-loading .spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.voy2cur-preview-content {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

/* Score de Análise */
.voy2cur-score-container {
    text-align: center;
    margin: 30px 0;
}

.voy2cur-score-circle {
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--voy2cur-gradiente);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(141, 0, 255, 0.3);
}

.voy2cur-score-numero {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.voy2cur-score-label {
    font-size: 14px;
    opacity: 0.9;
}

.voy2cur-analise-detalhes {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

/* Modal */
.voy2cur-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.voy2cur-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.voy2cur-modal-close:hover {
    color: #333;
}

.voy2cur-modal-acoes {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Avisos */
.voy2cur-aviso {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.voy2cur-aviso-sucesso {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.voy2cur-aviso-erro {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.voy2cur-aviso-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Histórico */
.voy2cur-historico-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.voy2cur-historico-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.voy2cur-historico-header h2 {
    margin: 0;
    color: #333;
}

.voy2cur-limite-info {
    background: rgba(141, 0, 255, 0.05);
    border: 1px solid rgba(141, 0, 255, 0.2);
    border-radius: var(--voy2cur-radius);
    padding: 15px;
    margin-bottom: 30px;
}

.voy2cur-limite-info p {
    margin: 0;
    color: var(--voy2cur-roxo);
}

.voy2cur-historico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.voy2cur-curriculo-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.voy2cur-curriculo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.voy2cur-curriculo-card-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.voy2cur-curriculo-card h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
}

.voy2cur-curriculo-card-meta {
    color: #666;
    font-size: 14px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.voy2cur-curriculo-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.voy2cur-curriculo-card-score {
    text-align: center;
    margin: 15px 0;
}

.voy2cur-score-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: white;
    font-size: 14px;
}

.voy2cur-score-alto {
    background: var(--voy2cur-azul);
}

.voy2cur-score-medio {
    background: #FF9800;
}

.voy2cur-score-baixo {
    background: #f44336;
}

.voy2cur-curriculo-card-info {
    margin-bottom: 15px;
}

.voy2cur-curriculo-card-info p {
    margin: 5px 0;
    font-size: 14px;
}

.voy2cur-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.voy2cur-status-rascunho {
    background: #fff3cd;
    color: #856404;
}

.voy2cur-status-finalizado {
    background: #d4edda;
    color: #155724;
}

.voy2cur-curriculo-card-acoes {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.voy2cur-curriculo-card-acoes .voy2cur-btn {
    flex: 1;
    justify-content: center;
    font-size: 13px;
    padding: 8px 12px;
    min-width: 80px;
}

/* Estado vazio */
.voy2cur-vazio {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.voy2cur-vazio-icon {
    margin-bottom: 20px;
}

.voy2cur-vazio-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ddd;
}

.voy2cur-vazio h3 {
    color: #666;
    margin-bottom: 10px;
}

.voy2cur-vazio p {
    color: #999;
    margin-bottom: 20px;
}

/* Botões pequenos */
.voy2cur-btn-sm {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

.voy2cur-btn-sm .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
    .voy2cur-formulario-container {
        padding: 15px;
    }
    
    .voy2cur-form-row {
        flex-direction: column;
    }
    
    .voy2cur-col-4,
    .voy2cur-col-6 {
        flex: 1 0 100%;
    }
    
    .voy2cur-progresso-steps {
        flex-wrap: wrap;
    }
    
    .voy2cur-step {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .voy2cur-upload-foto {
        flex-direction: column;
        text-align: center;
    }
    
    .voy2cur-form-navegacao {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .voy2cur-form-navegacao .voy2cur-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Impressão */
@media print {
    .voy2cur-form-navegacao,
    .voy2cur-btn,
    .voy2cur-progresso,
    .voy2cur-modal {
        display: none !important;
    }
}

/* Botão Criar Novo Currículo - adicionar após os outros estilos de botões */
.voy2cur-btn-criar {
    background: var(--voy2cur-gradiente);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
}

.voy2cur-btn-criar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(141, 0, 255, 0.3);
}

/* Modal de visualização de currículo */
.voy2cur-modal-visualizacao {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.voy2cur-modal-visualizacao-content {
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 20px auto;
    width: 100%;
    max-width: 900px; /* Largura máxima para conter o A4 */
}

.voy2cur-modal-visualizacao .voy2cur-visualizacao {
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

@media (max-width: 1200px) {
    .voy2cur-modal-visualizacao-content {
        transform: scale(0.8);
    }
}

@media (max-width: 1024px) {
    .voy2cur-modal-visualizacao-body {
        padding: 20px;
    }
    
    .voy2cur-modal-visualizacao .voy2cur-visualizacao {
        transform: scale(0.8);
        transform-origin: top center;
    }
}

@media (max-width: 768px) {
    .voy2cur-modal-visualizacao {
        padding: 0;
    }
    
    .voy2cur-modal-visualizacao-content {
        border-radius: 0;
        margin: 0;
        max-width: 100%;
        width: 100%;
        height: 100vh;
    }
    
    .voy2cur-modal-visualizacao-header {
        padding: 15px 20px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .voy2cur-modal-visualizacao-body {
        padding: 10px;
        max-height: calc(100vh - 60px);
        overflow-x: auto;
        overflow-y: auto;
    }
    
    /* Permitir scroll horizontal no currículo */
    .voy2cur-modal-visualizacao .voy2cur-visualizacao {
        transform: none !important;
        margin: 0 auto;
        width: 210mm;
        min-height: 297mm;
    }
}
    
    
    

.voy2cur-modal-visualizacao-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 8px 8px 0 0;
}

.voy2cur-modal-visualizacao-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.voy2cur-modal-visualizacao-body {
    padding: 30px;
    background: #f5f5f5;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
}

/* Ajustar template dentro do modal */
.voy2cur-modal-visualizacao .voy2cur-curriculo-container {
    max-width: 100%;
    font-size: 12pt;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    
}

/* Botão lixeira delicado */
.voy2cur-curriculo-card {
    position: relative;
}

.voy2cur-btn-lixeira {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voy2cur-btn-lixeira:hover {
    background: #ffebee;
    color: #f44336;
}

.voy2cur-btn-lixeira .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Botões de adicionar item menores e com espaçamento */
.voy2cur-btn-adicionar-experiencia,
.voy2cur-btn-adicionar-formacao,
.voy2cur-btn-adicionar-habilidade,
.voy2cur-btn-adicionar-idioma,
.voy2cur-btn-adicionar-certificacao,
.voy2cur-btn-adicionar-atividade {
    padding: 8px 16px !important;
    font-size: 14px !important;
    margin-bottom: 48px !important;
    margin-top: 6px !important;
}

/* Botão de preview do modelo */
.voy2cur-modelo-preview {
    position: relative;
}

.voy2cur-preview-modelo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.voy2cur-preview-modelo:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transform: scale(1.1);
}

.voy2cur-preview-modelo .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #8D00FF;
}

/* Modal de preview */
.voy2cur-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.voy2cur-modal-preview {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.voy2cur-modal-preview img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 4px;
}

.voy2cur-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    background: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.voy2cur-modal-close:hover {
    background: #8D00FF;
    transform: rotate(90deg);
}

/* Score circle melhorado */
.voy2cur-score-container {
    text-align: center;
    margin: 30px 0;
}

.voy2cur-score-circle {
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f0f0f0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.voy2cur-score-circle.score-alto {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.voy2cur-score-circle.score-medio {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.voy2cur-score-circle.score-baixo {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.voy2cur-score-numero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
    color: white;
    }

.voy2cur-score-label {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: white !important;
    white-space: nowrap;
}

.voy2cur-score-principal p {
    color: #fff;
}
.voy2cur-score-principal {
    color: #fff;
}

/* Tab de Avaliação IA com borda animada */
.voy2cur-tab-ia {
    background-image: linear-gradient(white, white), linear-gradient(90deg, #00c6ff, #8d00ff, #ff00e5, #00c6ff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent !important;
    background-size: 300% 100%;
    animation: borderAnimation 6s ease infinite;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

@keyframes borderAnimation {
    0% {
        background-position: 0% 50%, 0% 50%;
    }
    50% {
        background-position: 0% 50%, 100% 50%;
    }
    100% {
        background-position: 0% 50%, 0% 50%;
    }
}

.voy2cur-tab-ia:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(141, 0, 255, 0.2);
}

.voy2cur-tab-ia.ativo {
    color: var(--voy2cur-roxo);
    border-bottom: 2px solid transparent !important;
    background: rgba(141, 0, 255, 0.05);
}

.voy2cur-tab-ia .dashicons {
    color: var(--voy2cur-roxo);
}

#voy2cur-select-curriculo {
    height: 100%;
}

/* Análise de Upload Formatada */
.voy2cur-analise-resultado {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.voy2cur-score-resumo {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    background: #f8f9fa;
}

.voy2cur-score-resumo.alto {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.voy2cur-score-resumo.medio {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.voy2cur-score-resumo.baixo {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.voy2cur-score-numero {
    display: block;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.voy2cur-score-texto {
    display: block;
    font-size: 16px;
    margin-top: 5px;
}

.voy2cur-analise-resultado h4 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 18px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.voy2cur-analise-resultado h4:first-child {
    margin-top: 0;
}

.voy2cur-analise-resultado p {
    margin: 15px 0;
    color: #495057;
}

.voy2cur-analise-resultado ul,
.voy2cur-analise-resultado ol {
    margin: 15px 0;
    padding-left: 30px;
}

.voy2cur-analise-resultado li {
    margin: 10px 0;
    color: #495057;
}

.voy2cur-analise-resultado strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Ícones nos títulos */
.voy2cur-analise-resultado h4:before {
    margin-right: 8px;
    font-size: 20px;
}

/* Caixas especiais */
.voy2cur-analise-resultado ul li strong {
    color: var(--voy2cur-roxo);
}

/* Responsividade */
@media (max-width: 768px) {
    .voy2cur-score-numero {
        font-size: 36px;
    }
    
    .voy2cur-analise-resultado h4 {
        font-size: 16px;
    }
}

/* Botão de impressão */
.voy2cur-btn-imprimir:hover {
    background: #4285F4 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.voy2cur-btn-imprimir {
      background: #4285F4 !important;
}

/* Estilos de impressão */
@media print {
    .voy2cur-btn-imprimir,
    .voy2cur-modal-close {
        display: none !important;
    }
}

