[data-csp-style="text-left-small"] { text-align: left; font-size: 14px; }
[data-csp-style="margin-bottom-12"] { margin-bottom: 12px; }
[data-csp-style="warning-box"] { background: #fff3cd; border-left: 4px solid #ffc107; padding: 10px; border-radius: 4px; }
[data-csp-style="warning-box-mb"] { background: #fff3cd; border-left: 4px solid #ffc107; padding: 10px; border-radius: 4px; margin-bottom: 12px; }
[data-csp-style="margin-bottom-10"] { margin-bottom: 10px; }
[data-csp-style="code-warning"] { background-color: #ffc107; }
[data-csp-style="image-preview"] { max-width: 100%; max-height: 120px; border: 1px solid #ccc; }
[data-csp-style="toast-dark"] { background-color: #343a40; color: #fff; }
[data-csp-style="success-text"] { color: #1e7e34; }
[data-csp-style="text-left"] { text-align: left; }
[data-csp-style="clickable"] { cursor: pointer; }
[data-csp-style="success-box-mb"] { background: #e6f4ea; border-left: 4px solid #28a745; padding: 12px; border-radius: 6px; margin-bottom: 12px; }
[data-csp-style="warning-box-large"] { background: #fff3cd; border-left: 4px solid #ffc107; padding: 12px; border-radius: 6px; }
[data-csp-style="warning-text"] { color: #856404; }
[data-csp-style="margin-top-8"] { margin-top: 8px; }
[data-csp-style="agreement-box"] { margin: 0 auto; max-width: 360px; }
[data-csp-style="agreement-intro"] { margin-bottom: 8px; text-align: justify; }
[data-csp-style="agreement-list"] { margin: 0; padding-left: 18px; text-align: left; }
[data-csp-style="agreement-outro"] { margin-top: 10px; margin-bottom: 0; text-align: justify; }
[data-csp-style="text-justify"] { text-align: justify; }
[data-csp-style="list-spaced"] { margin-top: 8px; padding-left: 18px; }
[data-csp-style="list-item-mb8"] { margin-bottom: 8px; }
[data-csp-style="row-gap"] { display: flex; gap: 20px; margin-bottom: 14px; }
[data-csp-style="list-reset"] { margin: 8px 0 0 18px; padding: 0; }
[data-csp-style="success-box"] { background: #e6f4ea; border-left: 4px solid #28a745; padding: 12px; border-radius: 6px; }
[data-csp-style="success-box-compact"] { background: #e6f4ea; border-left: 4px solid #28a745; padding: 10px; border-radius: 4px; }
[data-csp-style="icon-inline"] { height: 16px; display: inline-block; }

.suwala-doubleScroll-scroll-wrapper,
.suwala-doubleScroll-scroll { height: 20px; }

.dataTables_sizing { height: 0; overflow: hidden; }

/* Autocompletado de pacientes compatible con CSP estricta. */
.paciente-autocomplete {
  position: relative;
}

.paciente-autocomplete-list {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  left: 0;
  z-index: 1060;
  max-height: 240px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.paciente-autocomplete-option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
}

.paciente-autocomplete-option:last-child {
  border-bottom: 0;
}

.paciente-autocomplete-option:hover,
.paciente-autocomplete-option:focus,
.paciente-autocomplete-option.is-active {
  color: #fff;
  background-color: #1e3a70;
  outline: 0;
}

.paciente-autocomplete-name,
.paciente-autocomplete-rut {
  display: block;
}

.paciente-autocomplete-name {
  font-weight: 600;
}

.paciente-autocomplete-rut {
  font-size: 0.8rem;
  opacity: 0.85;
}

.paciente-autocomplete-empty {
  padding: 0.65rem 0.75rem;
  color: #6c757d;
  background-color: #fff;
}
