:root {
  color-scheme: light;
}

html {
  min-height: 100%;
}

body.clerk-host-page {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  background: #fff;
}

body.clerk-host-page *,
body.clerk-host-page *::before,
body.clerk-host-page *::after {
  box-sizing: border-box;
}

.clerk-host-stack {
  width: 420px;
  max-width: calc(100vw - 48px);
  min-width: 0;
  display: grid;
  gap: 12px;
  justify-content: center;
  justify-items: center;
}

.clerk-host-mount {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.clerk-host-mount > * {
  min-width: 0;
  max-width: 100%;
}

.clerk-host-message {
  width: 100%;
  margin: 0;
  text-align: center;
}

.clerk-host-message:empty,
[hidden] {
  display: none !important;
}

@media (max-height: 700px) {
  body.clerk-host-page {
    align-items: flex-start;
  }
}
