/* The look of the small pages around the app: login.html, profile.html and terms.html (index.html has its own).
   Every text is written twice: Hebrew, then <span lang="en">English</span> on a smaller line under it. */
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px; box-sizing: border-box;
       background: #FFF8EC; color: #2B2D42; font-family: "Varela Round", "Rubik", "Arial Hebrew", sans-serif; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 6px;
               background: linear-gradient(90deg, #FFC93C 0 25%, #FF9F43 0 50%, #4CAF50 0 75%, #222 0); }
.card { width: min(100%, 360px); background: #fff; border: 3px solid #111; border-radius: 10px; box-shadow: 6px 6px 0 #111; padding: 28px 24px;
        box-sizing: border-box; text-align: right; }  /* right, also for the English lines: they run left-to-right but line up with the Hebrew */
.card.wide { width: min(100%, 560px); }
.icon { font-size: 3rem; text-align: center; line-height: 1; }
h1 { margin: .4rem 0 1.4rem; text-align: center; font-size: 1.6rem; }
h2 { margin: 0 0 1rem; font-size: 1.25rem; }
span[lang="en"] { display: block; font-size: .8em; opacity: .75; direction: ltr; }
label { display: block; margin-bottom: 1rem; font-weight: 600; }
label span { font-weight: 400; }
input { width: 100%; box-sizing: border-box; margin-top: .35rem; padding: .7rem .8rem; font: inherit; font-size: 1.1rem;
        border: 2px solid #2B2D42; border-radius: 8px; direction: ltr; text-align: left; }
input:focus { outline: 3px solid #4FA3D9; outline-offset: 1px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }  /* a tick box with its text */
.check input { width: 1.3rem; height: 1.3rem; flex: none; margin: .1rem 0 0; }
button { width: 100%; margin-top: .4rem; padding: .8rem; font: inherit; font-size: 1.2rem; font-weight: 600; cursor: pointer;
         background: #4FA3D9; color: #fff; border: 3px solid #111; border-radius: 8px; box-shadow: 4px 4px 0 #111; }
button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #111; }
a { color: #1D5FC4; }
.hint { margin: 0 0 1rem; }
.links { display: flex; justify-content: space-between; gap: 1rem; margin: 1.2rem 0 0; font-size: .95rem; }
/* messages: the server answers with page#<id>, and :target shows that one */
.msg { display: none; margin: 0 0 1rem; padding: .6rem .8rem; border-radius: 8px; background: #FFE9E2; border: 2px solid #FF8A6B; }
.msg.ok { background: #E3F6E5; border-color: #4CAF50; }
.msg:target { display: block; }
