/* login page (gate) only, background in assets/bg.css: the coming soon after login is a copy of bioplast.app with its own inline CSS */
/* self-hosted: Google Fonts would send every visitor's IP to Google */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/_public/inter-latin.woff2) format("woff2"); }
/* brand rules as on bioplast.app: #1EC283 is too light for small text and buttons, they use the dark greens */
:root { --ink: #1F1F1F; --muted: #555E70; --line: #DCE1E7; --green: #1EC283; --green-dark: #0C3B29; --green-hover: #145C40; --green-ink: #07291B; }
* { box-sizing: border-box; }
::selection { background: var(--green); color: var(--green-ink); }
html { scrollbar-color: var(--line) transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }

body {
  margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden;
  display: flex; flex-direction: column;
  background: var(--green); color: var(--ink);
  font: 16px/1.5 Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }

/* frosted glass on the card only; the footer sits on the green itself, in #07291B (4.9:1 on #1EC283) */
.card { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.card { width: min(360px, 100%); padding: 32px 28px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 14px; box-shadow: 0 20px 50px rgba(27, 35, 54, .18); }
.logo { width: 190px; height: auto; display: block; margin: 0 auto; }
h1 { margin: 26px 0 22px; font-size: 22px; font-weight: 500; line-height: 1.25; text-align: center; }
label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
input { width: 100%; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; outline: none; }
input:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(30, 194, 131, .35); }
button { width: 100%; margin-top: 14px; padding: 11px; font: inherit; font-size: 14px; font-weight: 600; color: #fff; background: var(--green-dark); border: 0; border-radius: 6px; cursor: pointer; transition: background .15s; }
button:hover { background: var(--green-hover); }
button:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.err { margin: 12px 0 0; font-size: 13px; color: #B42318; }
.err:empty { display: none; } /* no reserved gap under the button until there is an error */

/* one small row, wraps only when it does not fit */
footer { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 20px; padding: 14px 16px; font-size: 11px; color: var(--green-ink); text-align: center; }
footer address { display: contents; font-style: normal; }
footer a { color: inherit; text-decoration: none; cursor: pointer; transition: opacity .15s; }
footer a:hover { opacity: .6; }
.ico { width: 12px; height: 12px; margin-right: 4px; vertical-align: -2px; }
.credit { display: inline-flex; align-items: center; gap: 4px; }
.heart { width: 11px; height: 11px; fill: #E5484D; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 12% { transform: scale(1.3); } 26% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .heart { animation: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
