.password-page { margin: 0; background: #f5f7fb; color: #20304b; font-family: "Segoe UI", Arial, sans-serif; }
.password-page * { box-sizing: border-box; }
.password-page .container { display: grid; grid-template-columns: minmax(280px, 36%) 1fr; min-height: 100vh; height: auto; width: 100%; margin: 0; padding: 0; text-align: left; }
.password-page .left-column { width: auto; min-height: 100%; padding: 48px; background: #2463df; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.password-page .left-column img { width: min(100%, 240px); height: auto; }
.password-page .left-column .footer { position: absolute; bottom: 28px; left: 0; transform: none; width: 100%; text-align: center; font-size: 12px; }
.password-page .left-column .footer a { color: #e0ebff; text-decoration: none; }
.password-page .right-column { display: flex; align-items: center; justify-content: center; width: auto; padding: 40px 28px; background: #f5f7fb; }
.password-card { width: 100%; max-width: 470px; padding: 36px; border: 1px solid #e3e9f2; border-radius: 18px; background: #fff; box-shadow: 0 12px 36px rgba(31,54,91,.06); }
.password-page #loginForm { width: 100%; max-width: none; margin: 0; padding: 0; text-align: left; }
.password-eyebrow { color: #57729c; font-size: 10px; letter-spacing: .12em; font-weight: 600; }
.password-card h1 { font-size: 27px; font-weight: 650; line-height: 1.2; margin: 10px 0; color: #1d3151; }
.password-intro { margin: 0 0 26px; font-size: 14px; line-height: 1.6; color: #68778e; }
.password-card label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #334766; }
.password-input { display: flex; align-items: center; border: 1px solid #ccd7e6; background: #fff; border-radius: 9px; overflow: hidden; }
.password-input:focus-within { border-color: #6190ea; box-shadow: 0 0 0 3px #eaf1ff; }
.password-page .password-input input { min-width: 0; flex: 1; width: 100%; height: 46px; margin: 0; padding: 0 13px; border: 0; border-radius: 0; outline: none; background: transparent; color: #20304b; font: inherit; font-size: 14px; text-align: left; }
.password-page .password-toggle { flex: 0 0 auto; width: auto; margin: 0; padding: 10px 12px; border: 0; background: transparent; color: #3867ad; font-size: 12px; font-weight: 600; cursor: pointer; }
.password-page .password-toggle { border-radius: 6px; transition: background-color .15s ease, color .15s ease; }
.password-page .password-toggle:hover { background: transparent; color: #244e8a; }
.password-toggle:focus-visible { outline: 2px solid #6190ea; outline-offset: -3px; }
.password-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 12px 0 24px; padding: 12px; list-style: none; border-radius: 8px; background: #f5f8fc; }
.password-rules li { color: #728096; font-size: 11px; line-height: 1.5; }
.password-rules li::before { content: '○'; margin-right: 6px; }
.password-rules li.is-met { color: #287553; }
.password-rules li.is-met::before { content: '✓'; }
.password-hint { min-height: 18px; margin: 8px 0 15px; font-size: 12px; color: #af4141; }
.password-hint.is-match { color: #287553; }
.password-page #submit-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin: 0; padding: 12px 16px; border: 1px solid #1d56c9; border-radius: 9px; background: #2463df; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
.password-page #submit-button:hover:not(:disabled) { background: #1d4fc0; }
.password-page #submit-button:disabled { border-color: #d8e2f2; background: #e8effb; color: #8597b3; cursor: not-allowed; }
.password-page #submit-button:focus-visible { outline: 3px solid #bfdbfe; outline-offset: 3px; }
.password-footer { margin: 18px 0 0; color: #8290a3; font-size: 11px; line-height: 1.5; text-align: center; }
.password-feedback { padding: 12px; border-radius: 8px; background: #fff0ef; color: #a14343; font-size: 13px; line-height: 1.5; }
.password-feedback.is-success { background: #eaf6ef; color: #287553; }
.password-back { display: inline-block; color: #2463df; font-size: 14px; }
@media (max-width: 760px) {
 .password-page .container { grid-template-columns: 1fr; }
 .password-page .left-column { min-height: auto; padding: 24px; }
 .password-page .left-column img { width: 100px; }
 .password-page .left-column .footer { display: none; }
 .password-page .right-column { padding: 24px 16px; }
 .password-card { padding: 26px 22px; }
 .password-card h1 { font-size: 24px; }
}
@media (max-width: 370px) { .password-rules { grid-template-columns: 1fr; } }

.password-saving { min-height: 300px; padding: 40px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: #244b82; }
.password-page #loginForm[hidden], .password-saving[hidden] { display: none; }
.password-saving p { margin: 0; color: #64748b; font-size: 13px; }
.password-saving-spinner { width: 32px; height: 32px; border: 3px solid #dbe7fb; border-top-color: #2463df; border-radius: 50%; animation: password-saving-spin .8s linear infinite; }
@keyframes password-saving-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .password-saving-spinner { animation: none; } }
