/* ========================================================= */
/* BACKGROUND */
/* ========================================================= */
.Background_1 {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(2px);
  z-index: 100;
}

.Background_1[hidden] {
  display: none;
}
/* ========================================================= */
/* MODAL */
/* ========================================================= */
.dial {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 32px));
  max-height: min(88vh, 760px);

  display: flex;
  flex-direction: column;

  background-color: #ffffff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.28);
  overflow: hidden;

  z-index: 200;
}

.dial[hidden] {
  display: none;
}

.dial.import-modal-shell {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.28);
}

/* ========================================================= */
/* HEADER */
/* ========================================================= */
.modal-header {
  display: grid;
  grid-template-columns: 1fr 58px;
  align-items: center;
  min-height: 58px;
  background: rgb(2, 162, 239);
  overflow: hidden;
}

.dial.import-modal-shell .modal-header {
  display: grid;
  grid-template-columns: 1fr 58px;
  align-items: center;
  min-height: 58px;
  height: auto;
  overflow: hidden;
  background: rgb(2, 162, 239);
}


.form_title1 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Verdana", sans-serif;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 700;
  color: #fff;
  background: transparent;
  padding: 16px 24px;
  text-align: center;
}

.dial.import-modal-shell .form_title1 {
  min-height: 58px;
  padding: 18px 24px;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-align: center;
}

.dial.import-modal-shell .import-modal-header {
  display: grid;
  grid-template-columns: 1fr 58px;
  align-items: center;
  min-height: 58px;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: rgb(2, 162, 239);
}

.dial.import-modal-shell .import-modal-title {
  min-height: 58px;
  padding: 18px 24px;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-align: center;
}

.modal-close {
  width: 58px;
  height: 100%;
  min-height: 58px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(14px, 1vw, 18px);
  font-weight: 800;
  background: rgba(12, 115, 162, 0.92);
  color: #5c3d38;

  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.dial.import-modal-shell .modal-close {
  width: 58px;
  min-height: 58px;
  background: transparent;
  color: #4f4f4f;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.dial.import-modal-shell .modal-close:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.dial.import-modal-shell .import-modal-close {
  width: 58px;
  height: 100%;
  min-height: 58px;
  border: 0;
  background: rgb(12, 115, 162);
  color: #4f4f4f;
  transition: background 0.25s ease, color 0.25s ease;
}

.dial.import-modal-shell .import-modal-close:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.dial.import-modal-shell .import-modal-close:focus,
.dial.import-modal-shell .import-modal-close:focus-visible {
  outline: none;
  box-shadow: none;
}


/* ========================================================= */
/* BODY */
/* ========================================================= */
.modal-body {
  padding: 24px 24px 12px;
  text-align: center;
  overflow-y: auto;
  background: #ffffff;
}

.dial.import-modal-shell .modal-body,
.dial.import-modal-shell .modal-footer {
  background: #ffffff;
}

.dial.import-modal-shell .modal-body {
  padding: 24px 24px 12px;
}

.dial.import-modal-shell .txtmensaje {
  color: #475569;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.txtmensaje {
  margin: 0;
  color: #0f172a;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.modal-body .txtmensaje {
  white-space: pre-line;
}

.modal-body .txtmensaje-delete {
  color: #b91c1c;
  white-space: normal;
}

.modal-body .txtmensaje-delete strong {
  font-weight: 700;
}

#close-file-modal .close-file-message {
  font-family: Verdana, sans-serif;
  direction: ltr;
  unicode-bidi: plaintext;
}

.auditor-cleanup-modal .modal-body {
  text-align: left;
}

.auditor-cleanup-message {
  text-align: center;
}

.auditor-cleanup-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.auditor-cleanup-summary[hidden],
.auditor-cleanup-list[hidden] {
  display: none;
}

.auditor-cleanup-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.auditor-cleanup-list {
  margin-top: 18px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  overflow: hidden;
}

.auditor-cleanup-row {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(88px, 130px) minmax(0, 1fr) minmax(52px, 76px);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  color: #0f172a;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.3;
}

.auditor-cleanup-row + .auditor-cleanup-row {
  border-top: 1px solid #e2e8f0;
}

.auditor-cleanup-row:nth-child(even) {
  background: #f8fafc;
}

.auditor-cleanup-type,
.auditor-cleanup-key,
.auditor-cleanup-unit {
  color: #475569;
  font-weight: 600;
}

.auditor-cleanup-description {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .auditor-cleanup-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .auditor-cleanup-type,
  .auditor-cleanup-key,
  .auditor-cleanup-unit {
    font-size: 12px;
  }
}

.txtlabel {
  font-family: "Verdana", sans-serif;
  font-size: clamp(14px, 1vw, 16px);
}


.Form_input {
  width: 100%;
  padding: clamp(8px, 1vw, 10px);
  font-size: clamp(14px, 1vw, 16px);
  border: 1px solid #ccc;
  border-radius: 6px;
}


/* ========================================================= */
/* ERRORES */
/* ========================================================= */
.form-errors {
  margin-top: clamp(8px, 1vw, 12px);
  list-style: none;
  padding: 0;
}

.form-errors li {
  font-size: clamp(12px, 0.9vw, 14px);
  color: #475569;
}
.form-errors div {
  font-size: clamp(12px, 0.9vw, 14px);
  color: #475569;
}

/* ========================================================= */
/* LINEAS */
/* ========================================================= */
.hr_line,
.hr_line_yellow {
  border: none;
  margin: clamp(16px, 2vw, 20px) auto;
  width: 100%;
}

.hr_line {
  border-top: 1px solid #ccc;
}

.hr_line_yellow {
  border-top: 2px solid #f5c400;
}

/* ========================================================= */
/* FOOTER */
/* ========================================================= */
.modal-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 18px 24px 24px;
  background: #ffffff;
}

.dial.import-modal-shell .modal-footer {
  align-items: center;
  padding: 22px 24px 20px;
}


/* ========================================================= */
/* BOTONES */
/* ========================================================= */

.BotonModal_Aceptar,
.BotonModal_Return {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(6px, 0.6vw, 8px);
  min-height: 42px;
  padding: 0 18px;

  font-size: clamp(13px, 1vw, 14px);
  font-weight: 700;

  border-radius: 30px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  box-sizing: border-box;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  border: none;
}


.BotonModal_Aceptar {
  background-color: rgb(241, 196, 15);
  font-size: clamp(13px, 1vw, 15px);
  min-width: 118px;
  color: #111111;
  box-shadow: 0 10px 22px rgba(241, 196, 15, 0.28);
}

.BotonModal_Aceptar:hover {
  background: rgb(244, 208, 63);
}

.BotonModal_Return {
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
  min-width: 118px;
}

.BotonModal_Return:hover {
  background: rgb(77, 238, 238);
}


.BotonModal_Aceptar:not(:disabled):hover,
.button-BotonAceptar:not(:disabled):focus {
    outline: 0;
    background: rgb(244, 208, 63);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15);
}

.BotonModal_Aceptar:disabled {
    filter: saturate(0.2) opacity(0.5);
    -webkit-filter: saturate(0.2) opacity(0.5);
    cursor: not-allowed;
}

.dial.import-modal-shell .import-file {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.dial.import-modal-shell .import-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.dial.import-modal-shell .import-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 170px;
  min-height: 42px;
  padding-inline: 16px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.dial.import-modal-shell .import-file-button:hover {
  background: rgb(244, 208, 63);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15);
}

.dial.import-modal-shell .import-file-input:focus + .import-file-button,
.dial.import-modal-shell .import-file-input:focus-visible + .import-file-button {
  outline: none;
  background: rgb(244, 208, 63);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15);
}

.dial.import-modal-shell .import-file-name {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: min(460px, 85vw);
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-family: "Poppins", sans-serif;
  font-size: 0.86rem;
  line-height: 1.2;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.BotonModal_Return:not(:disabled):hover,
.button-BotonAceptar:not(:disabled):focus {
    outline: 0;
    background: rgb(77, 238, 238);
    filter: saturate(0.2);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15);
}

.BotonModal_Return:disabled {
    filter: saturate(0.2) opacity(0.5);
    -webkit-filter: saturate(0.2) opacity(0.5);
    cursor: not-allowed;
} 
