/* Amazon Project — login / first access / forgot password (light corporate theme). */
:root {
  --blue: #0B4F9C; --blue-2: #0A3F7D; --blue-soft: #E8F0FA; --ink: #0F1B2D; --ink-2: #4A5B72; --ink-3: #8393A7;
  --line: #D9E1EB; --bg: #F4F6F9; --white: #FFFFFF; --red: #C0352B; --red-bg: #FDECEA; --green: #1D8A4E; --orange: #F48221;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

.lg { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, 1fr); }

/* visual side */
.lg-visual { position: relative; overflow: hidden; background: #071A30; }
.lg-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.lg-visual-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 44, .15) 0%, rgba(4, 22, 44, .25) 45%, rgba(4, 22, 44, .88) 100%),
              linear-gradient(90deg, rgba(4, 22, 44, .55) 0%, rgba(4, 22, 44, 0) 60%); }
.lg-visual-copy { position: absolute; left: 48px; right: 48px; bottom: 44px; color: #fff; }
.lg-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.lg-visual-title { margin-top: 12px; font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.lg-visual-note { margin-top: 18px; font-size: 11px; color: rgba(255, 255, 255, .62); }

/* form side */
.lg-panel { display: flex; align-items: center; justify-content: center; padding: 40px 32px; background: var(--white); }
.lg-card { width: 100%; max-width: 400px; }
.lg-logo { display: block; height: 30px; width: auto; margin-bottom: 26px; }
.lg-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.lg-sub { margin: 4px 0 26px; font-size: 14px; color: var(--ink-2); }
.lg-h2 { margin: 0 0 16px; font-size: 18px; font-weight: 600; }
.lg-hint { margin: -6px 0 16px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.lg-field { display: block; margin-bottom: 14px; }
.lg-field > span:first-child { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.lg-field input { width: 100%; height: 44px; padding: 0 14px; font: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 9px; outline: none; transition: border-color .15s, box-shadow .15s; }
.lg-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 79, 156, .14); }
.lg-pw { position: relative; display: block; }
.lg-pw input { padding-right: 68px; }
.lg-eye { position: absolute; right: 6px; top: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: var(--blue-soft);
  color: var(--blue); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }

.lg-row { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 18px; font-size: 13px; }
.lg-check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); cursor: pointer; }
.lg-check input { width: 16px; height: 16px; accent-color: var(--blue); }
.lg-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.lg-link:hover { text-decoration: underline; }

.lg-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border: 0; border-radius: 9px;
  background: var(--blue); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s; }
.lg-btn:hover { background: var(--blue-2); }
.lg-btn:disabled { opacity: .6; cursor: default; }
.lg-btn-ghost { background: var(--blue-soft); color: var(--blue); }
.lg-btn-ghost:hover { background: #DBE7F6; }
.lg-alt { margin: 18px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-2); }

.lg-msg { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.45; background: var(--red-bg); color: var(--red); }
.lg-rules { list-style: none; margin: -4px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 12px; color: var(--ink-3); }
.lg-rules li::before { content: "○"; margin-right: 6px; }
.lg-rules li.ok { color: var(--green); }
.lg-rules li.ok::before { content: "✓"; }

.lg-done { text-align: center; }
.lg-done-ic { width: 56px; height: 56px; margin: 4px auto 16px; border-radius: 50%; background: #E6F5EC; display: grid; place-items: center; }
.lg-done-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lg-done-msg { margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.lg-foot { margin: 30px 0 0; font-size: 11.5px; color: var(--ink-3); text-align: center; }

@media (max-width: 900px) {
  .lg { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .lg-visual img { object-position: 56% 45%; }
  .lg-visual { height: 230px; }
  .lg-visual-copy { left: 22px; right: 22px; bottom: 18px; }
  .lg-visual-title { font-size: 20px; margin-top: 6px; }
  .lg-visual-title br { display: none; }
  .lg-visual-note { margin-top: 6px; }
  .lg-panel { align-items: flex-start; padding: 28px 18px 36px; }
}
