.mgnl-dialog {
  display: grid;
  grid-template-rows: 60px auto 60px;
  border: 1px solid var(--mgnl-color-gray-10);
  border-radius: 12px;
  min-width: 500px;
  width: 600px;
  background-color: #fff;
  padding: 0;
  border-bottom: 2px solid #dbdbdb;
  border-top: 2px solid #dbdbdb;
  box-shadow: 0 5px 20px -10px #a3a3a3;
  font-family: var(--mgnl-typography-ui-default-md-font-family);
  font-size: 14px;
  transform: translateY(-200%);
  top: -200%;
  animation: slideOut 0.3s ease-in-out forwards;
}
.mgnl-dialog[open] {
  animation: slideIn 0.3s ease-in-out forwards;
  top: 0;
}
.mgnl-dialog::backdrop {
  animation: background 0.3s ease-in-out forwards;
}
.mgnl-dialog.fullscreen {
  min-height: 100%;
  min-width: 100%;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.mgnl-dialog__body {
  padding-top: 15px;
  padding-bottom: 15px;
}
.mgnl-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  padding-top: 0;
  padding-left: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  font-family: var(--mgnl-typography-ui-default-md-font-family);
  border-bottom: 1px solid #dbdbdb;
}
.mgnl-dialog__header__actions {
  display: flex;
  color: var(--mgnl-color-gray-50);
}
.mgnl-dialog__title {
  font-weight: 100;
  margin: 0;
  padding: 10px 0;
  font-size: 22px;
}
.mgnl-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 5px;
  padding-right: 10px;
  border-top: 1px solid #dbdbdb;
  margin-top: 10px;
  font-family: var(--mgnl-typography-ui-default-md-font-family);
  /* background-color: var(--mgnl-color-gray-20);        */
  font-size: 14px;
}
.mgnl-dialog__footer__actions {
  display: flex;
}
.mgnl-dialog__footer__actions > * {
  min-width: 100px;
}
.mgnl-dialog__footer__actions > *:not(:first-child) {
  margin-left: 15px;
}