/* Quick hack to include our themes */
body {
  --colors-accentBg: #142D41;
  --colors-accentBorder: #306999;
  --ory-theme-accent-def: #75B3E7;
  --ory-theme-accent-emphasis: #408ECF;
  --colors-accentMuted: #306999;
  --colors-accentOnAccent: #ffffff;
  --ory-theme-background-canvas: #141719;
  --ory-theme-background-subtle: #161d22;
  --colors-bgEmphasis: #141719;
  --colors-bgSubtle: #1F2B32;
  --ory-theme-background-surface: #161d22;
  --ory-theme-border-def: #4F6978;
  --colors-borderMuted: #1F2B32;
  --colors-borderSubtle: #243038;
  --colors-buttonPrimaryBgHover: #FDFDFE;
  --colors-buttonPrimaryBgRest: #F7FAFB;
  --colors-buttonPrimaryBorderRest: #EEF3F6;
  --colors-buttonPrimaryFg: #000000;
  --colors-buttonSecondaryBgHover: #141719;
  --colors-buttonSecondaryBgRest: #161d22;
  --colors-buttonSecondaryBorderRest: #243038;
  --colors-buttonSecondaryFg: #ffffff;
  --colors-dangerBg: #4b1b1b;
  --colors-dangerBorder: #c53030;
  --colors-dangerFg: #fc8181;
  --ory-theme-foreground-def: #ffffff;
  --ory-theme-foreground-disabled: #6A8EA2;
  --ory-theme-foreground-muted: #BED1DC;
  --colors-fgOnEmphasis: #ffffff;
  --colors-fgSubtle: #92B2C4;
  --colors-interactionBg: #161d22;
  --colors-interactionHandle: #ffffff;
  --colors-interactionHandleInactive: #1F2B32;
  --colors-modalBackdrop: rgba(20, 23, 25, 0.75);
  --colors-shadowDefault: rgba(0, 0, 0, 0.05);
  --colors-successBg: #122b1f;
  --colors-successBorder: #2f855a;
  --colors-successFg: #68d391;
  --colors-focus: #408ECF;
  --colors-contextMenuBg: #0b0d0e;
  --colors-contextMenuBgHover: #1F2B32;
  --colors-contextMenuBorder: #1F2B32;
  --colors-contextMenuFg: #ffffff;
  --colors-contextMenuFgDisabled: #92B2C4;
  --colors-contextMenuFgMuted: #BED1DC;
  --colors-contextMenuSeparator: #1F2B32;
  --colors-inputBg: #161d22;
  --colors-inputBorderRest: #1F2B32;
  --colors-loadingScreenBg: #141414;
  --colors-loadingScreenFg: #FFFFFF;
  --colors-loadingScreenFgMuted: #CECECE;
  --colors-spinnerDefaultActive: #ffffff;
  --colors-spinnerDefaultMuted: #1F2B32;
  --colors-spinnerOnAccentActive: #161d22;
  --colors-spinnerOnAccentMuted: #92B2C4;
  --colors-tooltipBg: #0b0d0e;
  --colors-tooltipBgAccent: #1F3D68;
  --colors-tooltipBgSubtle: #2B2A2A;
  --colors-tooltipFg: #ffffff;
  --colors-tooltipFgAccent: #A0C0EF;
  --colors-tooltipFgDanger: #E05534;
  --colors-tooltipFgMuted: rgba(255, 255, 255, 0.7);
  --shadows-buttonPrimaryShadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 1px 1px 0 #FFFFFF40, inset 0 2px 0 0 #ffffff;
  --shadows-buttonSecondaryShadow: 0 0 0 1px rgba(200, 200, 255, 0.1), 0 1px 1px 0 #000000, inset 0 0 0 0 #FFFFFF26;
  --shadows-contextMenu: 0 10px 38px -10px rgba(22, 23, 24, 0.35), 0 10px 20px -15px rgba(22, 23, 24, 0.2);
  --shadows-focus: 0 0 0 2px #408ECF;
  --shadows-focusDanger: 0 0 0 2px #4b1b1b;
  --shadows-focusMuted: 0 0 0 2px #90CDF4;
  --shadows-small: 0 2px 1px 0 rgba(0, 0, 0, 0.05);
  --shadows-tokenFocus: 0 0 0 2px #1F2B32;
}



body {
  margin: auto;
  min-height: 100vh;
  min-width: 100%; 
  color: var(--ory-theme-foreground-def);
  background: var(--ory-theme-background-canvas);
  display: flex;
  flex-direction: column;
}

/* the browser adds margins to these elements by default */
ul,
ol,
p,
h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0;
}

/* main contains all of our page elements - excluding the footer */
main {
  /* fill the page */
  flex: 1;
}

.divider {
  width: 4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.spacing-32 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.spacing-32-horizontal {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.spacing-16 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spacing-16-horizontal {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.spacing-8 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.divider-left {
  margin: 0;
}

.ory-branding {
  display: flex;
  flex-direction: row;
  gap: 0.375rem;
  align-items: center;
  padding-bottom: 2rem;
}

/* only manage the nav */
.main-nav {
  min-width: 18.75rem;
  position: fixed;
  height: auto;
  z-index: 1;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 2;
}

/* pushes the menu links to either side of the footer bar */
.footer-container {
  padding: 1rem 1.5rem;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75rem;
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ory-theme-foreground-muted);
  background-color: var(--ory-theme-background-surface);
}

.footer-divider {
  height: 0;
  border-top: 1px !important;
}

@media screen and (max-width: 24.375em) {
  .footer-container>div:last-child {
    display: none;
  }
}

@media screen and (max-width: 40em) {
  body {
    background: var(--ory-theme-background-surface);
  }
}

