@font-face {
  font-family: "Circular STD";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url("static/fonts/CircularStd-Black.woff2") format("woff2");
}
@font-face {
  font-family: "Circular STD";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("static/fonts/CircularStd-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Circular STD";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("static/fonts/CircularStd-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Circular STD";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("static/fonts/CircularStd-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Circular STD";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("static/fonts/CircularStd-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Circular STD";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("static/fonts/CircularStd-Book.woff2") format("woff2");
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

::selection {
  background-color: #b5d7fe;
}

html,
body,
#root {
  background-color: var(--main-background-color);
}

body #root,
body #storybook-root {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: auto minmax(0, 1200px) auto;
  height: 100%;
}

body #root {
  min-height: 50vh;
  padding: 2rem 0;
}

body #storybook-root {
  min-height: calc(100vh - 40px);
}

body #root *[data-stay-selector*="mount-point"]:empty,
body #storybook-root *[data-stay-selector*="mount-point"]:empty {
  display: none;
}

body #retextion-content-root,
body #storybook-retextion-content-root {
  height: 100%;
}

@media screen and (min-width: 900px) {
  #retextion-content-root.legacy,
  #storybook-retextion-content-root.legacy {
    display: grid;
    gap: 3rem;
    grid-auto-flow: column;
    grid-auto-columns: auto minmax(0, 1fr);
  }
}

@media screen and (max-width: 900px) {
  div[role="presentation"] .MuiListItemButton-root.legacy {
    font-size: 14px;
    font-weight: unset;
  }
}

svg.StaySvgIcon-custom {
  width: unset;
  height: unset;
  font-size: unset;
}

.main {
  background-color: var(--main-background-color);
  padding-top: 0px !important;
}

.text-reverse-color {
  color: var(--text-reverse-color);
}

.active-link-color {
  color: var(--link-color);
}

.black-color {
  color: #000;
}

.stay-pink {
  color: var(--stay-ai-pink);
}

.stay-cta-icon-color {
  color: var(--cta-background-color);
}

.stay-zero-margin {
  margin: 0;
}

.MuiFormControl-root.stay-zero-margin {
  margin: 0;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-icon-container {
  margin: 0 auto 8px auto;
  width: 48px;
  height: 48px;
  background: var(--main-background-color);
  border-radius: 30px;
}

.carousel-container {
  display: flex;
  align-items: center;
  margin: 5px 0 24px 0;
}

.carousel-content {
  width: 100%;
}

.carousel-item {
  flex-shrink: 0;
  padding: 0 8px;
  display: inline-block !important;
  margin-right: 0 !important;
}

.form-control::placeholder {
  color: inherit;
  opacity: 0.3 !important;
}

#retention-engine-frame {
  border: none;
  border-radius: 16px;
  height: 100% !important;
  width: 100% !important;
  background-color: #ffffff;
}

.re-cancel-modal-header > button > svg {
  position: absolute;
  cursor: pointer;
  height: 36px;
  width: 36px;
  right: 0;
  top: 0;
  fill: white;
}

.MuiDateCalendar-root *:empty {
  display: initial !important;
}

/* Shopify themes import base.css which causes outline on text field when focus-visible */
*:focus-visible {
  outline: none;
  outline-offset: none;
  box-shadow: none;
}
