/* Login shares its visual foundation with merchant registration. */
.merchant-login { display: flex; flex-direction: column; }
.merchant-login .register-topbar, .merchant-login .register-footer { width: 100%; }
.merchant-login .login-layout { flex: 1; width: 100%; max-width: 1120px; align-items: center; gap: clamp(36px, 5vw, 72px); padding-block: 20px 40px; }
.merchant-login .register-story { position: static; padding-top: 0; }
.merchant-login .register-story h2 { font-size: clamp(32px, 3.2vw, 42px); }
.merchant-login .register-story-description { margin-bottom: 22px; }
.merchant-login .register-photo { max-height: 390px; object-position: center 44%; }
.merchant-login .register-story-benefits { margin-bottom: 0; }
.login-form-card { width: 100%; max-width: 490px; margin-inline: auto; padding: clamp(28px, 3.5vw, 44px); }
.login-welcome-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 24px; border: 1px solid #edd8e7; border-radius: 15px; background: #f9edf5; color: var(--register-primary); }
.login-welcome-icon svg { width: 24px; height: 24px; }
.login-form-card .register-form-heading { padding-bottom: 26px; }
.login-fields { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.login-password-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.login-password-heading a { color: var(--register-primary); font-size: 12px; font-weight: 700; }
.login-remember { display: inline-flex; align-items: center; gap: 9px; margin-block: 22px; color: var(--register-muted); font-size: 13px; cursor: pointer; }
.login-remember input { width: 17px; height: 17px; margin: 0; accent-color: var(--register-primary); }
.login-register-prompt { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--register-border); text-align: center; }
.login-register-prompt p { margin: 0 0 12px; color: var(--register-muted); font-size: 16px; line-height: 1.6; }
.login-register-prompt > a { display: inline-flex; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #e6cce0; border-radius: 10px; background: #fdf7fb; color: var(--register-primary); font-size: 13px; font-weight: 700; transition: background .2s ease; }
.login-register-prompt > a:hover { background: #f7eaf3; }
.login-help { justify-content: center; margin-top: 22px; font-size: 11px; line-height: 1.6; }
.login-status { margin-bottom: 20px; padding: 12px 14px; border: 1px solid #d3e8d9; border-radius: 10px; background: #f0f8f2; color: #3b7250; font-size: 14px; line-height: 1.6; }
@media (max-width: 1000px) { .merchant-login .login-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .login-form-card { padding: 28px; } }
@media (max-width: 760px) {
    .merchant-login .login-layout { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 0; padding-top: 16px; }
    .merchant-login .register-story { display: flex; flex-direction: column; }
    .merchant-login .register-story > .register-eyebrow, .merchant-login .register-story > h2, .merchant-login .register-story-description, .merchant-login .register-story-benefits { display: none; }
    .merchant-login .register-photo-frame { margin-bottom: 22px; }
    .merchant-login .register-photo { height: 220px; max-height: none; object-position: center 32%; }
    .login-form-card { max-width: none; }
    .login-welcome-icon { width: 40px; height: 40px; margin-bottom: 18px; }
}
@media (max-width: 480px) { .login-form-card { padding: 26px 22px; } .merchant-login .register-top-actions .register-login { max-width: 155px; text-align: end; font-size: 12px; } .merchant-login .register-photo { height: 190px; } }
@media (prefers-reduced-motion: reduce) { .login-register-prompt > a { transition: none; } }
