body.password-page {
    margin: 0;
    color: #233d4a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.password-page *,
.password-page *::before,
.password-page *::after {
    box-sizing: border-box;
}

.password-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 24px 20px;
}

.password-card {
    width: 100%;
    max-width: 480px;
    padding: 36px 40px 28px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(23, 62, 82, .16), 0 3px 12px rgba(23, 62, 82, .05);
}

.password-header {
    margin-bottom: 28px;
    text-align: center;
}

.password-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.password-logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 110px;
}

.password-eyebrow {
    margin: 0 0 9px;
    color: #527482;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.password-header h1 {
    margin: 0 0 12px;
    color: #203f50;
    font-size: 26px;
    font-weight: 650;
    letter-spacing: -.6px;
    line-height: 1.25;
}

.password-intro {
    margin: 0;
    color: #647681;
    font-size: 14px;
    line-height: 1.65;
}

.password-field {
    margin-bottom: 22px;
}

.password-field label {
    display: block;
    margin-bottom: 8px;
    color: #304c5b;
    font-size: 13px;
    font-weight: 600;
}

.password-input-wrap {
    position: relative;
}

.password-input-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #7d919d;
    pointer-events: none;
}

.password-input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 12px 14px 12px 46px;
    color: #233d4a;
    background: #fff;
    border: 1px solid #cfdae1;
    border-radius: 9px;
    font: inherit;
    transition: border-color .15s, box-shadow .15s;
}

.password-input::placeholder {
    color: #85949f;
    opacity: 1;
}

.password-input:focus {
    border-color: #36748b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(54, 116, 139, .13);
}

.password-input[readonly] {
    color: #516775;
    background: #f1f5f7;
    cursor: default;
}

.password-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 12px;
    padding: 12px;
    color: #496b7c;
    background: #edf5f9;
    border: 1px solid #dceaf1;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
}

.password-notice svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.password-notice p {
    margin: 0;
}

.password-help,
.password-error {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.5;
}

.password-help {
    color: #647681;
}

.password-error {
    color: #b13838;
}

.password-field.has-error .password-input {
    border-color: #c64c4c;
}

.password-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    color: #fff;
    background: #235c73;
    border: 1px solid #235c73;
    border-radius: 9px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s, box-shadow .15s;
}

.password-submit svg {
    flex-shrink: 0;
}

.password-submit:hover:not(:disabled) {
    background: #1c4d62;
    box-shadow: 0 4px 12px rgba(35, 92, 115, .18);
}

.password-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.password-submit:focus-visible,
.password-page a:focus-visible {
    outline: 3px solid #36748b;
    outline-offset: 4px;
}

.password-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e7edf1;
    color: #647681;
    font-size: 13px;
    text-align: center;
}

.password-footer a {
    color: #235c73;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.password-card .alert {
    position: relative;
    padding-right: 40px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.password-card .alert-danger {
    color: #fff;
}

.password-card .alert-close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.password-card .alert-close .la-close::before {
    content: "\00d7";
    font-size: 22px;
    font-style: normal;
    line-height: 1;
}

.password-card--reset {
    padding: 24px 36px 20px;
}

.password-card--reset .password-logo {
    margin-bottom: 16px;
}

.password-card--reset .password-logo img {
    max-height: 56px;
}

.password-card--reset .password-eyebrow {
    display: none;
}

.password-card--reset .password-header {
    margin-bottom: 20px;
}

.password-card--reset .password-header h1 {
    margin-bottom: 8px;
    font-size: 24px;
}

.password-card--reset .password-intro {
    font-size: 13px;
    line-height: 1.55;
}

.password-card--reset .password-field {
    margin-bottom: 16px;
}

.password-card--reset .password-notice {
    padding: 10px;
    line-height: 1.5;
}

.password-card--reset .password-footer {
    margin-top: 20px;
    padding-top: 18px;
}

@media (max-width: 480px) {
    .password-shell {
        padding: 24px 16px;
    }

    .password-card {
        padding: 28px 24px 24px;
        border-radius: 16px;
    }

    .password-logo {
        margin-bottom: 22px;
    }

    .password-logo img {
        max-width: 150px;
        max-height: 90px;
    }

    .password-header h1 {
        font-size: 24px;
    }

    .password-input {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .password-input,
    .password-submit {
        transition: none;
    }
}
