.login-page { margin: 0; background: #fff; color: #202c29; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 480px); min-height: 100vh; min-height: 100svh; }
.login-scene { position: relative; min-width: 0; overflow: hidden; background: #30473c; color: #fff; display: flex; flex-direction: column; padding: 42px 48px 32px; }
.login-scene-photo, .login-scene-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.login-scene-photo { object-fit: cover; object-position: center; }
.login-scene-shade { background: rgba(13, 32, 24, .43); }
.login-brand, .login-scene-title, .login-scene-footer { position: relative; z-index: 1; }
.login-brand { display: flex; align-items: center; gap: 13px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.login-brand-mark { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; background: #fff; color: #1d6b50; border-radius: 8px; }
.login-brand-mark svg { width: 24px; height: 24px; }
.login-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.login-company-logo { display: block; width: 80px; height: 80px; object-fit: contain; margin-bottom: 18px; }
.login-brand-caption { display: block; font-weight: 400; font-size: 12px; color: #e3e9e2; margin-top: 4px; }
.login-scene-title { margin-top: auto; margin-bottom: 88px; padding-top: 100px; max-width: 680px; }
.login-scene-label { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; }
.login-scene-label span { width: 7px; height: 7px; background: #f0bd71; border-radius: 50%; }
.login-scene-title h1 { font-size: 64px; line-height: 1.12; font-weight: 650; margin: 20px 0 28px; overflow-wrap: anywhere; text-wrap: balance; }
.login-scene-rule { width: 54px; height: 3px; background: #efbc75; }
.login-scene-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: #e4e9e3; }
.login-workspace { display: flex; flex-direction: column; min-width: 0; padding: 38px 46px 28px; background: #fff; }
.login-access { display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: #64736d; font-size: 12px; }
.login-access svg { width: 15px; height: 15px; color: #247252; }
.login-form-wrap { width: 100%; max-width: 380px; margin: auto; padding: 48px 0; animation: login-arrive .4s ease-out both; }
.login-welcome-icon { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; background: #edf5ef; color: #216a50; margin-bottom: 24px; }
.login-welcome-icon svg { width: 28px; height: 28px; stroke-width: 1.7; }
.login-restaurant-logo { display: block; max-width: 160px; max-height: 70px; object-fit: contain; object-position: left center; margin-bottom: 24px; }
.login-form-wrap h2 { font-size: 30px; line-height: 1.25; font-weight: 700; margin: 0 0 10px; }
.login-intro { color: #6c7872; font-size: 14px; margin-bottom: 32px; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; font-size: 13px; font-weight: 600; color: #37463e; margin-bottom: 9px; }
.login-input-wrap { position: relative; display: flex; align-items: center; min-width: 0; }
.login-input-wrap > svg { position: absolute; left: 16px; width: 18px; height: 18px; color: #85918a; pointer-events: none; }
.login-input-wrap input { width: 100%; min-width: 0; height: 54px; border: 1px solid #dce3dd; border-radius: 6px; background: #fff; color: #23382c; padding: 0 48px 0 46px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.login-input-wrap input::placeholder { color: #939d97; font-size: 14px; }
.login-input-wrap input:focus { border-color: #287554; box-shadow: 0 0 0 3px rgba(40,117,84,.1); }
.login-password-toggle { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; border: 0; border-radius: 4px; background: transparent; color: #78867d; display: grid; place-items: center; }
.login-password-toggle svg { width: 19px; height: 19px; }
.login-password-toggle:hover { color: #216a50; background: #f0f5f1; }
.login-password-toggle:focus-visible, .login-submit:focus-visible { outline: 3px solid #a3c5b2; outline-offset: 3px; }
.login-submit { width: 100%; min-height: 54px; border: 1px solid #1e634a; border-radius: 6px; background: #216c50; color: #fff; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; transition: background .15s, transform .15s; }
.login-submit > svg { width: 18px; height: 18px; }
.login-submit:hover { background: #17513b; }
.login-submit:active { transform: translateY(1px); }
.login-submit:disabled { cursor: wait; opacity: .8; }
.login-submit[aria-busy="true"] > svg { display: none; }
.login-spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: login-spin .7s linear infinite; }
.login-error { background: #fff0ef; border: 1px solid #f0ceca; border-radius: 6px; color: #9a372c; font-size: 13px; padding: 12px 14px; margin-bottom: 22px; }
.login-caps-hint { display: block; margin-top: 8px; color: #9a621c; font-size: 12px; }
.login-private-note { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 11px; color: #869088; margin-top: 24px; }
.login-private-note svg { width: 12px; height: 12px; flex-shrink: 0; }
.login-workspace-footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 10px; color: #8a948f; }
.login-page [hidden] { display: none !important; }
@keyframes login-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .login-layout { grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); }
  .login-scene { padding: 32px; }
  .login-scene-title h1 { font-size: 48px; }
  .login-workspace { padding: 32px; }
  .login-scene-footer { flex-direction: column; }
}
@media (max-width: 767px) {
  .login-layout { grid-template-columns: minmax(0, 1fr); }
  .login-scene { min-height: 222px; padding: 24px; }
  .login-scene-photo { object-position: center 52%; }
  .login-brand { font-size: 15px; gap: 10px; }
  .login-brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .login-brand-mark svg { width: 20px; height: 20px; }
  .login-brand-caption { font-size: 10px; }
  .login-scene-title { margin: 26px 0 0; padding: 0; }
  .login-scene-title h1 { font-size: 36px; margin: 8px 0 14px; }
  .login-scene-label { font-size: 10px; }
  .login-scene-footer { display: none; }
  .login-workspace { padding: 24px; }
  .login-access { display: none; }
  .login-form-wrap { padding: 12px 0 32px; }
  .login-welcome-icon { display: none; }
  .login-form-wrap h2 { font-size: 26px; }
  .login-intro { margin-bottom: 24px; }
  .login-restaurant-logo { max-height: 45px; margin-bottom: 18px; }
  .login-company-logo { width: 64px; height: 64px; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-form-wrap, .login-spinner { animation: none; }
  .login-page * { transition: none; }
}
