/* ==========================================================================
   SISTEMA DE DESIGN - IDP ENGINE & OCR PORTAL (LIGHT GLASSMORPHISM & SAGE GREEN)
   ========================================================================== */

:root {
    /* Cores de Fundo e Containers (Tema Claro) */
    --bg-main: #f8fafc; /* Slate 50 */
    --bg-darker: #f1f5f9; /* Slate 100 */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-border-focus: rgba(16, 185, 129, 0.4);
    --glass-glow: 0 10px 30px rgba(15, 23, 42, 0.06);
    
    /* Cores de Destaque (Sage Green & Teal) */
    --primary: #10b981; /* Emerald Green */
    --primary-glow: rgba(16, 185, 129, 0.12);
    --primary-hover: #059669;
    
    --secondary: #0d9488; /* Teal */
    --secondary-hover: #0f766e;
    
    --accent: #3b82f6; /* Blue */
    --success: #10b981; /* Green */
    --success-glow: rgba(16, 185, 129, 0.1);
    --warning: #d97706; /* Amber */
    --danger: #ef4444; /* Rose */
    
    /* Cores de Texto */
    --text-primary: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    --text-light: #ffffff;
    
    /* Fontes e Bordas */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES GERAIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   ELEMENTOS DE BACKDROP DINÂMICOS (TEMA CLARO)
   ========================================================================== */
.bg-gradient-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #f1f5f9 0%, var(--bg-main) 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    animation: floatShape 20s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--primary);
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: var(--secondary);
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-3 {
    top: 30%;
    left: 50%;
    width: 30vw;
    height: 30vw;
    background: #a7f3d0;
    animation-delay: -10s;
    animation-duration: 15s;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.08); }
}

/* ==========================================================================
   GLASSMORPHISM BASE
   ========================================================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-glow);
}

/* ==========================================================================
   MODAIS / POPUPS (ESTRUTURA DE CADASTRO EM POP-UP)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    width: 100%;
    max-width: 460px;
    padding: 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.9);
    animation: zoomIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Modal de Cadastro Expandido */
.candidate-modal-content {
    max-width: 680px;
    text-align: left;
}

@keyframes zoomIn {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.logo-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    color: var(--text-light);
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.logo-icon.font-green {
    background: linear-gradient(135deg, #34d399, var(--primary));
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-header p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ESTRUTURA GRID PARA CADASTRAMENTO NO MODAL */
.form-group-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 580px) {
    .form-grid-modal {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   INPUTS & FORMULÁRIO (TEMA CLARO)
   ========================================================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition-fast);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-wrapper input:focus + .field-icon {
    color: var(--primary);
}

.error-message {
    color: var(--danger);
    font-size: 13px;
    display: none;
    text-align: left;
    align-items: center;
    gap: 6px;
    margin-top: -6px;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.modal-footer {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 13px;
}

.modal-footer i {
    color: var(--primary);
    margin-right: 4px;
}

/* ==========================================================================
   BOTÕES (TEMA VERDE)
   ========================================================================== */
.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-primary-green {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    margin-top: 10px;
}

.btn-primary-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--bg-main);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-success {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #047857);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

/* ==========================================================================
   2. INTERFACE CONTAINER E ESTRUTURA GRID
   ========================================================================== */
.app-container {
    width: 94%;
    max-width: 1360px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeInUp 0.5s ease;
}

.app-container.hidden {
    display: none;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* HEADER DO PORTAL (TEMA CLARO) */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.font-green-icon {
    font-size: 24px;
    color: var(--primary);
}

.header-logo h1 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.badge {
    display: inline-block;
    padding: 2px 7px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    color: var(--primary-hover);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 40px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.header-user i {
    color: var(--primary);
    font-size: 18px;
}

.header-user span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

#logout-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

#logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.08);
}

/* GRID PRINCIPAL */
.app-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

@media (max-width: 950px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

.grid-card {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 12px;
}

.card-title h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   FORM CONTROLS & DYNAMIC COMPONENT STYLING
   ========================================================================== */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.upload-label {
    margin-bottom: 4px;
}

/* CUSTOM SELECT (LIGHT THEME) */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding: 11px 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.select-wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    font-size: 11px;
    transition: var(--transition-fast);
}

.select-wrapper select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary);
}

/* NOTIFICAÇÕES & CAMPOS CONDICIONAIS */
.info-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--primary-hover);
    font-size: 12px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

.conditional {
    animation: slideDown 0.3s ease;
}

.conditional.hidden {
    display: none !important;
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-8px); max-height: 0; }
    100% { opacity: 1; transform: translateY(0); max-height: 220px; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* UPLOAD DOCUMENTO ESTRANGEIRO */
.foreigner-upload-box {
    position: relative;
    border: 2px dashed rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    transition: var(--transition-fast);
}

.foreigner-upload-box:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.foreigner-upload-box input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.upload-icon-wrapper i {
    font-size: 16px;
    color: var(--primary);
}

.doc-uploaded-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: var(--primary-hover);
    font-size: 12px;
}

/* JOB BOARD COMPONENT */
.job-input-group {
    display: flex;
    gap: 8px;
}

.job-input-group input {
    flex: 1;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
}

.job-input-group input:focus {
    border-color: var(--primary);
}

.job-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.job-card.hidden {
    display: none;
}

.job-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-hover);
}

.job-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.job-meta {
    display: flex;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.job-meta i {
    color: var(--primary);
    margin-right: 2px;
}

/* ATS INTEGRATION STYLES */
.ats-banner {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 100%;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ats-banner.hidden {
    display: none;
}

.ats-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.ats-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ats-banner-label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
}

#ats-banner-title {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

.ats-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ats-badge-pill.gupy {
    background: rgba(0, 191, 165, 0.12);
    color: #00bfa5;
    border: 1px solid rgba(0, 191, 165, 0.25);
}

.ats-badge-pill.lg {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.ats-badge-pill.interno {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.ats-badge-pill.pandape {
    background: rgba(108, 92, 231, 0.12);
    color: #6c5ce7;
    border: 1px solid rgba(108, 92, 231, 0.25);
}

.ats-badge-pill.kenoby {
    background: rgba(0, 206, 201, 0.12);
    color: #00cec9;
    border: 1px solid rgba(0, 206, 201, 0.25);
}

.ats-badge-pill.vagas {
    background: rgba(243, 156, 18, 0.12);
    color: #d35400;
    border: 1px solid rgba(243, 156, 18, 0.25);
}

.ats-badge-pill.solides {
    background: rgba(232, 67, 147, 0.12);
    color: #e84393;
    border: 1px solid rgba(232, 67, 147, 0.25);
}

.ats-badge-pill.sap {
    background: rgba(10, 110, 209, 0.12);
    color: #0a6ed1;
    border: 1px solid rgba(10, 110, 209, 0.25);
}

.ats-badge-pill.workday {
    background: rgba(227, 139, 2, 0.12);
    color: #e38b02;
    border: 1px solid rgba(227, 139, 2, 0.25);
}

.ats-badge-pill.greenhouse {
    background: rgba(0, 128, 96, 0.12);
    color: #008060;
    border: 1px solid rgba(0, 128, 96, 0.25);
}

.ats-badge-pill.lever {
    background: rgba(17, 17, 17, 0.08);
    color: #111111;
    border: 1px solid rgba(17, 17, 17, 0.2);
}

.ats-job-display {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    width: 100%;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ats-job-display.hidden {
    display: none;
}

.ats-job-display-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

#ats-job-display-title {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   DRAG & DROP CNH ZONE (TEMA VERDE CLARO)
   ========================================================================== */
.dropzone {
    border: 2px dashed rgba(15, 23, 42, 0.15);
    border-radius: var(--radius-lg);
    padding: 44px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    background: #ffffff;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.dropzone.dragover {
    border-color: var(--primary);
    background: var(--primary-glow);
    transform: scale(1.01);
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.drop-icon {
    font-size: 40px;
    color: var(--primary);
    transition: var(--transition-fast);
}

.dropzone:hover .drop-icon {
    transform: scale(1.08);
}

.dropzone h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
}

.dropzone p {
    font-size: 12px;
    color: var(--text-muted);
}

.scanner-anim {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(16, 185, 129, 0.04), rgba(16, 185, 129, 0.08));
    pointer-events: none;
}

.dropzone.processing .scanner-anim {
    display: block;
    animation: scanPulse 2.5s infinite ease-in-out;
}

@keyframes scanPulse {
    0%, 100% { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
}

/* ==========================================================================
   PAINEL DE RESUMO E TABS LATERAIS
   ========================================================================== */
.summary-tabs {
    display: flex;
    gap: 8px;
    background: var(--bg-darker);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.tab-btn:hover:not([disabled]) {
    color: var(--text-primary);
}

.tab-btn.active {
    background: #ffffff;
    color: var(--primary-hover);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.tab-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.tab-content {
    animation: fadeIn 0.4s ease;
}

.tab-content.hidden {
    display: none !important;
}

/* ALERTA INFORMATIVO */
.info-alert {
    display: flex;
    gap: 10px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    line-height: 1.5;
    color: #1e3a8a;
    margin-top: 10px;
}

.info-alert i {
    font-size: 15px;
    color: var(--accent);
}

/* CARTÃO DE PERFIL DO CANDIDATO */
.profile-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 14px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.profile-header h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
}

.badge-vaga {
    display: inline-block;
    padding: 2px 6px;
    background: var(--bg-darker);
    border-radius: 4px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 4px;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.04);
    padding-bottom: 6px;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.detail-val {
    font-weight: 700;
    color: var(--text-primary);
}

/* ==========================================================================
   OCR PREVIEW E FORMULÁRIO DE EXTRAÇÃO
   ========================================================================== */
.ocr-loading-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.loader-icon {
    font-size: 40px;
    color: var(--primary);
    animation: rotateLogo 2.5s infinite linear;
}

.scan-bar-animation {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
    box-shadow: 0 0 8px var(--primary);
    animation: scanBarMove 2s infinite ease-in-out;
}

@keyframes scanBarMove {
    0% { top: 10%; }
    50% { top: 90%; }
    100% { top: 10%; }
}

.ocr-loading-state h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.ocr-loading-state p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* RESULTADOS E SPLIT VIEW (TEMA CLARO) */
.ocr-result-state {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.warning-banner {
    background: rgba(217, 119, 6, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.15);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 11px;
    line-height: 1.4;
    color: #78350f;
}

.split-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.preview-box {
    background: var(--bg-darker);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 8px;
    max-height: 180px;
}

.preview-box img {
    max-width: 100%;
    max-height: 160px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.extracted-fields-container {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md);
    padding: 12px;
    background: #ffffff;
}

.fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.field-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-item.full-width {
    grid-column: span 2;
}

.field-item label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.field-input {
    width: 100%;
    padding: 8px 12px;
    background: var(--bg-main);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.field-input:focus {
    border-color: var(--primary);
    background: #ffffff;
}

.ocr-actions {
    margin-top: 10px;
}

/* SUCESSO E SYNC ERP (TEMA CLARO) */
.ocr-success-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px 10px;
}

.success-icon-wrapper {
    font-size: 52px;
    color: var(--success);
    filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.2));
}

.ocr-success-state h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.ocr-success-state p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.sync-report {
    width: 100%;
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.12);
}

.report-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    padding-bottom: 6px;
}

.report-label {
    color: var(--text-muted);
}

.report-value {
    font-weight: 700;
}

.report-value.highlight {
    color: var(--secondary-hover);
}

.text-green {
    color: var(--success);
    font-weight: 700;
}

.report-log-box {
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.report-log-box strong {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.report-log-box p {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    color: #065f46;
    line-height: 1.3;
}

/* ==========================================================================
   ANIMAÇÕES DIVERSAS
   ========================================================================== */
.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotateLogo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* CHECKLIST DE DOCUMENTOS */
.document-checklist {
    background: var(--bg-darker);
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.checklist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.04);
    transition: var(--transition-fast);
    cursor: pointer;
    flex-shrink: 0;
}

.checklist-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.checklist-item.active {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.02);
    box-shadow: 0 0 0 1px var(--primary);
}

.checklist-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
}

.checklist-item-info i {
    font-size: 14px;
    color: var(--text-muted);
}

.checklist-item.active .checklist-item-info i {
    color: var(--primary);
}

.checklist-status-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.checklist-status-badge.pendente {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.checklist-status-badge.enviado {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-hover);
}

.checklist-status-badge.dispensado {
    background: var(--bg-darker);
    color: var(--text-muted);
}

/* ==========================================================================
   ADAPTABILIDADE MOBILE / COMPLEMENTO RESPONSIVO
   ========================================================================== */
#mobile-container {
    display: none; /* Oculto por padrão no Desktop */
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh; /* L1 FIX: Adaptação dinâmica para Safari/Chrome iOS */
    padding: 16px;
    gap: 16px;
    z-index: 10;
    max-width: 540px; /* Limita largura em telas médias para estética premium */
    margin: 0 auto;
}

@media (max-width: 767px) {
    /* Ocultar modais e contêineres desktop */
    #cpf-modal,
    #candidate-modal,
    #migratory-modal,
    #app-container,
    .bg-gradient-shapes {
        display: none !important;
    }
    
    /* Mostrar contêiner mobile */
    #mobile-container {
        display: flex !important;
    }
    
    body {
        align-items: flex-start; /* Permite rolar tela no mobile */
        padding: 0;
        background-color: #f8fafc;
    }

    .mobile-ficha-sheet .ficha-doc-data {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .mobile-ficha-sheet .ficha-data-value {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: break-word;
    }
}

/* Telas do Mobile */
.mobile-screen {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    animation: fadeInUp 0.4s ease;
}

.mobile-screen.hidden {
    display: none !important;
}

/* Cabeçalho do Mobile */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-logo i {
    font-size: 20px;
    color: var(--primary);
}

.mobile-logo h1 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Cards e Layout do Mobile */
.mobile-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    padding: 20px;
    box-shadow: var(--glass-glow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding-bottom: 8px;
}

/* Seletor de Arquivo e Foto (Upload) */
.mobile-upload-options {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.btn-upload-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1.5px dashed var(--primary);
    background: var(--primary-glow);
    color: var(--primary-hover);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.btn-upload-option:hover {
    background: rgba(16, 185, 129, 0.18);
    transform: translateY(-1px);
}

.btn-upload-option i {
    font-size: 22px;
}

/* Botões adicionais de anexo */
.btn-upload-option.attachment {
    border-color: var(--secondary);
    background: rgba(13, 148, 136, 0.06);
    color: var(--secondary-hover);
}

.btn-upload-option.attachment:hover {
    background: rgba(13, 148, 136, 0.12);
}

/* Mobile Checklist items */
.mobile-checklist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.mobile-checklist-item.active {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.02);
    box-shadow: 0 0 0 1px var(--primary);
}

.mobile-checklist-item.dispensado {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Resumo simplificado de OCR */
.mobile-ocr-review {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-darker);
    padding: 12px;
    border-radius: var(--radius-md);
}

.mobile-ocr-review-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mobile-ocr-field-preview {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
    padding-bottom: 6px;
}

.mobile-ocr-field-preview span:first-child {
    color: var(--text-muted);
}

.mobile-ocr-field-preview span:last-child {
    font-weight: 700;
    color: var(--text-primary);
}

/* =========================================================
   PARTE 1 — OVERLAY "ANALISANDO COM IA"
   ========================================================= */

.mobile-analyzing-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: fadeIn 0.2s ease;
}

.mobile-analyzing-overlay.hidden {
    display: none !important;
}

.analyzing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.18), 0 2px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    max-width: 300px;
    width: 88%;
    text-align: center;
}

.analyzing-icon-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analyzing-brain {
    font-size: 38px;
    color: var(--primary);
    animation: logo-spin 2.5s linear infinite;
    position: relative;
    z-index: 1;
}

.analyzing-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    animation: analyzing-pulse-anim 1.6s ease-in-out infinite;
}

@keyframes analyzing-pulse-anim {
    0%, 100% { transform: scale(0.9); opacity: 0.7; }
    50%       { transform: scale(1.5); opacity: 0; }
}

.analyzing-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.analyzing-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.analyzing-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 9999px;
    overflow: hidden;
}

.analyzing-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 9999px;
    animation: analyzing-progress 1.8s ease-in-out infinite;
    width: 50%;
    transition: width 0.3s ease;
}

/* P2: Modo de progresso real — desativa animação infinita e usa width dinâmico */
.analyzing-progress-fill.deterministic {
    animation: none;
    width: 0%;
}

@keyframes analyzing-progress {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(260%); }
}

.analyzing-hint {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =========================================================
   PARTE 2 — PROGRESS HEADER E BADGE
   ========================================================= */

.mobile-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding-bottom: 10px;
}

.mobile-progress-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-progress-badge i {
    color: var(--primary);
    font-size: 14px;
}

.mobile-progress-badge.all-done i {
    color: var(--primary);
}

.mobile-ver-todos-btn {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.mobile-ver-todos-btn:hover {
    background: rgba(79, 70, 229, 0.14);
}

/* =========================================================
   PARTE 3 — BOTTOM SHEET "FICHA COMPLETA"
   ========================================================= */

.mobile-ficha-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    animation: fadeIn 0.2s ease;
}

.mobile-ficha-overlay.hidden {
    display: none !important;
}

.mobile-ficha-sheet {
    width: 100%;
    max-height: 82vh;
    max-height: 82dvh;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.18);
    animation: slideUp 0.32s cubic-bezier(0.34, 1.20, 0.64, 1);
    overflow: hidden;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.ficha-handle {
    width: 40px;
    height: 4px;
    background: rgba(15, 23, 42, 0.14);
    border-radius: 9999px;
    margin: 10px auto 4px;
    flex-shrink: 0;
}

.ficha-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
}

.ficha-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.ficha-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-fast);
}

.ficha-close-btn:hover {
    background: rgba(15, 23, 42, 0.12);
    color: var(--text-primary);
}

.ficha-progress-summary {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(16, 185, 129, 0.04);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    flex-shrink: 0;
}

.ficha-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
}

.ficha-pill.enviado {
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary-hover);
}

.ficha-pill.pendente {
    background: rgba(248, 113, 113, 0.10);
    color: #dc2626;
}

.ficha-pill.dispensado {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-muted);
}

.ficha-content {
    overflow-y: auto;
    padding: 16px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

/* Row de status de cada documento na ficha */
.ficha-doc-row {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.07);
    flex-shrink: 0;
}

.ficha-doc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}

.ficha-doc-header.enviado {
    background: rgba(16, 185, 129, 0.05);
}

.ficha-doc-header.pendente {
    background: rgba(248, 113, 113, 0.04);
}

.ficha-doc-header.dispensado {
    background: rgba(15, 23, 42, 0.03);
    opacity: 0.7;
}

.ficha-doc-info {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ficha-doc-info i {
    font-size: 15px;
    color: var(--text-muted);
    width: 18px;
    text-align: center;
}

.ficha-doc-info i.enviado { color: var(--primary); }
.ficha-doc-info i.pendente { color: #ef4444; }

.ficha-doc-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.ficha-doc-status-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.ficha-doc-status-badge.enviado {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-hover);
}

.ficha-doc-status-badge.pendente {
    background: rgba(239, 68, 68, 0.10);
    color: #dc2626;
}

.ficha-doc-status-badge.dispensado {
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-muted);
}

/* Mini-card com dados extraídos */
.ficha-doc-data {
    padding: 8px 14px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    background: #fafafa;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
}

.ficha-data-field {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ficha-data-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ficha-data-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

/* Botão CTA dentro da ficha para doc pendente */
.ficha-doc-cta {
    background: none;
    border: none;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    background: rgba(79, 70, 229, 0.04);
    border-top: 1px dashed rgba(79, 70, 229, 0.15);
    transition: var(--transition-fast);
}

.ficha-doc-cta:hover {
    background: rgba(79, 70, 229, 0.10);
}
