:root {
  --aunt-dialog-z-index: var(--aunt-z-index-full-screen);
  --aunt-dialog-width: calc(280 * var(--aunt-hd));
  --aunt-dialog-background-color: var(--aunt-white-color);
  --aunt-dialog-border-radius: var(--aunt-border-radius-lg);
  --aunt-dialog-padding: var(--aunt-padding-l);
  --aunt-dialog-header-font-size: var(--aunt-font-size-lg);
  --aunt-dialog-header-color: var(--aunt-text-color);
  --aunt-dialog-font-weight: var(--aunt-font-weight-bold);
  --aunt-dialog-horizontal-margin: var(--aunt-padding-l);
  --aunt-dialog-vertical-margin: var(--aunt-padding-sm);
  --aunt-dialog-content-max-height: 70vh;
  --aunt-dialog-content-font-size: var(--aunt-font-size-md);
  --aunt-dialog-content-line-height: var(--aunt-line-height-sm);
  --aunt-dialog-action-border: var(--aunt-border-width-base) solid var(--aunt-gray-2);
  --aunt-dialog-action-font-size: var(--aunt-font-size-lg);
  --aunt-dialog-action-color: var(--aunt-primary-color);
  --aunt-dialog-action-danger-color: var(--aunt-danger-color);
  --aunt-dialog-action-disabled-color: var(--aunt-active-color);
}

.aunt-dialog {
  width: var(--aunt-dialog-width);
  border-radius: var(--aunt-dialog-border-radius);
  background-color: var(--aunt-dialog-background-color);
  box-sizing: border-box;
  overflow: hidden;
}

.aunt-dialog--absolute {
  z-index: var(--aunt-dialog-z-index);
  position: fixed;
  left: 50%;
  top: 50%;
}

.aunt-dialog--margin {
  padding-top: var(--aunt-dialog-horizontal-margin);
}

.aunt-dialog--header-image {
  width: 100%;
  height: auto;
  margin-bottom: var(--aunt-dialog-vertical-margin);
}

.aunt-dialog__title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--aunt-dialog-horizontal-margin) var(--aunt-dialog-vertical-margin);
}

.aunt-dialog__title p {
  line-height: 1;
  font-size: var(--aunt-dialog-header-font-size);
  color: var(--aunt-dialog-header-color);
  font-weight: var(--aunt-dialog-font-weight);
}

.aunt-dialog__content {
  padding: 0 var(--aunt-dialog-horizontal-margin) var(--aunt-dialog-vertical-margin);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aunt-dialog__content p {
  max-height: var(--aunt-dialog-content-max-height);
  overflow-x: scroll;
  font-size: var(--aunt-dialog-content-font-size);
  line-height: var(--aunt-dialog-content-line-height);
}

.aunt-dialog__footer {
  display: flex;
}

.aunt-dialog__footer--horizontal {
  flex-direction: row;
  border-top: var(--aunt-dialog-action-border);
}

.aunt-dialog__footer--vertical {
  flex-direction: column;
}

.aunt-dialog__action {
  cursor: pointer;
  text-align: center;
  flex: 1;
  padding: var(--aunt-dialog-vertical-margin) 0;
  color: var(--aunt-dialog-action-color);
  font-size: var(--aunt-dialog-action-font-size);
}

.aunt-dialog__action--horizontal {
  border-right: var(--aunt-dialog-action-border);
}

.aunt-dialog__action--vertical {
  border-top: var(--aunt-dialog-action-border);
}

.aunt-dialog__action--bold {
  font-weight: var(--aunt-dialog-font-weight);
}

.aunt-dialog__action--danger {
  color: var(--aunt-dialog-action-danger-color);
}

.aunt-dialog__action--disabled {
  cursor: not-allowed;
  color: var(--aunt-dialog-action-disabled-color);
}

.aunt-dialog__action:last-child {
  border-right: none;
}