/* =============================================================================
   Gigogne — base/site.css
   Engine-only styles: login modal (injected unauthenticated by render.php).

   Front-end layout, typography, tokens, and .gig-* structural rules all belong
   in the host project's assets/site.css — that is the single entry point for
   any design work. Nothing here should influence the rendered front-end.

   Editor UI styles (toolbar, panels, popovers, block controls) live in
   editor.css, which is only loaded when authenticated.
   ============================================================================= */


/* -----------------------------------------------------------------------------
   Login modal
   Injected by render.php before </body> on every request so the owner can
   reach Ctrl+Shift+G even when not authenticated. Must be in this file
   (not editor.css) because editor.css loads only after login.
   ----------------------------------------------------------------------------- */

#gig-login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gig-login-backdrop {
  position: absolute;
  inset: 0;
}

.gig-login-box {
  position: relative;
  background: #222;
  padding: 24px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.gig-login-box p {
  margin: 0;
  font-size: 14px;
  opacity: .7;
}

.gig-login-box input {
  font-size: 24px;
  letter-spacing: .3em;
  text-align: center;
  padding: 8px;
  background: #333;
  border: 1px solid #555;
  border-radius: 4px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}
