/* area_candidato.css - estilos comuns da área do candidato (acompanhamento da inscrição) */
body { background: #f2f4f8; }

.area-wrapper { max-width: 960px; margin: 28px auto 50px; padding: 0 16px; }
.area-voltar { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: #1b365d; background: none; border: none; padding: 0; cursor: pointer; }
.area-voltar:hover { text-decoration: underline; }

.area-card { background: #fff; border: 1px solid #d7dce3; border-radius: 12px; box-shadow: 0 6px 22px rgba(0,0,0,.06); margin-bottom: 20px; overflow: hidden; }
.area-card-header { background: linear-gradient(90deg, #1b365d, #217bb3); color: #fff; padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.area-card-header h2 { margin: 0; font-size: 20px; font-weight: 700; }
.area-card-header h3 { margin: 0; font-size: 17px; font-weight: 700; }
.area-card-header p { margin: 3px 0 0; font-size: 13px; opacity: .9; }
.area-card-body { padding: 20px 22px; }

.dados { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 22px; font-size: 14px; }
.dados span { display: block; font-size: 12px; color: #6b7685; }
.dados b { color: #1f2a37; }

.selo { display: inline-block; padding: 3px 11px; border-radius: 12px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; }
.selo-pendente { background: #f0ad4e; }
.selo-ok { background: #28a745; }
.selo-erro { background: #c62828; }
.selo-info { background: #17a2b8; }
.selo-neutro { background: #8a94a3; }
.selo-claro { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.45); }

.aviso { border-radius: 8px; padding: 12px 15px; font-size: 14px; margin: 0 0 14px; }
.aviso:last-child { margin-bottom: 0; }
.aviso-info { background: #e8f2fb; border: 1px solid #b9d7f0; color: #1b4a72; }
.aviso-ok { background: #d4edda; border: 1px solid #b1dfbb; color: #155724; }
.aviso-alerta { background: #fff8e1; border: 1px solid #f0c36d; color: #6b5200; }
.aviso-erro { background: #f8d7da; border: 1px solid #f1b0b7; color: #721c24; }

/* Botões padronizados */
.botoes { display: flex; gap: 10px; flex-wrap: wrap; }
.botoes form { margin: 0; }
.btn-principal { display: inline-block; padding: 11px 20px; border: none; border-radius: 8px; font-weight: 700; font-size: 14px; color: #fff !important; background: linear-gradient(90deg, #1b365d, #217bb3); cursor: pointer; text-decoration: none !important; }
.btn-principal:hover { background: linear-gradient(90deg, #152a4d, #1c6a9e); }
.btn-sucesso { background: linear-gradient(90deg, #1e7e34, #28a745); }
.btn-sucesso:hover { background: linear-gradient(90deg, #19692c, #218838); }
.btn-secundario { display: inline-block; padding: 10px 18px; border: 1px solid #c5cdd8; border-radius: 8px; font-weight: 600; font-size: 14px; color: #1b365d !important; background: #fff; cursor: pointer; text-decoration: none !important; }
.btn-secundario:hover { background: #eef2f7; }
.btn-pequeno { padding: 6px 12px; font-size: 13px; }
.btn-bloco { display: block; width: 100%; text-align: center; }

/* Tabelas */
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabela th { text-align: left; font-size: 12px; color: #6b7685; font-weight: 600; padding: 8px 10px; border-bottom: 2px solid #e8edf5; }
.tabela td { padding: 10px; border-bottom: 1px solid #eef1f5; vertical-align: middle; }

/* Cartões de inscrição (lista) */
.inscricoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.inscricao { border: 1px solid #d7dce3; border-left: 5px solid #8a94a3; border-radius: 10px; padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.inscricao.sit-pendente { border-left-color: #f0ad4e; }
.inscricao.sit-ok { border-left-color: #28a745; }
.inscricao.sit-info { border-left-color: #17a2b8; }
.inscricao.sit-erro { border-left-color: #c62828; }
.inscricao .numero { font-size: 12px; color: #6b7685; }
.inscricao .numero b { font-size: 17px; color: #1b365d; }
.inscricao .cargo { font-weight: 700; color: #1f2a37; font-size: 15px; line-height: 1.3; }
.inscricao .detalhe { font-size: 12.5px; color: #555; }
.inscricao .botoes { margin-top: 4px; }

/* Declarações */
.declaracao { border: 1px solid #e1e7ef; border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: #fafbfd; }
.declaracao:last-child { margin-bottom: 0; }
.declaracao-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.declaracao-topo b { color: #1b365d; font-size: 15px; }
.declaracao .ajuda { font-size: 12.5px; color: #6b7685; margin: 6px 0 0; }
.declaracao details { margin-top: 10px; }
.declaracao summary { cursor: pointer; color: #217bb3; font-weight: 600; font-size: 13px; }
.declaracao form { margin: 10px 0 0; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 6px 0 10px; }
.opcoes label { font-weight: 400; font-size: 14px; margin: 0; display: flex; align-items: center; gap: 6px; }
.opcoes input { margin: 0; }
.lista-docs { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; }
.lista-docs li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eef1f5; }
.lista-docs li:last-child { border-bottom: none; }
.lista-docs form { margin: 0; }
.btn-excluir { background: #fff; border: 1px solid #f1b0b7; color: #c62828; border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-excluir:hover { background: #fdecec; }
.envio { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.envio input[type=file] { max-width: 100%; font-size: 13px; }

/* Login */
.login-box { max-width: 440px; margin: 50px auto; padding: 0 16px; }
.login-box .area-card-body label { display: block; font-weight: 600; font-size: 14px; margin: 10px 0 6px; }
.login-box input[type=text], .login-box input[type=password] { width: 100%; box-sizing: border-box; height: auto; padding: 11px 12px; border: 1px solid #cfd7e3; border-radius: 8px; font-size: 15px; }
.login-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; }

@media (max-width: 640px) {
    .area-card-body { padding: 16px; }
    .botoes > * { flex: 1 1 100%; }
    .botoes .btn-principal, .botoes .btn-secundario { width: 100%; text-align: center; }
}
