/* Sign-in page, layered on home.css. Labels and buttons wrap for long translations. */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.header-home { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.login-shell { flex: 1; width: min(1180px, 100% - 40px); margin: 0 auto; padding: 56px 0 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 64px; }
.intro-panel { display: grid; gap: 20px; min-width: 0; }
.intro-panel h1 { font-size: clamp(34px, 4.4vw, 54px); }
.intro-points { margin: 8px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; color: var(--ink-soft); }
.intro-points li { display: flex; align-items: flex-start; gap: 12px; }
.intro-points li::before { content: ""; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.3 8 2.2 2.2 5.2-5.2' fill='none' stroke='%23c74a0e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.auth-panel { min-width: 0; display: grid; gap: 16px; }
.auth-card { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.tabs { padding: 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; border-radius: 12px; background: #f3efe8; }
.tab { min-height: 42px; padding: 8px 10px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font: 650 14px/1.3 var(--font-sans); white-space: normal; cursor: pointer; }
.tab.active { color: var(--ink); background: #fff; box-shadow: 0 2px 10px rgba(40, 28, 16, .1); }
.auth-form { margin-top: 28px; display: grid; gap: 16px; }
.form-heading { display: grid; gap: 6px; margin-bottom: 4px; }
.form-heading h2 { font-size: 28px; }
.form-heading p { color: var(--muted); font-size: var(--fs-small); }
.auth-form label { display: grid; gap: 7px; color: var(--ink-soft); font-size: var(--fs-small); font-weight: 600; }
.auth-form input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: 400 16px/1.3 var(--font-sans); transition: border-color .15s, box-shadow .15s; }
.auth-form input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(241, 100, 30, .15); }
.form-link-row { display: flex; justify-content: flex-end; margin-top: -6px; }
.form-link-row a { color: var(--brand-dark); font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.form-link-row a:hover { text-decoration: underline; }
.submit-button { min-height: 50px; padding: 12px 18px; border: 0; border-radius: 999px; color: #fff; background: var(--brand); font: 700 15px/1.3 var(--font-sans); white-space: normal; cursor: pointer; transition: background .15s; }
.submit-button:hover { background: var(--brand-dark); }
.submit-button:disabled { cursor: wait; opacity: .65; }
.secondary-button { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; font: 650 15px/1.3 var(--font-sans); white-space: normal; cursor: pointer; }
.text-link-button { justify-self: center; margin-top: 4px; padding: 8px; border: 0; color: var(--muted); background: transparent; font: 600 14px/1.3 var(--font-sans); cursor: pointer; }
.verification-panel { margin-top: 28px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.verification-panel .mail-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--brand-dark); background: var(--brand-soft); }
.verification-panel .mail-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.verification-panel h2 { font-size: 26px; }
.verification-panel p { color: var(--muted); font-size: var(--fs-small); overflow-wrap: anywhere; }
.verification-panel strong { color: var(--ink); }
.form-message { margin-top: 18px; padding: 12px 14px; border-radius: 10px; color: var(--bad); background: var(--bad-bg); font-size: var(--fs-small); overflow-wrap: anywhere; }
.form-message.success { color: var(--ok); background: var(--ok-bg); }
.security-note { margin-top: 20px; color: var(--muted); font-size: var(--fs-xs); text-align: center; }
.auth-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; color: var(--muted); font-size: var(--fs-xs); }
.auth-legal a { color: var(--muted); }
.hidden { display: none !important; }
@media (max-width: 980px) {
  .login-shell { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
  .intro-panel h1 { font-size: clamp(28px, 6vw, 40px); }
  .intro-points { display: none; }
}
@media (max-width: 640px) {
  .login-shell { width: calc(100% - 32px); padding: 24px 0 48px; }
  .auth-card { padding: 22px 18px; border-radius: 16px; }
  .form-heading h2 { font-size: 24px; }
  .header-home { display: none; }
}
