.ilo-overlay {
  align-items: center;
  background: rgba(0, 0, 0, .48);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 1rem;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2000;
}

.ilo-overlay.ilo-open {
  display: flex;
}

.ilo-dialog {
  background: #fff;
  border-radius: .25rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .3);
  max-height: calc(100vh - 2rem);
  max-width: 680px;
  overflow: hidden;
  width: 100%;
}

.ilo-dialog header,
.ilo-dialog footer {
  align-items: center;
  display: flex;
  padding: 1rem 1.25rem;
}

.ilo-dialog header {
  border-bottom: 1px solid #dee2e6;
  justify-content: space-between;
}

.ilo-dialog footer {
  border-top: 1px solid #dee2e6;
  gap: .5rem;
  justify-content: flex-end;
}

.ilo-title {
  font-size: 1.15rem;
  margin: 0;
}

.ilo-close {
  background: transparent;
  border: 0;
  color: #555;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.ilo-body {
  max-height: calc(100vh - 12rem);
  overflow: auto;
  padding: 1.25rem;
}

.ilo-step-two,
.ilo-back,
.ilo-save,
.ilo-error {
  display: none;
}

.ilo-rule {
  background: #f1f8f3;
  border-left: 4px solid #28a745;
  margin-bottom: 1rem;
  padding: .75rem;
}

.ilo-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: .25rem;
  color: #721c24;
  margin-bottom: 1rem;
  padding: .75rem;
}

.ilo-table-wrap {
  overflow-x: auto;
}

.ilo-position {
  min-width: 80px;
  width: 90px;
}

.ilo-position.ilo-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 .1rem rgba(220, 53, 69, .2);
}

.ilo-layer-rows td {
  vertical-align: middle;
}

.ilo-layer-rows small {
  color: #6c757d;
  display: block;
  margin-top: .1rem;
}
