:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #10b981;
    --dark: #020617;
    /* Deepest blue/black */
    --dark-light: #0f172a;
    --bg-light: #0f172a;
    --bg-offset: #020617;
    --text: #f8fafc;
    --text-muted: #cbd5e1;
    /* Lighter grey for better contrast */
    --glass: rgba(15, 23, 42, 0.6);
    --border: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(30, 41, 59, 0.4);

    /* Neon & Glass Design Tokens (Refined v5.0) */
    --neon-blue: #00d2ff;
    --neon-purple: #9d50bb;
    --glass-bg: rgba(2, 6, 23, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 20px rgba(0, 210, 255, 0.3);
    --premium-gradient: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(0, 210, 255, 0.2) 100%);
}

/* Edit Fields Visibility Fix (v5.2.0) */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea {
    color: #000000 !important;
}

/* Ensure placeholders are visible but slightly muted */
::placeholder {
    color: #475569 !important;
    opacity: 0.7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-offset);
    color: var(--text);
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 210, 255, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 3rem;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.logo span {
    display: none;
}

.btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.btn-login:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Upload Area */
.upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.drop-zone {
    background: var(--glass);
    border: 2px dashed var(--glass-border);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.drop-zone.dragover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    transform: scale(1.02);
}

.drop-zone-content i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: block;
}

.drop-zone h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.drop-zone p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-select {
    background: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-select:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

#fileInput {
    display: none;
}

/* Progress & Status */
.upload-status {
    margin-top: 2rem;
    display: none;
}

.progress-bar-container {
    background: var(--dark-light);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.3s ease;
}

.status-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.feature-card {
    background: var(--glass);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Dashboard Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    min-height: calc(100vh - 100px);
}

.sidebar {
    background: var(--glass);
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    height: fit-content;
    backdrop-filter: blur(15px);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.nav-item.active,
.nav-item:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.main-content {
    background: var(--glass);
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: var(--neon-glow);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.5rem 0;
    background: linear-gradient(to right, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    color: var(--text);
    font-size: 0.9rem;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-high {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-medium {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.badge-low {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.action-btn:hover {
    color: var(--primary);
}

/* Pagination & Counters (v3.88) */
.pagination-container button {
    background: var(--dark-light);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
    font-weight: 500;
}

.pagination-container button:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-container button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tab-btn span {
    transition: background 0.3s;
}

.tab-btn:hover span {
    background: rgba(79, 70, 229, 0.2) !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* Modal Especial v5.3.1 (ELITE) - Borda Laser Precision */
.modal-content {
    background: transparent;
    /* Fundo agora é gerado pelo pseudo-elemento */
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 1.25rem;
    position: relative;
    padding: 2.5rem;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: none;
    overflow: hidden;
    /* Mantém o laser dentro do raio da borda */
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Área de Rolagem Interna (Resolve o problema de não ver os dados) */
.modal-content>div:not(.close-modal) {
    overflow-y: auto;
    max-height: calc(90vh - 5rem);
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-blue) transparent;
}

.modal-content>div:not(.close-modal)::-webkit-scrollbar {
    width: 4px;
}

.modal-content>div:not(.close-modal)::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 10px;
}

/* O fundo do modal (Ocupa o centro, impedindo o laser de aparecer no meio) */
.modal-content::before {
    content: '';
    position: absolute;
    inset: 2px;
    /* Deixa 2px para a borda laser */
    background: var(--bg-light);
    border-radius: 1.15rem;
    z-index: -1;
    /* Fica acima do laser */
}

/* O Laser Animado (Fica atrás de tudo, visível apenas na fresta de 2px) */
.modal-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0%,
            transparent 20%,
            var(--neon-blue) 25%,
            var(--neon-purple) 30%,
            var(--neon-blue) 35%,
            transparent 40%,
            transparent 100%);
    animation: rotate-laser 3s linear infinite;
    z-index: -2;
    /* Fica atrás do background principal */
}

@keyframes rotate-laser {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Modal Especial para o Dossiê (v4.4) */
#dossierModal .modal-content {
    max-width: 1200px;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }
}

/* Resume Details Modal Styles */
.analysis-grid {
    display: grid;
    gap: 2rem;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.candidate-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.score-display {
    text-align: center;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    border: 4px solid currentColor;
    background: rgba(255, 255, 255, 0.05);
}

.score-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.score-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1rem 0;
}

.section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neon-blue);
}

.section-title i {
    opacity: 0.8;
}

.text-content {
    line-height: 1.7;
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border);
}

.timeline-item {
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--dark);
    transform: translateX(-50%);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.company-name {
    color: var(--primary);
    font-weight: 500;
}

.date-range {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Grid Layaout */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* List & Tags */
.list-none {
    list-style: none;
}

.edu-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.edu-school {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(79, 70, 229, 0.1);
    color: #a5b4fc;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* Insights */
.insights-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.insight-item {
    margin-bottom: 1rem;
}

.insight-item:last-child {
    margin-bottom: 0;
}

.success-text {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.warning-text {
    color: #f59e0b;
    margin-right: 0.5rem;
}

@media (max-width: 600px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        justify-content: center;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* Modal de Duplicata */
/* ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.duplicate-modal {
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTPS table rows compact style */
.ctps-table tr.hover-row td {
    padding: 0.75rem 1rem;
}

.duplicate-modal .modal-header {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.duplicate-modal .modal-header i {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    color: #f59e0b;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.duplicate-modal .modal-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 700;
}

.duplicate-modal .modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.duplicate-modal .modal-body p {
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.6;
}

.duplicate-modal .modal-body p strong {
    color: var(--primary);
}

.existing-doc-info {
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
}

.existing-doc-info h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.existing-doc-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.existing-doc-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.existing-doc-info li:last-child {
    border-bottom: none;
}

.existing-doc-info li strong {
    color: var(--text);
    font-weight: 600;
    margin-right: 0.5rem;
}

.question {
    font-weight: 600;
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.modal-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border);
}

.btn-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 0.5rem;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
}

.btn-action i {
    font-size: 1.2rem;
}

.btn-hint {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
}

.btn-replace:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-replace:hover i {
    color: #3b82f6;
}

.btn-keep-both:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-keep-both:hover i {
    color: #10b981;
}

.btn-cancel:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-cancel:hover i {
    color: #ef4444;
}

@media (max-width: 600px) {
    .modal-actions {
        grid-template-columns: 1fr;
    }

    .duplicate-modal {
        width: 95%;
    }
}

/* Dossier Premium v4.0 */
.dossier-premium {
    padding: 1.5rem;
}

.score-gauge-container {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 auto 2rem;
}

.dossier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.dossier-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.verified-badge {
    background: #3b82f6;
    color: white;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 0.7rem;
    vertical-align: middle;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.check-item.success i {
    color: #10b981;
}

.check-item.warning i {
    color: #f59e0b;
}

.check-item.danger i {
    color: #ef4444;
}

.timeline-cv {
    border-left: 2px solid var(--primary);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-cv::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

@media (max-width: 1024px) {
    .dossier-grid {
        grid-template-columns: 1fr;
    }
}

/* Melhoria Global de Botões */
.btn-select,
.btn-secondary,
.btn-danger {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 0.9rem;
}

.btn-select {
    background: var(--primary);
    color: white;
}

.btn-select:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
}

/* Badges de Status do Candidato (v4.0) */
.status-pendente {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.status-entrevista {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-aprovado {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-reprovado {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Avatar Harmonioso (v4.0) */
.candidate-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glassmorphism Components (v4.4) */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glow-text {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.score-gauge-container {
    position: relative;
    width: 200px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-arc {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
}

.score-value-big {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-top: 10px;
}

.score-label-sub {
    font-size: 0.8rem;
    color: var(--neon-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Premium Timeline (v4.4) */
.premium-timeline {
    position: relative;
    padding-left: 2rem;
}

.premium-timeline::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--neon-blue));
}

.timeline-node {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-blue);
    z-index: 2;
}

.cnh-preview-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
    aspect-ratio: 3/2;
}

.status-floating-tags {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.match-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.match-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--secondary));
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Dossier Grid Modernization */
.dossier-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .dossier-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* Modal Helper Classes (v4.6) */
/* Dossier Premium v5.0 Refined */
.dossier-layout-3col {
    display: grid;
    grid-template-columns: 320px 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.profile-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.dossier-avatar-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid var(--neon-blue);
    padding: 5px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.3);
    position: relative;
}

.dossier-avatar-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.dossier-avatar-large::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 210, 255, 0.2);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

.glass-card-premium {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.glass-card-premium:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-2px);
}

.premium-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--neon-blue) transparent;
}

.premium-scroll::-webkit-scrollbar {
    width: 4px;
}

.premium-scroll::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 10px;
}

@media (max-width: 1200px) {
    .dossier-layout-3col {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}