.universal-form-modal {
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  padding:5px;
  z-index:10000;
  display:flex;
  justify-content:center;
  align-items:center;
  background-color:rgb(0 0 0 / .4);
  transition:opacity .3s
}
.universal-form-modal * {
  box-sizing:border-box
}
.universal-form-modal-inner {
  background-color:#fff;
  border-radius:var(--universal-form-modal--border-radius,5px);
  border-style:none;
  box-shadow:0 16px 40px rgb(73 64 49 / .16);
  position:relative;
  z-index:1101;
  max-height:100%;
  max-width:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:5px 10px;
  gap:10px;
  transition:height .2s,width .2s
}
@media (min-width:450px) {
  .universal-form-modal {
    padding:10px
  }
  .universal-form-modal-inner {
    min-width:400px;
    padding:10px 20px
  }
}
.universal-form-modal-title {
  font-size:18px
}
.universal-form-modal-controls {
  display:flex;
  position:relative;
  right:-10px
}
.universal-form-modal-controls button {
  border:none;
  background:0 0;
  cursor:pointer;
  transition:.2s;
  font-size:14px;
  margin:0;
  padding:5px 10px
}
.universal-form-modal-controls button svg {
  height:14px
}
.universal-form-modal-controls button.universal-form-modal-close svg path {
  transition:.2s
}
.universal-form-modal-controls button.universal-form-modal-close:hover svg path {
  fill:#e74c3c
}
.universal-form-modal-controls button.universal-form-modal-close svg {
  height:19px
}
.universal-form-modal-header {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.universal-form-modal-body {
  overflow:auto;
  flex-grow:1;
  max-height:100%
}
.universal-form-modal-body-inner {
  max-height:100%
}
.universal-form-modal-footer {
  display:flex;
  gap:5px
}
.universal-form-modal-footer--center {
  justify-content:center
}
.universal-form-modal-footer--space-between {
  justify-content:space-between
}
.universal-form-modal iframe {
  border:none;
  width:100%;
  max-height:100%
}
