/*-------------------------------
	Portal do Candidato (cv_portal.php)
	prefixo: mnt_cvp_  | bootstrap 4.5.0 + font-awesome 4
 ------------------------------*/

/* custom.css aplica box-sizing: content-box em tudo -> quebra o form-control do bootstrap. Corrige só dentro do portal */
.mnt_cvp, .mnt_cvp *, .mnt_cvp *:before, .mnt_cvp *:after { box-sizing: border-box; }

.mnt_cvp { color: #46484E; margin-bottom: 40px; }
.mnt_cvp h3, .mnt_cvp h4, .mnt_cvp h5 { font-weight: 700; }
.mnt_cvp .text-mnt { color: #1e73be; }
.mnt_cvp .bg-soft { background: #F1F4F7; }

/* ---------- jornada (stepper 1-7) ---------- */
.mnt_cvp_journey { display: flex; justify-content: space-between; position: relative; margin: 25px 0 10px; padding: 0; list-style: none; }
.mnt_cvp_journey:before { content: ''; position: absolute; top: 18px; left: 4%; right: 4%; height: 4px; background: #DCE0E3; z-index: 0; }
.mnt_cvp_journey .mnt_cvp_journey_bar { position: absolute; top: 18px; left: 4%; height: 4px; background: #1e73be; z-index: 1; transition: width .6s ease; }
.mnt_cvp_journey li { flex: 1; text-align: center; position: relative; z-index: 2; cursor: pointer; }
.mnt_cvp_journey li span.dot { display: inline-block; width: 40px; height: 40px; line-height: 36px; border-radius: 50%; background: #fff; border: 3px solid #DCE0E3; color: #A4AEB9; font-weight: 700; transition: all .3s; }
.mnt_cvp_journey li small { display: block; margin-top: 6px; font-size: 12px; color: #656870; line-height: 14px; }
.mnt_cvp_journey li.done span.dot { background: #1e73be; border-color: #1e73be; color: #fff; }
.mnt_cvp_journey li.current span.dot { border-color: #ff9900; color: #ff9900; box-shadow: 0 0 0 5px rgba(255,153,0,.15); }
@media (max-width: 767px) {
	.mnt_cvp_journey li small { display: none; }
	.mnt_cvp_journey li span.dot { width: 32px; height: 32px; line-height: 28px; font-size: 13px; }
	.mnt_cvp_journey:before, .mnt_cvp_journey .mnt_cvp_journey_bar { top: 14px; }
}

/* ---------- navegação principal ---------- */
.mnt_cvp_mainnav { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; border-bottom: 3px solid #1e73be; -webkit-overflow-scrolling: touch; }
.mnt_cvp_mainnav .nav-link { white-space: nowrap; color: #656870; font-weight: 700; font-size: 13px; text-transform: uppercase; border-radius: 0; border: 0; padding: 12px 16px; }
.mnt_cvp_mainnav .nav-link i { margin-right: 5px; }
.mnt_cvp_mainnav .nav-link:hover { color: #1e73be; }
.mnt_cvp_mainnav .nav-link.active { background: #1e73be !important; color: #fff !important; }
.mnt_cvp_pane { padding-top: 25px; }

/* ---------- cards ---------- */
.mnt_cvp_card { background: #fff; border: 1px solid #e0e0e0; border-bottom: 4px solid #e9e9e9; padding: 20px; margin-bottom: 20px; height: calc(100% - 20px); }
.mnt_cvp_card h5 { margin-top: 0; }
.mnt_cvp_kpi { font-size: 34px; font-weight: 700; color: #1e73be; line-height: 40px; }
.mnt_cvp_next { background: #1e73be; color: #fff; padding: 22px; margin-bottom: 20px; }
.mnt_cvp_next h4 { margin: 0 0 6px; }
.mnt_cvp_next .btn { font-weight: 700; }

/* ---------- botões no padrão mnt ---------- */
.mnt_cvp .btn-mnt { background: #1e73be; color: #fff; border: 0; border-radius: 0; font-weight: 700; font-size: 13px; padding: 9px 18px; }
.mnt_cvp .btn-mnt:hover { background: #5B5E65; color: #fff; }
.mnt_cvp .btn-mnt-org { background: #ff9900; color: #fff; border: 0; border-radius: 0; font-weight: 700; font-size: 13px; padding: 9px 18px; }
.mnt_cvp .btn-mnt-org:hover { background: #46484E; color: #fff; }
.mnt_cvp .btn-mnt-line { background: transparent; color: #1e73be; border: 2px solid #1e73be; border-radius: 0; font-weight: 700; font-size: 13px; padding: 7px 16px; }
.mnt_cvp .btn-mnt-line:hover { background: #1e73be; color: #fff; }
.mnt_cvp .form-control { border-radius: 0; border-color: #ccd2d8; }
.mnt_cvp .form-control:focus { border-color: #1e73be; box-shadow: 0 0 0 .15rem rgba(30,115,190,.2); }
.mnt_cvp label { font-weight: 600; font-size: 13px; margin-bottom: 3px; }

/* ---------- onboarding (1 pergunta por tela) ---------- */
.mnt_cvp_onb { max-width: 720px; margin: 0 auto; }
.mnt_cvp_onb_progress { height: 6px; background: #DCE0E3; margin-bottom: 25px; }
.mnt_cvp_onb_progress div { height: 6px; background: #ff9900; width: 0; transition: width .4s ease; }
.mnt_cvp_onb_step { display: none; animation: mntCvpFadeIn .35s ease; }
.mnt_cvp_onb_step.active { display: block; }
.mnt_cvp_onb_step h3 { font-size: 24px; margin-bottom: 4px; }
.mnt_cvp_onb_step p.lead { font-size: 15px; color: #656870; margin-bottom: 20px; }
.mnt_cvp_chips { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.mnt_cvp_chip { flex: 1 1 calc(50% - 10px); margin: 5px; padding: 14px 16px; border: 2px solid #DCE0E3; background: #fff; cursor: pointer; text-align: left; font-weight: 600; transition: all .2s; user-select: none; }
.mnt_cvp_chip i { font-size: 20px; width: 28px; color: #A4AEB9; vertical-align: middle; }
.mnt_cvp_chip:hover { border-color: #1e73be; }
.mnt_cvp_chip.selected { border-color: #1e73be; background: #e8f1fa; color: #1e73be; }
.mnt_cvp_chip.selected i { color: #1e73be; }
@media (min-width: 768px) { .mnt_cvp_chip { flex: 1 1 calc(33.33% - 10px); } }
.mnt_cvp_onb_done { text-align: center; padding: 30px 10px; }
.mnt_cvp_onb_done i.fa-trophy { font-size: 64px; color: #ff9900; }
@keyframes mntCvpFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- perfil público ---------- */
.mnt_cvp_url { display: flex; align-items: stretch; }
.mnt_cvp_url span { background: #F1F4F7; border: 1px solid #ccd2d8; border-right: 0; padding: 7px 10px; font-size: 13px; white-space: nowrap; }
.mnt_cvp_profile_card { border: 1px solid #e0e0e0; }
.mnt_cvp_profile_card .cover { height: 80px; background: linear-gradient(90deg, #1e73be, #18ADB5); }
.mnt_cvp_profile_card .avatar { width: 90px; height: 90px; border-radius: 50%; border: 4px solid #fff; margin: -45px auto 0; display: block; background: #DCE0E3; object-fit: cover; }
.mnt_cvp_soon { font-size: 10px; text-transform: uppercase; background: #ff9900; color: #fff; padding: 2px 6px; font-weight: 700; vertical-align: middle; }

/* ---------- upload ---------- */
.mnt_cvp_drop { border: 3px dashed #A4AEB9; background: #F1F4F7; padding: 40px 20px; text-align: center; cursor: pointer; transition: all .2s; }
.mnt_cvp_drop.dragover { border-color: #1e73be; background: #e8f1fa; }
.mnt_cvp_drop i { font-size: 48px; color: #1e73be; }
.mnt_cvp_filelist .list-group-item { border-radius: 0; }

/* ---------- editor de CV ---------- */
.mnt_cvp_cvtabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; }
.mnt_cvp_cvtabs .nav-link { white-space: nowrap; border-radius: 0; font-size: 12px; font-weight: 700; color: #656870; background: #F1F4F7; margin-right: 3px; padding: 8px 12px; }
.mnt_cvp_cvtabs .nav-link.active { background: #1e73be; color: #fff; }
.mnt_cvp_cvtabs .nav-link .fa-check-circle { color: #6C0; display: none; }
.mnt_cvp_cvtabs .nav-link.filled .fa-check-circle { display: inline; }
.mnt_cvp_cvtabs .nav-link.active .fa-check-circle { color: #fff; }
.mnt_cvp_form { background: #fff; border: 1px solid #e0e0e0; padding: 20px; }
.mnt_cvp_repeat_item { border: 1px solid #e0e0e0; border-left: 4px solid #1e73be; padding: 15px 15px 5px; margin-bottom: 12px; position: relative; background: #fcfcfc; }
.mnt_cvp_repeat_item .mnt_cvp_remove { position: absolute; right: 8px; top: 6px; color: #c00; cursor: pointer; }
.mnt_cvp_tabfoot { border-top: 1px solid #eee; margin-top: 15px; padding-top: 15px; display: flex; justify-content: space-between; }

/* preview ao vivo: lateral no PC, abaixo no celular */
.mnt_cvp_preview_wrap { position: sticky; top: 80px; }
.mnt_cvp_preview_bar { background: #46484E; color: #fff; padding: 8px 12px; font-size: 12px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.mnt_cvp_preview { background: #fff; border: 1px solid #ccc; padding: 28px; min-height: 600px; max-height: 80vh; overflow-y: auto; font-size: 12px; line-height: 17px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.mnt_cvp_preview .pv_head { display: flex; align-items: center; border-bottom: 3px solid #1e73be; padding-bottom: 12px; margin-bottom: 12px; }
.mnt_cvp_preview .pv_head img { width: 72px; height: 72px; object-fit: cover; margin-right: 14px; border-radius: 50%; }
.mnt_cvp_preview .pv_name { font-size: 22px; font-weight: 700; color: #1e73be; line-height: 26px; }
.mnt_cvp_preview .pv_role { font-size: 13px; font-weight: 600; color: #656870; }
.mnt_cvp_preview .pv_contact { font-size: 11px; color: #656870; }
.mnt_cvp_preview h6 { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #1e73be; border-bottom: 1px solid #DCE0E3; padding-bottom: 3px; margin: 14px 0 6px; }
.mnt_cvp_preview .pv_item { margin-bottom: 7px; }
.mnt_cvp_preview .pv_item b { color: #46484E; }
.mnt_cvp_preview .pv_empty { color: #bbb; font-style: italic; }
.mnt_cvp_preview .pv_tag { display: inline-block; background: #F1F4F7; padding: 1px 7px; margin: 0 3px 3px 0; }
@media (max-width: 991px) {
	.mnt_cvp_preview_wrap { position: static; margin-top: 20px; }
	.mnt_cvp_preview { max-height: none; min-height: 300px; }
}

/* ---------- pré-análise ---------- */
.mnt_cvp_score { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 700; color: #fff; background: #A4AEB9; transition: background .4s; }
.mnt_cvp_check li { list-style: none; padding: 10px 0; border-bottom: 1px solid #eee; }
.mnt_cvp_check li i { width: 22px; }
.mnt_cvp_check li small { display: block; margin-left: 22px; color: #656870; }
.mnt_cvp_check { padding: 0; }

/* ---------- ferramentas ---------- */
.mnt_cvp_tool { text-align: center; }
.mnt_cvp_tool i.ico { color: #fff; background: #1e73be; border: 6px solid #e9e9e9; font-size: 24px; line-height: 52px; width: 64px; height: 64px; display: inline-block; border-radius: 50%; transition: all .4s; }
.mnt_cvp_tool:hover i.ico { background: #ff9900; transform: rotate(360deg); }
.mnt_cvp_tool h6 { font-weight: 700; margin: 10px 0 4px; }
.mnt_cvp_tool p { font-size: 12px; color: #656870; min-height: 34px; margin-bottom: 8px; }
.mnt_cvp_badge { font-size: 10px; text-transform: uppercase; font-weight: 700; padding: 2px 7px; color: #fff; }
.mnt_cvp_badge.free { background: #6C0; }
.mnt_cvp_badge.paid { background: #1e73be; }
.mnt_cvp_badge.soon { background: #A4AEB9; }
.mnt_cvp_toolcat { border-left: 5px solid #ff9900; padding-left: 10px; margin: 10px 0 15px; }

/* toast de salvamento */
.mnt_cvp_toast { position: fixed; right: 20px; bottom: 20px; background: #46484E; color: #fff; padding: 12px 18px; z-index: 9999; display: none; font-weight: 600; }

/*-------------------------------
	Perfil público (cv_publico.php) - prefixo mnt_cvpub_
 ------------------------------*/
.mnt_cvpub_hero { background: #fff; border: 1px solid #e0e0e0; border-bottom: 4px solid #e9e9e9; }
.mnt_cvpub_hero .cover { height: 130px; background: linear-gradient(90deg, #1e73be, #18ADB5); }
.mnt_cvpub_hero .body { padding: 0 25px 22px; }
.mnt_cvpub_hero .avatar { width: 140px; height: 140px; border-radius: 50%; border: 5px solid #fff; margin-top: -70px; object-fit: cover; background: #DCE0E3; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.mnt_cvpub_hero .avatar_ini { display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 700; color: #fff; background: #A4AEB9; }
.mnt_cvpub_hero .info { padding: 12px 0 0 20px; }
.mnt_cvpub_hero h1 { font-size: 28px; font-weight: 700; margin: 0; color: #46484E; }
.mnt_cvpub_hero .role { font-size: 17px; font-weight: 600; color: #1e73be; }
.mnt_cvpub_hero .meta span { display: inline-block; margin-right: 15px; font-size: 13px; color: #656870; }
.mnt_cvpub_open { display: inline-block; margin-top: 8px; background: #e9f7df; color: #3c8d00; font-weight: 700; font-size: 12px; padding: 3px 10px; }
.mnt_cvpub_hero .actions .btn { width: 38px; padding-left: 0; padding-right: 0; }
.mnt_cvpub_box { background: #fff; border: 1px solid #e0e0e0; padding: 20px; margin-bottom: 20px; }
.mnt_cvpub_box h5 { font-weight: 700; font-size: 15px; text-transform: uppercase; color: #1e73be; border-bottom: 1px solid #DCE0E3; padding-bottom: 8px; margin-bottom: 14px; }
.mnt_cvpub_timeline { list-style: none; padding: 0 0 0 18px; margin: 0; border-left: 3px solid #DCE0E3; }
.mnt_cvpub_timeline li { position: relative; padding-bottom: 16px; }
.mnt_cvpub_timeline li:before { content: ''; position: absolute; left: -26px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: #1e73be; border: 3px solid #fff; box-shadow: 0 0 0 1px #1e73be; }
.mnt_cvpub_timeline li .sub { font-size: 13px; }
.mnt_cvpub_timeline li p { font-size: 13px; margin: 6px 0 0; color: #565a61; }
.mnt_cvpub_line { padding: 5px 0; font-size: 14px; }
.mnt_cvpub_line i { width: 20px; }
.mnt_cvpub_tag { display: inline-block; background: #F1F4F7; border: 1px solid #DCE0E3; padding: 3px 10px; margin: 0 5px 6px 0; font-size: 13px; }
@media (max-width: 767px) {
	.mnt_cvpub_hero .body { text-align: center; }
	.mnt_cvpub_hero .avatar { margin: -70px auto 0; display: block; }
	.mnt_cvpub_hero .info { padding-left: 0; }
}

/* impressão (plano B do PDF): só o currículo */
@media print {
	body * { visibility: hidden; }
	#cvp_preview, #cvp_preview * { visibility: visible; }
	#cvp_preview { position: absolute; left: 0; top: 0; width: 100%; max-height: none; border: 0; box-shadow: none; }
}

/*-------------------------------
	Selo e bloco ATS Ready
 ------------------------------*/
.mnt_cvp_ats_seal { display: flex; align-items: center; background: #F1F4F7; border: 1px solid #DCE0E3; border-top: 0; padding: 8px 12px; text-decoration: none !important; color: #656870; transition: all .3s; }
.mnt_cvp_ats_seal .seal_ico { width: 34px; height: 34px; border-radius: 50%; background: #A4AEB9; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-right: 10px; flex-shrink: 0; transition: background .3s; }
.mnt_cvp_ats_seal .seal_txt { flex-grow: 1; line-height: 15px; }
.mnt_cvp_ats_seal .seal_txt b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.mnt_cvp_ats_seal .seal_txt small { font-size: 11px; }
.mnt_cvp_ats_seal .seal_help { color: #A4AEB9; font-size: 16px; }
.mnt_cvp_ats_seal.ready { background: #e9f7df; border-color: #b8e09a; color: #2f6f00; }
.mnt_cvp_ats_seal.ready .seal_ico { background: #6C0; animation: mntCvpPulse 2.2s ease-in-out infinite; }
@keyframes mntCvpPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(102,204,0,.45); } 50% { box-shadow: 0 0 0 7px rgba(102,204,0,0); } }

.mnt_cvp_ats_block { margin-top: 30px; background: linear-gradient(135deg, #1e73be 0%, #155a96 100%); color: #fff; padding: 30px; position: relative; overflow: hidden; }
.mnt_cvp_ats_block:after { content: '\f132'; font-family: FontAwesome; position: absolute; right: -30px; bottom: -60px; font-size: 260px; opacity: .06; }
.mnt_cvp_ats_block h4 { font-weight: 700; color: #fff; }
.mnt_cvp_ats_block h5 { font-size: 15px; font-weight: 700; color: #ffd28a; margin: 18px 0 8px; }
.mnt_cvp_ats_block h5:first-child { margin-top: 0; }
.mnt_cvp_ats_block p { font-size: 14px; line-height: 21px; margin-bottom: 0; }
.mnt_cvp_ats_block .ats_badge_big { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto; background: #fff; color: #1e73be; border: 6px solid #6C0; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.mnt_cvp_ats_block .ats_badge_big i { font-size: 34px; color: #6C0; }
.mnt_cvp_ats_block .ats_badge_big span { font-weight: 800; font-size: 17px; line-height: 18px; margin-top: 4px; }
.mnt_cvp_ats_block .ats_steps { padding-left: 20px; font-size: 14px; margin: 0; }
.mnt_cvp_ats_block .ats_steps li { margin-bottom: 4px; }
.mnt_cvp_ats_block .ats_list { list-style: none; padding: 0; margin: 0; }
.mnt_cvp_ats_block .ats_list li { padding: 3px 0 3px 22px; position: relative; }
.mnt_cvp_ats_block .ats_list li:before { content: '\f00c'; font-family: FontAwesome; position: absolute; left: 0; color: #9be15d; }
.mnt_cvp_ats_block .ats_care { display: flex; background: rgba(255,255,255,.12); border-left: 4px solid #ff9900; padding: 14px 16px; margin-top: 18px; font-size: 14px; line-height: 20px; }
.mnt_cvp_ats_block .ats_care i { font-size: 22px; color: #ff9900; margin-right: 12px; margin-top: 2px; }
.mnt_cvp_ats_block .ats_pending { background: #fff; color: #46484E; padding: 12px 16px; margin-top: 15px; font-size: 13px; }
.mnt_cvp_ats_block .ats_pending ul { margin: 5px 0 0; padding-left: 18px; }

/* recuo lateral do conteúdo em relação ao cabeçalho "PAINEL CANDIDATO" */
@media (min-width: 992px) { .mnt_cvp { padding-left: 30px; padding-right: 30px; } }
@media (min-width: 768px) and (max-width: 991px) { .mnt_cvp { padding-left: 15px; padding-right: 15px; } }

/* bloco de conclusão do cadastro (última aba) */
.mnt_cvp_finish { background: #1e73be; color: #fff; padding: 18px 20px; margin-top: 20px; }
.mnt_cvp_finish > div > i { font-size: 30px; color: #ffd28a; margin-right: 14px; }
.mnt_cvp_finish h5 { color: #fff; font-weight: 700; }
.mnt_cvp_finish_btns .btn { border-radius: 0; font-weight: 700; font-size: 13px; margin: 6px 6px 0 0; }

/* CV isolado no modal */
.mnt_cvp_preview_full { max-height: none !important; min-height: 0; max-width: 794px; margin: 0 auto; font-size: 13px; line-height: 19px; padding: 40px; }

/* opções de endereço do perfil público */
.mnt_cvp_slugbox { background: #F1F4F7; padding: 12px; }
.mnt_cvp_slugs { display: flex; flex-wrap: wrap; }
.mnt_cvp_slugchip { display: inline-block; background: #fff; border: 2px solid #DCE0E3; padding: 5px 10px; margin: 0 6px 6px 0; font-size: 13px; font-weight: 600; cursor: pointer; font-family: Consolas, Menlo, monospace; transition: all .2s; }
.mnt_cvp_slugchip i { color: #6C0; }
.mnt_cvp_slugchip small { font-family: inherit; color: #A4AEB9; font-weight: 400; margin-left: 3px; }
.mnt_cvp_slugchip:hover { border-color: #1e73be; }
.mnt_cvp_slugchip.selected { border-color: #1e73be; background: #e8f1fa; color: #1e73be; }
.mnt_cvp_slugchip.taken { color: #bbb; text-decoration: line-through; cursor: not-allowed; }
.mnt_cvp_slugchip.taken i { color: #c0392b; }
