/* ── EmoStack landing — styling lifted verbatim from the old PHP page ── */
@import url('https://fonts.googleapis.com/css2?family=Arizonia&family=Italianno&display=swap');

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: url('/static/img/bg.png') no-repeat center center fixed;
  background-size: cover;
  font-family: "Georgia", "Times New Roman", serif; /* lekko pisana, szeryfowa, dostępna */
  color: #555; /* delikatny szary */
  line-height: 1.6;
  text-align: center;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  z-index: 1000;
}

.navbar h2 {
  margin: 0 20px;
  font-size: 1.6em;
  color: white;
  font-family: "Arizonia", cursive;
}

.navbar h2 a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar h2 a:hover { color: silver; }
.navbar h2 a:visited { color: silver; }
.navbar h2 a:active { color: white; }
.navbar h2 a:focus { outline: none; color: white; }
.navbar h2 a:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.navbar h2 a:focus:not(:focus-visible) { outline: none; }

.overlay {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: grey;
}

.logo {
  max-width: 300px;
  margin-bottom: 30px;
}

p {
  text-align: justify;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

a { color: silver; text-decoration: underline; }
a:hover { color: white; }

h1, h2, h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: #333;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ── tiny user chip (top-right) for logged-in visitors ── */
.userchip {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 1001;
  font-family: "Georgia", serif;
  font-size: .85rem;
  color: #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}
.userchip a { color: #eee; text-decoration: none; }
.userchip a:hover { color: white; text-decoration: underline; }

/* ── login page ── */
.login-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.login-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 40px 44px;
  max-width: 420px;
  width: 100%;
  color: #f0f0f0;
}
.login-card h1 {
  font-family: "Arizonia", cursive;
  color: #fff;
  font-size: 2.6rem;
  margin: 0 0 6px;
}
.login-card .tagline {
  color: #cfcfcf;
  font-size: 1rem;
  margin-bottom: 26px;
}
.login-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #1f1f1f !important;
  text-decoration: none !important;
  font-family: "Georgia", serif;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  transition: filter .2s ease;
}
.login-google-btn:hover { filter: brightness(.95); color: #1f1f1f !important; }
.login-google-btn svg { width: 20px; height: 20px; }
.login-error {
  background: rgba(220, 80, 80, 0.18);
  border: 1px solid rgba(220, 80, 80, 0.45);
  color: #ffd9d9;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: .9rem;
  text-align: left;
}
.login-hint {
  color: #ddd;
  font-size: .85rem;
  background: rgba(255,255,255,.08);
  padding: 10px 14px;
  border-radius: 8px;
}
.login-hint code { color: #ffe9a8; }
