/* Login page (spec 2.5, 3): a standalone screen outside the left-menu shell.
   Background: an AI-generated photo-style image of the app's own theme
   (stage lighting / sanctuary / sheet music / a broadcast console), no
   recognizable face, no text in the frame, blurred with CSS -- the file
   itself (app/static/img/login-bg.webp) stays sharp so it can be reused
   un-blurred elsewhere later. If the file is missing, --login-bg-fallback
   (a plain dark tone) shows instead of a broken page. */

body {
  background: #14161a;
  /* The card is centered with flex layout on the body itself (not a fixed
     top margin, which pinned it near the top of the viewport on desktop) so
     it's vertically centered on tall/desktop viewports while still fitting
     entirely on screen at mobile widths (spec 3, 390px). */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px 0;
}

.login-bg {
  position: fixed;
  inset: -24px; /* wider than the viewport so the blur doesn't show a sharp edge */
  background-color: #14161a;
  background-image: url("/static/img/login-bg.webp");
  background-size: cover;
  background-position: center;
  /* intent D26 asked for a slight blur ("약간 블러") -- 18px nearly hid the
     photo entirely. Legibility comes from .login-scrim's dark overlay, not
     from stacking on more blur. */
  filter: blur(6px);
  transform: scale(1.06);
  z-index: 0;
}

.login-scrim {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.55), rgba(10, 11, 14, 0.75));
  z-index: 1;
}

.login-card {
  position: relative;
  z-index: 2;
  width: min(440px, calc(100vw - 32px));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.login-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.login-mark img {
  display: block;
  width: 48px;
  height: 48px;
}

.login-card h1 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.login-sub {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.login-notice {
  background: #fdeceb;
  color: #9c2b22;
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  text-align: left;
}

.login-notice--hidden { display: none; }

.g_id_signin { display: flex; justify-content: center; margin-bottom: 1.25rem; }

.login-legal {
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin: 0;
}
