body.fx-reg-process-modal-open {
  overflow: hidden;
}


.fx-reg-process-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 22px;

  background:
    rgba(15, 28, 35, .52);

  font-family:
    inherit;
}


.fx-reg-process-modal {
  width: min(
    760px,
    calc(100vw - 44px)
  );

  background: #fff;

  border:
    1px solid
    rgba(23, 67, 70, .16);

  border-radius: 10px;

  box-shadow:
    0 22px 55px
    rgba(0, 0, 0, .22);

  overflow: hidden;

  color: #223238;
}


.fx-reg-process-modal-header {
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding:
    0 20px;

  border-bottom:
    1px solid #e4e9eb;

  background: #fff;
}


.fx-reg-process-modal-heading {
  display: flex;
  align-items: center;

  gap: 11px;

  min-width: 0;
}


.fx-reg-process-modal-icon {
  width: 32px;
  height: 32px;

  flex:
    0 0 32px;

  display: grid;
  place-items: center;

  border-radius: 6px;

  background:
    var(
      --fx-primary,
      #176d70
    );

  color: #fff;
}


.fx-reg-process-modal-icon svg {
  width: 20px;
  height: 20px;
}


.fx-reg-process-modal-heading h2 {
  margin: 0;

  font-size: 17px;
  line-height: 1.2;

  font-weight: 700;

  color: #24353a;
}


.fx-reg-process-modal-x {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 6px;

  background: transparent;

  color: #637278;

  font-size: 25px;
  font-weight: 300;

  line-height: 1;

  cursor: pointer;
}


.fx-reg-process-modal-x:hover {
  background: #f2f5f5;

  color: #26383d;
}


.fx-reg-process-modal-body {
  padding:
    18px 20px 16px;
}


.fx-reg-process-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  column-gap: 18px;
  row-gap: 14px;
}


.fx-reg-process-field {
  display: flex;
  flex-direction: column;

  gap: 6px;

  min-width: 0;
}


.fx-reg-process-field-full {
  grid-column:
    1 / -1;
}


.fx-reg-process-field > span {
  color: #34484d;

  font-size: 12px;
  font-weight: 650;
}


.fx-reg-process-field > span b {
  color:
    var(
      --fx-primary,
      #176d70
    );

  font-weight: 700;
}


.fx-reg-process-field input,
.fx-reg-process-field select {
  box-sizing: border-box;

  width: 100%;
  height: 38px;

  margin: 0;

  border:
    1px solid #ccd6d9;

  border-radius: 6px;

  outline: none;

  background: #fff;

  padding:
    0 11px;

  color: #27383d;

  font: inherit;
  font-size: 12.5px;

  transition:
    border-color .12s ease,
    box-shadow .12s ease;
}


.fx-reg-process-field input::placeholder {
  color: #99a6aa;
}


.fx-reg-process-field input:focus,
.fx-reg-process-field select:focus {
  border-color:
    var(
      --fx-primary,
      #176d70
    );

  box-shadow:
    0 0 0 2px
    rgba(23, 109, 112, .11);
}


.fx-reg-process-money {
  display: flex;
  align-items: center;

  height: 38px;

  border:
    1px solid #ccd6d9;

  border-radius: 6px;

  background: #fff;

  overflow: hidden;
}


.fx-reg-process-money:focus-within {
  border-color:
    var(
      --fx-primary,
      #176d70
    );

  box-shadow:
    0 0 0 2px
    rgba(23, 109, 112, .11);
}


.fx-reg-process-money > span {
  height: 100%;

  display: flex;
  align-items: center;

  padding:
    0 10px;

  border-right:
    1px solid #dbe2e4;

  background: #f5f7f7;

  color: #55676c;

  font-size: 12.5px;
  font-weight: 650;
}


.fx-reg-process-money input {
  height: 36px;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow:
    none !important;
}


.fx-reg-process-message {
  margin-top: 13px;

  min-height: 16px;

  padding:
    8px 10px;

  border-radius: 5px;

  background: #fff1f1;

  color: #a33434;

  font-size: 12px;
  line-height: 1.35;
}


.fx-reg-process-message[data-type="success"] {
  background: #eaf6f2;

  color: #17694f;
}


.fx-reg-process-modal-footer {
  height: 64px;

  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 9px;

  padding:
    0 20px;

  border-top:
    1px solid #e4e9eb;

  background: #fafbfb;
}


.fx-reg-process-modal-footer button {
  height: 36px;

  min-width: 92px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  padding:
    0 15px;

  border-radius: 6px;

  font: inherit;
  font-size: 12.5px;
  font-weight: 650;

  cursor: pointer;
}


.fx-reg-process-cancel {
  border:
    1px solid #ccd5d8;

  background: #fff;

  color: #3c4d52;
}


.fx-reg-process-cancel:hover {
  background: #f4f6f6;
}


.fx-reg-process-save {
  border:
    1px solid
    var(
      --fx-primary,
      #176d70
    );

  background:
    var(
      --fx-primary,
      #176d70
    );

  color: #fff;
}


.fx-reg-process-save:hover:not(:disabled) {
  filter: brightness(.94);
}


.fx-reg-process-save:disabled {
  opacity: .56;

  cursor: default;
}


.fx-reg-process-save-icon {
  display: inline-flex;
}


.fx-reg-process-save-icon svg {
  width: 15px;
  height: 15px;
}


.fx-reg-process-save.is-saving {
  pointer-events: none;
}


.fx-reg-judicial-table
tbody
tr[data-reg-process-id] {
  cursor: pointer;
}


.fx-reg-judicial-table
tbody
tr.is-selected {
  background:
    rgba(23, 109, 112, .08);
}


@media (max-width: 720px) {

  .fx-reg-process-modal-backdrop {
    padding: 12px;
  }

  .fx-reg-process-modal {
    width:
      calc(100vw - 24px);
  }

  .fx-reg-process-grid {
    grid-template-columns:
      1fr;
  }

  .fx-reg-process-field-full {
    grid-column: auto;
  }
}


@media print {

  .fx-reg-process-modal-backdrop {
    display: none !important;
  }

}
