/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

/* Hard safety net: nothing on the page — no matter how it was built or
   what gets added later — is ever allowed to push the viewport sideways.
   This is what actually makes the app "fit everywhere" on small phones;
   individual component widths already use %/max-width, but a single
   oversized child anywhere could otherwise force the whole page to
   scroll horizontally. */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  background: #0a1923;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(145deg, #0B2B26 0%, #1A4A3F 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Changed from justify-content:center — on small screens the signup form
     was taller than the viewport and the top got hidden with no way to scroll */
  justify-content: flex-start;
  padding: 1.5rem 1rem 2rem;
  position: relative;
  overscroll-behavior: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjciIG51bU9jdGF2ZXM9IjMiLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjZikiIG9wYWNpdHk9IjAuMDYiLz48L3N2Zz4=');
  background-repeat: repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

