:root {
  color-scheme: light;
  --nkwa-green: #2fb28f;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}

#app,
#ballerine-sdk {
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 100%;
  background: var(--bg);
}

#ballerine-sdk > *,
#blrn-app {
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
}

#blrn-app .container {
  min-height: 100% !important;
  height: 100% !important;
}

.centered {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  padding-top: max(1.5rem, env(safe-area-inset-top, 0px));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.centered h1 {
  margin: 0;
  font-size: 1.5rem;
}

.centered p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.5;
}

.done h1 {
  color: var(--nkwa-green);
}

.hidden {
  display: none !important;
}
