/*
Standard WordPress admin colors.

Announcement post:
https://make.wordpress.org/core/2021/02/23/standardization-of-wp-admin-colors-in-wordpress-5-7/

Source:
https://codepen.io/ryelle/pen/WNGVEjw

A "wp" prefix has been added to avoid name conflicts with other code in this plugin.
 */
.ui-dialog .ui-dialog-buttonpane {
  background-color: #fcfcfc;
  border-top: 1px solid #dcdcde;
  padding: 8px;
  text-align: right;
}
.ui-dialog .ui-dialog-buttonpane .button-primary, .ui-dialog .ui-dialog-buttonpane .ame-dialog-confirm-button {
  float: left;
}

.ws_container .ws_subtype_heading_flag {
  background-image: url("heading.png");
}

.ame-mh-toggle-preview-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
}

.ame-mh-toggle-preview .ame-mh-toggle {
  background: #f6f7f7;
  min-height: 18px;
}

.ame-heading-preset-container {
  background: var(--ame-mh-detected-menu-background, #1d2327);
  max-width: 180px;
}
.ame-heading-preset-container a {
  color: var(--ame-mh-detected-menu-color, #f0f0f1);
  display: block;
  line-height: 1.3;
  font-size: 14px;
  text-decoration: none;
}
.ame-heading-preset-container a:focus, .ame-heading-preset-container a:active {
  box-shadow: none;
}
.ame-heading-preset-container .wp-menu-name {
  padding: 8px 8px 8px 36px;
}

.ame-mh-preset-previews {
  --ame-rcg-min-item-width: 200px;
}
.ame-mh-preset-previews .ame-radio-card-children {
  min-height: 36px;
}
.ame-mh-preset-previews .ame-radio-card-body {
  flex-grow: 1;
}

.ws-ame-menu-heading-dialog {
  --menu-based-offset: calc(var(--ame-ms-menu-width, 160px) + 10px);
  --available-width: calc(100vw - var(--menu-based-offset) - 30px);
  --dialog-width: max(min(var(--available-width), 825px), 200px);
  --centering-based-offset: calc((100vw - var(--dialog-width)) / 2);
  --dialog-left: max(var(--centering-based-offset), var(--menu-based-offset), 0px);
  position: fixed !important;
  bottom: 30px !important;
  top: calc(var(--wp-admin--admin-bar--height, 32px) + 10px) !important;
  left: var(--dialog-left) !important;
  width: var(--dialog-width) !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
}
.ws-ame-menu-heading-dialog .ui-dialog-titlebar {
  flex-grow: 0;
  flex-shrink: 0;
}
.ws-ame-menu-heading-dialog .ui-dialog-content {
  flex-grow: 1;
  flex-shrink: 1;
}
.ws-ame-menu-heading-dialog .ws_dialog_buttons {
  flex-shrink: 0;
  flex-grow: 0;
  padding: 8px;
  margin-top: 0;
  border-top: 1px solid #dcdcde;
  background: #fcfcfc;
}

#ws-ame-menu-heading-settings-next {
  padding: 0;
}

#ws-ame-mh-dialog-content {
  flex-grow: 1;
  flex-shrink: 1;
  min-height: 100px;
}

#ws-ame-mh-dialog-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/*# sourceMappingURL=menu-headings-editor.css.map */
