/* IBRADIM - Vagas e Currículos */
.ibrvc { --ibrvc-cor: #F7941E; --ibrvc-texto: #4a4a4c; --ibrvc-borda: #e2e2e4; color: var(--ibrvc-texto); }
.ibrvc *, .ibrvc *::before, .ibrvc *::after { box-sizing: border-box; }

.ibrvc-alert { padding: 14px 18px; border-radius: 6px; margin: 0 0 20px; font-weight: 500; }
.ibrvc-ok { background: #e6f4ea; color: #1e6b33; border: 1px solid #b7dfc3; }
.ibrvc-erro { background: #fbeaea; color: #9b1c1c; border: 1px solid #f1c0c0; }
.ibrvc-info { background: #fff6e8; color: #7a4a00; border: 1px solid #f6d7a8; }

.ibrvc-btn { display: inline-block; background: var(--ibrvc-cor); color: #fff !important; border: 0; border-radius: 4px; padding: 10px 20px; font-weight: 600; text-decoration: none !important; cursor: pointer; line-height: 1.3; }
.ibrvc-btn:hover { filter: brightness(.93); }
.ibrvc-btn-lg { padding: 14px 32px; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; }

/* Filtro */
.ibrvc-filtro { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ibrvc-filtro input[type=search] { flex: 1 1 260px; }
.ibrvc-filtro input, .ibrvc-filtro select, .ibrvc-filtro button { padding: 10px 12px; border: 1px solid var(--ibrvc-borda); border-radius: 4px; font-size: 15px; }
.ibrvc-filtro button { background: var(--ibrvc-cor); color: #fff; border-color: var(--ibrvc-cor); cursor: pointer; font-weight: 600; }

/* Cards */
.ibrvc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.ibrvc-card { border: 1px solid var(--ibrvc-borda); border-radius: 8px; padding: 20px; background: #fff; display: flex; flex-direction: column; }
.ibrvc-card h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.3; }
.ibrvc-card h3 a { color: inherit; text-decoration: none; }
.ibrvc-card h3 a:hover { color: var(--ibrvc-cor); }
.ibrvc-empresa { font-weight: 600; color: #777; margin-bottom: 10px; }
.ibrvc-card p { flex: 1; font-size: 15px; margin: 10px 0 16px; }
.ibrvc-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ibrvc-tags li { background: #fff3e3; color: #9a5a05; font-size: 13px; padding: 3px 10px; border-radius: 20px; margin: 0; }
.ibrvc-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #888; }
.ibrvc-vazio { padding: 30px; text-align: center; background: #fafafa; border-radius: 8px; }
.ibrvc-pag { display: flex; gap: 6px; justify-content: center; margin: 24px 0; }
.ibrvc-pag a { padding: 6px 12px; border: 1px solid var(--ibrvc-borda); border-radius: 4px; text-decoration: none; color: inherit; }
.ibrvc-pag a.atual { background: var(--ibrvc-cor); color: #fff; border-color: var(--ibrvc-cor); }

/* Detalhe */
.ibrvc-info { list-style: none; padding: 16px 20px; margin: 0 0 24px; background: #fafafa; border-left: 4px solid var(--ibrvc-cor); border-radius: 4px; }
.ibrvc-info li { margin: 4px 0; }

/* Formulário */
.ibrvc-form { margin: 10px 0 30px; }
.ibrvc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.ibrvc-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.ibrvc-full { grid-column: 1 / -1; }
.ibrvc-field label { font-weight: 600; font-size: 15px; margin-bottom: 6px; color: #5f6870; }
.ibrvc-field input, .ibrvc-field select, .ibrvc-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd3d6; border-radius: 4px; font-size: 16px; background: #fff; }
.ibrvc-field input:focus, .ibrvc-field select:focus, .ibrvc-field textarea:focus { outline: 2px solid var(--ibrvc-cor); outline-offset: 0; border-color: transparent; }
.ibrvc-field .ibrvc-outro { margin-top: 8px; }
.ibrvc-check label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.ibrvc-check input { width: auto; margin-top: 4px; }
.ibrvc .req { color: #c0392b; }
.ibrvc-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.ibrvc-aviso { font-size: 13px; color: #6d6d6f; background: #fbf3dc; padding: 8px 12px; border-radius: 4px; font-style: italic; }

@media (max-width: 640px) {
	.ibrvc-grid { grid-template-columns: 1fr; }
	.ibrvc-btn-lg { width: 100%; text-align: center; }
}

/* Minhas vagas */
.ibrvc-mv-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.ibrvc-mv-head h3 { margin: 0; }
.ibrvc-table-wrap { overflow-x: auto; }
.ibrvc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ibrvc-table th, .ibrvc-table td { padding: 12px 10px; border-bottom: 1px solid var(--ibrvc-borda); text-align: left; vertical-align: middle; }
.ibrvc-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: #888; }
.ibrvc-acoes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ibrvc-inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.ibrvc-inline select { padding: 6px 8px; border: 1px solid #cfd3d6; border-radius: 4px; }
.ibrvc-btn-sm { padding: 6px 12px; font-size: 13px; }
.ibrvc-btn-sec { background: #fff; color: var(--ibrvc-cor) !important; border: 1px solid var(--ibrvc-cor); }
.ibrvc-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.ibrvc-badge-ativa { background: #e6f4ea; color: #1e6b33; }
.ibrvc-badge-pendente { background: #fff3e3; color: #9a5a05; }
.ibrvc-badge-expirada { background: #eee; color: #666; }
.ibrvc-novos { font-size: 12px; color: #9a5a05; background: #fff3e3; padding: 2px 8px; border-radius: 10px; }
.ibrvc-st { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; background: #f0f0f1; }
.ibrvc-st-novo { background: #fcf0d9; color: #8a5a00; } .ibrvc-st-analise { background: #e5f0fa; color: #135e96; }
.ibrvc-st-entrevista { background: #efe6fb; color: #5b2d91; } .ibrvc-st-aprovado { background: #e6f4ea; color: #1e7e34; }
.ibrvc-st-reprovado { background: #fbeaea; color: #a00; }
.ibrvc-cand { border: 1px solid var(--ibrvc-borda); border-radius: 8px; margin-bottom: 10px; background: #fff; }
.ibrvc-cand summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; }
.ibrvc-cand summary::-webkit-details-marker { display: none; }
.ibrvc-cand summary::before { content: "▸"; color: var(--ibrvc-cor); }
.ibrvc-cand[open] summary::before { content: "▾"; }
.ibrvc-cand-nome { font-weight: 600; }
.ibrvc-cand-meta { color: #888; font-size: 14px; flex: 1; }
.ibrvc-cand-body { padding: 0 16px 16px; border-top: 1px solid var(--ibrvc-borda); }
.ibrvc-cand dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; margin: 16px 0; }
.ibrvc-cand dt { font-weight: 600; color: #5f6870; }
.ibrvc-cand dd { margin: 0; white-space: pre-wrap; }
.ibrvc-cand-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 640px) {
	.ibrvc-table thead { display: none; }
	.ibrvc-table tr { display: block; border: 1px solid var(--ibrvc-borda); border-radius: 8px; margin-bottom: 12px; padding: 6px 0; }
	.ibrvc-table td { display: block; border: 0; padding: 6px 12px; }
	.ibrvc-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: #888; }
	.ibrvc-acoes { justify-content: flex-start; }
	.ibrvc-cand dl { grid-template-columns: 1fr; }
}
