/* Generado por servicio-exclusivo/sincronizar.py a partir de Servitotal: no editar aquí. */
/* Formulario "Postular" de las vacantes: se abre en una ventana sobre la página. Se apoya en styles.css. */

.apply-dialog { width: min(calc(100% - 2rem), 34rem); max-height: min(calc(100dvh - 2rem), 48rem); padding: 0; overflow: auto; border: 0; border-radius: .9rem; background: #fff; box-shadow: 0 1.5rem 4rem rgba(11, 34, 85,.35); color: var(--ink); overscroll-behavior: contain; }
.apply-dialog::backdrop { background: rgba(11, 34, 85,.62); }
body:has(.apply-dialog[open]) { overflow: hidden; }
.apply-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem 1rem; background: var(--dark); color: #fff; }
.apply-head p { margin: 0 0 .25rem; color: #ffdf38; font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.apply-head h2 { margin: 0; color: #fff; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.03em; }
.apply-head small { display: block; margin-top: .3rem; color: #c9d8ee; font-size: .88rem; }
.apply-close { display: grid; place-items: center; flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; }
.apply-close:hover { background: rgba(255,255,255,.12); }
.apply-form { gap: 1rem; padding: 1.2rem 1.3rem 1.4rem; }
.apply-form label small { color: var(--muted); font-weight: 600; }
.apply-choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.apply-choices legend { margin-bottom: .5rem; padding: 0; font-size: .86rem; font-weight: 800; }
.apply-choices div { display: flex; flex-wrap: wrap; gap: .4rem; }
.apply-form .apply-chip { position: relative; display: inline-block; font-size: .86rem; font-weight: 750; }
.apply-form .apply-chip input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.apply-chip span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; line-height: 1.2; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.apply-chip span:hover { border-color: #8bb9e7; }
.apply-chip input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.apply-chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.apply-form .apply-consent { display: flex; align-items: flex-start; gap: .65rem; color: var(--muted); font-size: .84rem; font-weight: 600; line-height: 1.45; }
.apply-form .apply-consent input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; min-height: 0; margin: .1rem 0 0; padding: 0; accent-color: var(--accent); }
.apply-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-invalid > legend, .apply-form label.apply-invalid { color: #c62828; }
.apply-form .apply-invalid input:not([type="radio"]):not([type="checkbox"]) { border-color: #e72432; box-shadow: 0 0 0 3px #d6e8fb; }
.apply-errors { margin: 0; padding: .75rem 1rem; border-radius: .5rem; background: #fdecea; color: #8c1d18; font-size: .9rem; line-height: 1.45; }
.apply-submit { width: 100%; }
.apply-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.apply-done { padding: 2.2rem 1.4rem 2rem; text-align: center; }
.apply-done h2 { margin-bottom: .5rem; font-size: 1.7rem; }
.apply-done p { max-width: 24rem; margin: 0 auto 1.5rem; color: var(--muted); }
.apply-check { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.8rem; font-weight: 900; }

@media (max-width: 600px) {
  .apply-dialog { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 1rem 1rem 0 0; }
  .apply-head h2 { font-size: 1.2rem; }
}
