/* Logged-in header and lobby (docs/ui-screens.md: Header, 7. Početna). Used by index.html and nalog.html. */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 10px 20px; background: rgba(0,0,0,.38); font-family: 'Roboto', Arial, sans-serif;
}
.site-header .wordmark { font-weight: 900; font-size: 24px; color: #FAF7EF; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.site-header .wordmark .logo { display: block; width: 40px; height: auto; }
/* Phones: logo only; the name stays for screen readers. */
@media (max-width: 480px) {
  .site-header .wordmark .logo { width: 48px; }
  .site-header .wordmark .wm-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.site-header .right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.site-header .who { color: #FAF7EF; font-size: 15px; }
.site-header a.account-link { color: #FAF7EF; font-size: 15px; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.site-header button.logout {
  font: 500 15px 'Roboto', Arial, sans-serif; color: #FAF7EF; background: transparent;
  border: 1.5px solid #FAF7EF; border-radius: 8px; width: auto; height: auto; min-height: 44px; padding: 0 16px; cursor: pointer;
}
.site-header a:focus-visible, .site-header button:focus-visible { outline: 3px solid #F9A825; outline-offset: 2px; }
.site-header .right.guest { gap: 12px; }
.site-header .right.guest a {
  font: 500 15px 'Roboto', Arial, sans-serif; color: #FAF7EF; text-decoration: none; min-height: 44px;
  display: inline-flex; align-items: center; padding: 0 16px; border: 1.5px solid #FAF7EF; border-radius: 8px;
}
.site-header .right.guest a.primary { background: #FAF7EF; color: #1B5E34; }
.site-header .right.guest a:focus-visible { outline: 3px solid #F9A825; outline-offset: 2px; }
.lobby { max-width: 440px; margin: 0 auto; padding: 28px 20px 8px; display: grid; gap: 20px; font-family: 'Roboto', Arial, sans-serif; }
.lobby-card { background: #FAF7EF; border-radius: 12px; padding: 32px 28px; box-shadow: 0 8px 24px rgba(0,0,0,.4); display: grid; gap: 14px; color: #1d1d1b; }
.lobby-card h2 { margin: 0; font: 700 24px 'Roboto', Arial, sans-serif; color: #1d1d1b; text-align: left; letter-spacing: 0; }
.lobby-card p { margin: 0; font-size: 16px; }
.lobby label { display: grid; gap: 6px; font: 500 14px 'Roboto', Arial, sans-serif; }
.lobby input, .lobby select { height: 48px; font: 16px 'Roboto', Arial, sans-serif; padding: 0 12px; border: 1px solid #6b6b64; border-radius: 8px; background: #fff; }
.lobby button { width: 100%; height: 48px; border-radius: 8px; font: 500 16px 'Roboto', Arial, sans-serif; cursor: pointer; }
.lobby button.primary { background: #1B5E34; color: #fff; border: 0; }
.lobby button.secondary { background: transparent; color: #1B5E34; border: 1.5px solid #1B5E34; }
.lobby button:disabled, .lobby input:disabled { opacity: .55; cursor: default; }
.lobby .soon { font-size: 13px; color: #55554e; }
.lobby-form { display: grid; gap: 14px; margin: 0; }
.lobby-card .lobby-err { margin: 0; color: #B71C1C; font-size: 14px; }
.lobby label.check { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 16px; }
.lobby label.check input { width: 22px; height: 22px; margin: 0; }
.lobby input:focus-visible, .lobby button:focus-visible { outline: 3px solid #F9A825; outline-offset: 2px; }
.alert-ok { background: #E6F2EA; color: #14472A; border: 1px solid #9cc7ab; border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.alert-ok a { color: #14472A; text-underline-offset: 4px; text-decoration-thickness: 1px; }
[hidden] { display: none !important; }
