body {
  --ory-theme-font-family: Poppins, sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --ory-theme-font-style: normal;

  /* Accent (Primary Button Color) */
  --ory-theme-accent-def: #506c8c;             /* slate blue */
  --ory-theme-accent-muted: #3f5671;           /* hover */
  --ory-theme-accent-emphasis: #6481a1;        /* focused or strong state */
  --ory-theme-accent-disabled: #2c3e50;        /* when disabled */
  --ory-theme-accent-subtle: rgba(80, 108, 140, 0.1); /* background with accent */

  /* Foreground (Text) */
  --ory-theme-foreground-def: #e5e7eb;
  --ory-theme-foreground-muted: #9ca3af;
  --ory-theme-foreground-subtle: #6b7280;
  --ory-theme-foreground-disabled: #4b5563;
  --ory-theme-foreground-on-dark: #ffffff;
  --ory-theme-foreground-on-accent: #ffffff;
  --ory-theme-foreground-on-disabled: #9ca3af;

  /* Background */
  --ory-theme-background-surface: #1e293b;
  --ory-theme-background-canvas: #17202b;
  --ory-theme-background-subtle: #0f172a;

  /* Errors & Success */
  --ory-theme-error-def: #ff4d4f;
  --ory-theme-error-subtle: rgba(255, 77, 79, 0.1);
  --ory-theme-error-muted: #cc2b2b;
  --ory-theme-error-emphasis: #f44336;
  --ory-theme-success-emphasis: #40a829;

  /* Border & Inputs */
  --ory-theme-border-def: #2c3e50;
  --ory-theme-input-background: #17202b;
  --ory-theme-input-disabled: #1f2b37;
  --ory-theme-input-placeholder: #6b7280;
  --ory-theme-input-text: #e5e7eb;

  /* General Text */
  --ory-theme-text-def: #ffffff;
  --ory-theme-text-disabled: #6b7280;
}



body {
  margin: auto;
  min-height: 100vh;
  min-width: 100%;
  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: none;
  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);
  }
}

label,
.ory_elements__typography_size_small__vpyugz8,  /* Ory form labels */
.ory_elements__typography_type_regular__vpyugzm {
  color: var(--ory-theme-text-def) !important;
}

input,
textarea,
select {
  color: var(--ory-theme-input-text, #ffffff) !important;
}
