/* Formulario EsSalud: mismos colores, controles y distribución que Jesús del Norte. */
#form-nvx-document.nvx-essalud-form {
  --essalud-blue:#174b78; --essalud-border:#d3dde7;
  width:100%; min-width:0; max-width:none !important; margin:0;
  padding:14px; border-radius:8px; background:#fff; color:#21374b; box-sizing:border-box;
}
.nvx-essalud-form *, .nvx-essalud-form *::before, .nvx-essalud-form *::after { box-sizing:border-box; }
.nvx-essalud-form .nvx-form-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; }
.nvx-essalud-form .nvx-form-heading h3 { margin:4px 0; color:var(--essalud-blue); font-size:19px; line-height:1.3; }
.nvx-essalud-form .nvx-overline { color:#0b6477; font-size:11px; letter-spacing:1.2px; font-weight:700; }
.nvx-essalud-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; min-width:0; }
.nvx-essalud-editor, .nvx-essalud-preview { min-width:0; max-width:100%; }
.nvx-essalud-form .nvx-essalud-group { min-width:0; margin:0 0 18px; padding:12px 0 0; border:0; border-top:1px solid #e7edf3; }
.nvx-essalud-form .nvx-essalud-group legend { padding:0 8px 0 0; color:var(--essalud-blue); font-size:13px; font-weight:700; }
.nvx-essalud-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.nvx-essalud-field { min-width:0; }
.nvx-essalud-field.nvx-essalud-wide { grid-column:1/-1; }
.nvx-essalud-form .nvx-essalud-field label { display:block; margin-bottom:6px; font-size:12px; font-weight:600; line-height:1.4; }
.nvx-essalud-field label span { color:#a52626; }
.nvx-essalud-form .nvx-essalud-field input,
.nvx-essalud-form .nvx-essalud-field textarea,
.nvx-essalud-form .nvx-essalud-field select {
  display:block; width:100%; min-width:0; min-height:42px; margin:0; padding:9px 10px;
  border:1px solid var(--essalud-border); border-radius:7px; background:#fff; color:#21374b;
  font:14px/1.4 Arial,Helvetica,sans-serif; box-shadow:none;
}
#form-nvx-document.nvx-essalud-form .nvx-essalud-group,
#form-nvx-document.nvx-essalud-form .nvx-essalud-field,
#form-nvx-document.nvx-essalud-form .nvx-essalud-field > label,
#form-nvx-document.nvx-essalud-form [data-essalud-field] { display:block !important; visibility:visible !important; opacity:1 !important; }
#form-nvx-document.nvx-essalud-form .nvx-essalud-grid { display:grid !important; }
.nvx-essalud-field textarea { min-height:76px; max-height:380px; resize:vertical; white-space:pre-wrap; overflow-wrap:anywhere; overflow-x:hidden; overflow-y:auto; }
.nvx-essalud-field input:focus, .nvx-essalud-field textarea:focus, .nvx-essalud-field select:focus { outline:2px solid #a5c6e4; outline-offset:1px; border-color:var(--essalud-blue); }
.nvx-essalud-field input[readonly] { background:#f5f8fb; color:var(--essalud-blue); font-weight:600; }
.nvx-essalud-field input:disabled, .nvx-essalud-field textarea:disabled, .nvx-essalud-field select:disabled { opacity:.75; }
.nvx-essalud-format { margin:0 0 16px; }
.nvx-essalud-format summary { cursor:pointer; color:var(--essalud-blue); font-size:13px; padding:8px 0; }
.nvx-essalud-professional { display:flex; flex-direction:column; gap:4px; background:#f5f8fb; border:1px solid #e7edf3; border-radius:7px; padding:12px; margin:0 0 14px; font-size:12px; color:#455968; }
.nvx-essalud-form button[type="submit"] { display:block !important; width:100%; min-height:44px; border:0; border-radius:7px; padding:11px 15px; background:var(--essalud-blue); color:#fff; font-size:14px; font-weight:700; cursor:pointer; }
.nvx-essalud-form button[type="submit"]:focus-visible { outline:2px solid #a5c6e4; outline-offset:2px; }
.nvx-essalud-form button[type="submit"]:disabled { opacity:.6; cursor:wait; }
.nvx-essalud-form .nvx-help { display:block !important; font-size:12px; color:#566b7e; line-height:1.5; margin:0 0 16px; }
.nvx-essalud-form .nvx-status { display:block !important; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.nvx-essalud-form .nvx-status:empty { display:none !important; }
.nvx-essalud-form .nvx-status-error { color:#a52626; }
.nvx-essalud-preview-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; color:var(--essalud-blue); margin:0 0 10px; font-size:12px; }
.nvx-essalud-preview-heading > div { display:flex; flex-direction:column; gap:4px; }
.nvx-essalud-preview-heading span { color:#566b7e; font-weight:400; }
.nvx-essalud-zoom { min-height:40px; padding:7px 12px; border:1px solid var(--essalud-border); border-radius:7px; background:#fff; color:var(--essalud-blue); font-size:12px; cursor:pointer; }
.nvx-essalud-zoom:focus-visible, .nvx-essalud-paper-scroll:focus-visible { outline:2px solid #a5c6e4; outline-offset:2px; }
.nvx-essalud-paper-scroll { width:100%; min-width:0; overflow:auto; overscroll-behavior-inline:contain; border:1px solid #dce4ec; border-radius:7px; background:#edf2f6; }
.nvx-essalud-sheet { position:relative; width:100%; min-height:150px; overflow:hidden; background:#fff; }
.nvx-essalud-expanded .nvx-essalud-sheet { width:794px; }
.nvx-essalud-sheet iframe { display:block !important; position:absolute; top:0; left:0; width:794px; height:1123px; max-width:none !important; border:0; background:#fff; transform-origin:top left; }
.nvx-essalud-qr-note { margin:9px 0 0; color:#566b7e; font-size:11px; line-height:1.4; }
@media (max-width:599px) {
  .nvx-essalud-form .nvx-essalud-field input, .nvx-essalud-form .nvx-essalud-field textarea, .nvx-essalud-form .nvx-essalud-field select { font-size:16px; }
  .nvx-essalud-form .nvx-form-heading { align-items:flex-start; }
  .nvx-essalud-zoom { min-height:44px; }
}
@media (min-width:600px) {
  #form-nvx-document.nvx-essalud-form { padding:20px; }
  .nvx-essalud-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:1200px) {
  .nvx-essalud-layout { grid-template-columns:minmax(310px,380px) minmax(0,1fr); align-items:start; }
  .nvx-essalud-preview { position:sticky; top:16px; }
}
@media print { .nvx-essalud-editor, .nvx-essalud-preview-heading, .nvx-essalud-qr-note { display:none !important; } }
