/* CSS — Gestão de Currículos (Dark Mode Glassmorphism — Opção 1 Neon Outline Pills) */

/* Fix browser autofill background on dark inputs */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0f172a inset !important;
    -webkit-text-fill-color: #f8fafc !important;
    transition: background-color 5000s ease-in-out 0s;
}

:root {
    --bg-main: #090d16;
    --card-bg: rgba(17, 24, 39, 0.85);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --radius: 20px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: #090d16 !important;
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
    min-height: 100vh;
}

body {
    background-image: 
        radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.18) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.14) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(59, 130, 246, 0.10) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Header Navbar */
.navbar {
    background-color: rgba(9, 13, 22, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hub-nav-pill {
    background: rgba(139, 92, 246, 0.15);
    border: 1.5px solid #8b5cf6;
    color: #c084fc;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hub-nav-pill:hover {
    background: #8b5cf6;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 1.25rem;
}

/* Cards & Glassmorphism */
.card {
    background-color: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    color: var(--text-color);
}

.card-header {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.form-control, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1.5px solid #334155;
    border-radius: 12px;
    background-color: #0f172a;
    color: #f8fafc;
    transition: all 0.2s ease;
    appearance: auto;
    -webkit-appearance: auto;
}

/* Dropdown options — forçar fundo escuro no menu nativo */
.form-select option,
select option {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 8px 12px;
}

.form-select option:hover,
select option:hover,
.form-select option:checked,
select option:checked {
    background-color: #1e293b;
    color: #c084fc;
}

.form-control::placeholder {
    color: #64748b;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
    background-color: #0f172a;
}

/* ========================================================
   OPÇÃO 1: SISTEMA PADRÃO DE BOTÕES NEON OUTLINE PILLS (SEM EMOJIS)
   ======================================================== */

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1.5px solid transparent;
}

.btn-pill:hover {
    transform: translateY(-1px);
}

.btn-pill:active {
    transform: translateY(0);
}

/* Green Neon Glow (Personalizar) */
.btn-pill-green {
    background: rgba(16, 185, 129, 0.12);
    border-color: #10b981;
    color: #34d399;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}
.btn-pill-green:hover {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

/* Purple Neon Glow (Criar Novo / Destaque) */
.btn-pill-purple {
    background: rgba(139, 92, 246, 0.12);
    border-color: #8b5cf6;
    color: #c084fc;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}
.btn-pill-purple:hover {
    background: #8b5cf6;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

/* Cyan Neon Glow (Início) */
.btn-pill-cyan {
    background: rgba(6, 182, 212, 0.12);
    border-color: #06b6d4;
    color: #22d3ee;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}
.btn-pill-cyan:hover {
    background: #06b6d4;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

/* Blue Neon Glow (DOCX) */
.btn-pill-blue {
    background: rgba(59, 130, 246, 0.12);
    border-color: #3b82f6;
    color: #60a5fa;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}
.btn-pill-blue:hover {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Red Neon Glow (PDF / Excluir) */
.btn-pill-red {
    background: rgba(239, 68, 68, 0.12);
    border-color: #ef4444;
    color: #f87171;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}
.btn-pill-red:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

/* Amber Neon Glow (Editar) */
.btn-pill-amber {
    background: rgba(245, 158, 11, 0.12);
    border-color: #f59e0b;
    color: #fbbf24;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}
.btn-pill-amber:hover {
    background: #f59e0b;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

/* Slate Secondary Glow (Voltar / Imprimir / Ver) */
.btn-pill-slate {
    background: rgba(51, 65, 85, 0.3);
    border-color: #475569;
    color: #cbd5e1;
}
.btn-pill-slate:hover {
    background: #475569;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(71, 85, 105, 0.4);
}

/* Compatibility classes for legacy buttons in vanilla CSS */
.btn-outline-glow-pdf {
    display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; text-decoration: none; border-radius: 50px; cursor: pointer; transition: all 0.2s ease; border: 1.5px solid #ef4444; background: rgba(239, 68, 68, 0.12); color: #f87171; box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}
.btn-outline-glow-pdf:hover { background: #ef4444; color: #ffffff; box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); }

.btn-outline-glow-docx {
    display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; text-decoration: none; border-radius: 50px; cursor: pointer; transition: all 0.2s ease; border: 1.5px solid #3b82f6; background: rgba(59, 130, 246, 0.12); color: #60a5fa; box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}
.btn-outline-glow-docx:hover { background: #3b82f6; color: #ffffff; box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }

.btn-outline-glow-edit {
    display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; text-decoration: none; border-radius: 50px; cursor: pointer; transition: all 0.2s ease; border: 1.5px solid #f59e0b; background: rgba(245, 158, 11, 0.12); color: #fbbf24; box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}
.btn-outline-glow-edit:hover { background: #f59e0b; color: #ffffff; box-shadow: 0 0 20px rgba(245, 158, 11, 0.6); }

.btn-outline-glow-del {
    display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; text-decoration: none; border-radius: 50px; cursor: pointer; transition: all 0.2s ease; border: 1.5px solid #ef4444; background: rgba(239, 68, 68, 0.12); color: #f87171; box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}
.btn-outline-glow-del:hover { background: #ef4444; color: #ffffff; box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); }

.btn-outline-glow-dark {
    display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; text-decoration: none; border-radius: 50px; cursor: pointer; transition: all 0.2s ease; border: 1.5px solid #475569; background: rgba(51, 65, 85, 0.3); color: #cbd5e1;
}
.btn-outline-glow-dark:hover { background: #475569; color: #ffffff; box-shadow: 0 0 14px rgba(71, 85, 105, 0.4); }

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    color: #e2e8f0;
}

.table th, .table td {
    padding: 0.8rem 0.85rem;
    border-bottom: 1px solid #1e293b;
    vertical-align: middle;
}

.table th {
    background-color: rgba(30, 41, 59, 0.7);
    color: #cbd5e1;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.table tbody tr:hover {
    background-color: rgba(30, 41, 59, 0.4);
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 0.35em 0.8em;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.3px;
}
.badge-success { background-color: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }
.badge-danger { background-color: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-warning { background-color: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-info { background-color: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }

/* Alert Box */
.alert {
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
}
.alert-danger { background-color: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.alert-info { background-color: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }

/* Grid / Flex helpers */
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
