/* ../../../../OneDrive/Documents/ChatGPT/site web f2d2/src/preview/ButtonSettingsPopup.css */
.ox-button-dialog {
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid #38515f;
  border-radius: 24px;
  background: #101e28;
  color: #edf6fc;
  box-shadow: 0 28px 100px #0008;
  font:
    15px/1.5 Inter,
    Arial,
    sans-serif;
  overflow: hidden;
  color-scheme: dark;
}
.ox-button-dialog::backdrop {
  background: #041019b8;
  backdrop-filter: blur(5px);
}
.ox-button-dialog * {
  box-sizing: border-box;
}
.ox-button-dialog h2,
.ox-button-dialog h3,
.ox-button-dialog p {
  margin: 0;
}
.ox-button-header {
  padding: 26px 30px;
  border-bottom: 1px solid #304450;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.ox-button-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  color: #65e5c2;
}
.ox-button-header h2 {
  font-size: 27px;
  line-height: 1.3;
  margin: 6px 0;
}
.ox-button-header p,
.ox-button-help,
.ox-button-footer > span {
  font-size: 13px;
  color: #b3c6d3;
}
.ox-button-dialog button,
.ox-button-dialog input,
.ox-button-dialog select {
  font: inherit;
}
.ox-button-dialog button {
  border: 1px solid #466170;
  border-radius: 10px;
  background: #20333f;
  color: #f4f8fc;
  padding: 10px 16px;
  cursor: pointer;
}
.ox-button-dialog button:focus-visible,
.ox-button-dialog input:focus-visible,
.ox-button-dialog select:focus-visible {
  outline: 3px solid #56d9b6;
  outline-offset: 3px;
}
.ox-button-header > button {
  font-size: 25px;
  align-self: flex-start;
  padding: 1px 12px;
}
.ox-button-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  max-height: calc(100dvh - 266px);
  min-height: 300px;
}
.ox-button-form {
  overflow-y: auto;
  padding: 26px 30px;
  scrollbar-gutter: stable;
}
.ox-button-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 30px;
  min-width: 0;
}
.ox-button-form legend {
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 12px;
}
.ox-button-help {
  margin: 0 0 14px !important;
}
.ox-button-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 17px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}
.ox-button-field input:not([type=color]),
.ox-button-field select {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #425a69;
  background: #172c38;
  color: #edf6fc;
  padding: 10px 12px;
}
.ox-button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.ox-button-color {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.ox-button-color input {
  width: 44px;
  height: 40px;
  padding: 3px;
  border: 1px solid #425a69;
  border-radius: 8px;
  background: #172c38;
}
.ox-button-color code {
  font-size: 12px;
  color: #b3c6d3;
}
.ox-button-color button {
  padding: 5px 9px;
  margin-left: auto;
}
.ox-button-preview {
  padding: 28px;
  border-left: 1px solid #304450;
  background: #0c1821;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  overflow: auto;
}
.ox-button-preview h3 {
  font-size: 21px;
  margin: 6px 0 18px;
}
.ox-button-preview-tabs {
  display: flex;
  gap: 8px;
}
.ox-button-preview-tabs [aria-pressed=true] {
  background: #13493f;
  border-color: #2bdbab;
  color: #8ef5d7;
}
.ox-button-preview-stage {
  min-height: 220px;
  flex: 1;
  background: #f0f4f8;
  background-image: radial-gradient(#becad5 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.ox-button-preview-stage button {
  transition:
    background-color .15s,
    color .15s,
    box-shadow .15s;
}
.ox-button-destination {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.ox-button-destination code {
  display: block;
  padding: 10px 0;
  color: #85ead0;
}
.ox-button-destination p {
  color: #a9bdcc;
  font-size: 12px;
}
.ox-button-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #304450;
  padding: 19px 30px;
  background: #132530;
}
.ox-button-footer > div {
  display: flex;
  gap: 10px;
}
.ox-button-dialog .ox-button-apply {
  background: #25d4a5;
  color: #052f26;
  border-color: #25d4a5;
  font-weight: 750;
}
.ox-button-error {
  color: #ffbbbc;
  padding: 12px;
  background: #471e29;
  border-radius: 8px;
}
.ox-button-dialog button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
@media (max-width: 760px) {
  .ox-button-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }
  .ox-button-header {
    padding: 18px;
  }
  .ox-button-header h2 {
    font-size: 22px;
  }
  .ox-button-body {
    display: block;
    overflow: auto;
    max-height: calc(100dvh - 260px);
  }
  .ox-button-form {
    overflow: visible;
    padding: 20px;
  }
  .ox-button-preview {
    border-left: 0;
    border-top: 1px solid #304450;
    padding: 20px;
  }
  .ox-button-footer {
    padding: 16px;
    align-items: stretch;
  }
  .ox-button-footer > span {
    display: none;
  }
  .ox-button-footer > div {
    width: 100%;
    justify-content: flex-end;
  }
}
.ox-button-body {
  height: min(670px, calc(100dvh - 266px));
}
.ox-button-form,
.ox-button-preview {
  min-height: 0;
}
.ox-button-preview-stage {
  flex: 1 1 220px;
}
.ox-button-footer {
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .ox-button-body {
    height: calc(100dvh - 260px);
  }
  .ox-button-preview {
    overflow: visible;
  }
  .ox-button-preview-stage {
    min-height: 200px;
  }
}
