.account-title {
    padding: 14px 20px 16px;
    color: #fff;
    background: var(--blue, #29438f);
    text-align: center;
}
.account-title h1 {
    margin: 0;
    color: inherit;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.35;
}
.account-shell {
    width: min(1200px, calc(100% - 120px));
    margin: 0 auto;
    padding: 36px 0 60px;
}
.account-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
}
.account-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
}
.account-column > h2,
.account-signed-in h2,
.account-recovery > h2 {
    margin: 0 0 42px;
    color: #000;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}
.account-panel {
    flex: 1;
    min-width: 0;
    min-height: 350px;
    margin: 0;
    padding: 46px 40px 42px;
    border: 1px solid #d6d8dd;
    border-radius: 0;
    background: #fff;
    color: #77808c;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}
.account-field {
    display: block;
    margin: 0 0 16px;
    color: #77808c;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}
.account-field > span,
.account-field > label {
    display: block;
    margin-bottom: 4px;
}
.account-field input:not([type="checkbox"]) {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 0;
    outline-offset: 2px;
    background: #f7f8f8;
    color: #333;
    font: inherit;
    box-shadow: none;
}
.account-field input[aria-invalid="true"] { border-color: #c10f1a; }
.account-password-field { position: relative; }
.account-password-field input { padding-right: 50px !important; }
.account-password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #202020;
}
.account-password-icon { width: 22px; height: 22px; }
.account-password-toggle[aria-pressed="true"] .account-password-slash { display: none; }
.account-login-actions,
.account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}
.account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0;
    padding: 12px 30px;
    border: 0;
    border-radius: 0;
    background: var(--blue, #29438f);
    color: #fff;
    font-family: Rubik, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.account-button:hover { background: #213775; color: #fff; }
.account-button:focus-visible,
.account-password-toggle:focus-visible,
.account-field input:focus-visible,
.account-remember input:focus-visible {
    outline: 2px solid var(--blue, #29438f);
    outline-offset: 3px;
}
.account-remember {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: #77808c;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}
.account-remember input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--blue, #29438f);
}
.account-lost-password { display: inline-block; margin-top: 10px; font-size: 12px; }
.account-panel a:not(.account-button),
.account-text-link { color: var(--blue, #29438f); }
.account-panel a:not(.account-button):hover,
.account-text-link:hover { text-decoration: underline; }
.account-register-panel p { margin: 0 0 16px; font-size: 12px; line-height: 1.65; }
.account-register-panel .account-button { margin-top: 2px; }
.account-errors,
.account-feedback {
    margin: 0 0 22px;
    padding: 12px 16px;
    border-left: 3px solid var(--blue, #29438f);
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
}
.account-errors { padding-left: 30px; border-color: var(--red, #c10f1a); color: #a2111a; }
.account-signed-in { min-height: 0; }
.account-signed-in h2 { margin-bottom: 20px; font-family: Rubik, Arial, sans-serif; }
.account-text-link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.account-recovery { max-width: 620px; }
.account-recovery .account-panel { min-height: 0; }
@media (max-width: 900px) {
    .account-shell { width: calc(100% - 60px); }
    .account-columns { gap: 28px; }
    .account-panel { padding: 32px 24px; }
}
@media (max-width: 700px) {
    .account-title h1 { font-size: 36px; }
    .account-shell { width: calc(100% - 40px); padding: 30px 0 40px; }
    .account-columns { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .account-column > h2 { margin-bottom: 22px; }
    .account-panel { min-height: 0; }
}
