/* GastroJobs — páginas del candidato · Manual de marca v1.0 */
:root {
  --esmeralda: #0B6B55; --noche: #0B2A26; --menta: #E4F6EE; --coral: #F55B3B; --claro: #5BE3A8; --gris: #3D5A54;
  --rule: rgba(11,42,38,.13); --rule-strong: rgba(11,42,38,.32);
  --display: 'Space Mono', ui-monospace, Menlo, monospace;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --saw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9'%3E%3Cpath d='M0 0h16L8 9z' fill='%23fff'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--menta); color: var(--noche); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.mono { font-family: var(--display); }
.pt { color: var(--coral); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.pub-header { padding: 18px 20px; display: flex; justify-content: center; }
.pub-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.04em; }
.pub-logo b { color: var(--esmeralda); } .pub-logo i { color: var(--coral); font-style: normal; }
.pub-main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 4px 16px 40px; }

/* Ticket */
.pub-card { position: relative; background: #fff; border-top: 8px solid var(--esmeralda); border-radius: 14px 14px 0 0; padding: 26px 20px 30px; margin-bottom: 10px; filter: drop-shadow(0 18px 30px rgba(11,42,38,.10)); }
.pub-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px; background: var(--saw) repeat-x left top / 16px 9px; }
.t-head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px dashed var(--rule-strong); }
.pub-center { text-align: center; padding: 44px 22px; }
h1 { font-family: var(--display); font-size: clamp(1.55rem, 6vw, 2rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.12; margin-bottom: 8px; }
.pub-hello { color: var(--esmeralda); font-weight: 600; margin-bottom: 6px; }
.pub-muted { color: var(--gris); margin-bottom: 18px; }
.pub-section { font-family: var(--display); font-size: .74rem; font-weight: 400; text-transform: uppercase; letter-spacing: .14em; color: var(--gris); margin: 28px 0 14px; padding-top: 20px; border-top: 2px dashed var(--rule); }
.pub-form > .pub-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 10px; }
.pub-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.pub-field > label { font-size: .96rem; font-weight: 600; }
.pub-req { color: var(--coral); }
input[type=text], input[type=number], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; min-height: 50px; background: #fff; border: 1.5px solid var(--rule-strong); color: var(--noche); border-radius: 12px;
  padding: 12px 14px; font-size: 16px; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--esmeralda); box-shadow: 0 0 0 4px rgba(11,107,85,.14); }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gris) 50%), linear-gradient(135deg, var(--gris) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.pub-help { color: var(--gris); font-size: .84rem; }
.pub-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-choice { position: relative; cursor: pointer; }
.pub-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pub-choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--rule-strong); background: #fff; font-size: .95rem; font-weight: 500; transition: all .15s; }
.pub-choice input:checked + span { border-color: var(--esmeralda); background: var(--esmeralda); color: #fff; }
.pub-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(245,91,59,.35); }
.pub-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 14px; padding: 14px 22px; border: 0; border-radius: 12px; cursor: pointer; font-family: var(--body); font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; background: var(--esmeralda); transition: background .2s; }
.pub-btn:hover { background: #095C49; }
.pub-center .pub-btn { width: auto; margin-top: 22px; }
.pub-privacy { text-align: center; color: var(--gris); font-size: .8rem; margin-top: 14px; }
.pub-errores { background: #FFF1EE; border: 1.5px solid rgba(245,91,59,.45); color: #8A2A16; padding: 12px 14px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
.pub-errores ul { margin: 6px 0 0 18px; }
.pub-ok { background: var(--menta); border: 1.5px solid rgba(11,107,85,.35); color: var(--esmeralda); padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: .94rem; font-weight: 600; }
.pub-hp { position: absolute; left: -9999px; }
.pub-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.8rem; font-weight: 700; }
.pub-icon.is-ok { background: var(--menta); color: var(--coral); }
.pub-icon.is-error { background: #FFF1EE; color: var(--coral); }
.pub-progress { height: 10px; background: var(--menta); border-radius: 99px; overflow: hidden; }
.pub-progress div { height: 100%; background: var(--esmeralda); border-radius: 99px; transition: width .3s; }
.pub-progress-label { font-family: var(--display); font-size: .82rem; color: var(--gris); margin: 8px 0 18px; }
.pub-docs { list-style: none; display: flex; flex-direction: column; }
.pub-doc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 2px dashed var(--rule); }
.pub-doc:last-child { border-bottom: 0; }
.pub-doc-info { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.pub-doc-info div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pub-doc-info strong { font-weight: 600; font-size: .98rem; }
.pub-doc-info small { color: var(--gris); font-size: .8rem; }
.pub-doc-info .pub-rej { color: #B4361B; }
.pub-doc-info .pub-file { color: var(--esmeralda); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-doc-num { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--menta); font-family: var(--display); font-size: .8rem; color: var(--gris); }
.pub-doc.is-done .pub-doc-num { background: var(--esmeralda); color: #fff; }
.pub-btn-sm { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; padding: 10px 16px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: #fff; background: var(--esmeralda); }
.pub-btn-sm.is-ghost { background: #fff; color: var(--esmeralda); border: 1.5px solid var(--esmeralda); }
.pub-btn-sm.is-loading { opacity: .6; pointer-events: none; }
.pub-btn-sm input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pub-footer { text-align: center; color: var(--gris); font-size: .8rem; padding: 18px 16px 28px; display: flex; flex-direction: column; gap: 4px; }
.pub-footer span:first-child { font-family: var(--display); font-weight: 700; color: var(--noche); }
.pub-footer i { color: var(--coral); font-style: normal; }
@media (min-width: 600px) {
  .pub-main { padding-top: 12px; }
  .pub-card { padding: 32px 34px 36px; }
  .pub-header { padding: 26px 20px; }
}
@media (max-width: 380px) {
  .pub-doc { flex-wrap: wrap; }
  .pub-doc .pub-upload { width: 100%; }
  .pub-btn-sm { width: 100%; justify-content: center; }
}
