/* Registration and cabinet use the existing Li-trade inputs and color tokens. */
#register-form { max-width: 100%; }
#register-form .input_style, .account-page .input_style { width: 100%; }
.customer-type-tabs {
    display: flex;
    margin: 1rem 0 3rem;
    border: 1px solid var(--border);
    border-radius: .5rem;
    overflow: hidden;
    background: var(--bd-main);
}
.customer-type-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 1.2rem .8rem;
    border: 0;
    background: transparent;
    color: var(--text-color-dark);
    font: inherit;
    cursor: pointer;
}
.customer-type-tab + .customer-type-tab { border-left: 1px solid var(--border); }
.customer-type-tab:hover { background: var(--secondery); }
.customer-type-tab[aria-selected="true"] { background: var(--primary); color: var(--bd-main); }
.customer-type-tab:focus-visible { outline: 2px solid var(--text-color-dark); outline-offset: -4px; }
.customer-business-fields { min-width: 0; padding: 0; border: 0; margin: 0 0 3rem; }
.customer-business-fields legend { font-size: 1.6rem; font-weight: 600; margin-bottom: 1rem; }
.customer-business-fields[hidden], .customer-kpp-field[hidden], .customer-company-field[hidden] { display: none !important; }
.account-page { padding-bottom: 4rem; color: var(--text-color-dark); }
.account-heading { display: flex; align-items: center; gap: 2rem; margin: 3rem 0; }
.account-heading h1 { font-size: 2.6rem; margin: .5rem 0 1rem; overflow-wrap: anywhere; }
.account-heading p { color: var(--text-color-light); margin: 0; }
.account-avatar { display: grid; place-items: center; flex-shrink: 0; width: 6rem; height: 6rem; border-radius: .5rem; background: var(--secondery); color: var(--primary); font-size: 2.6rem; font-weight: 600; }
.account-eyebrow { color: var(--text-color-light); font-size: 1.4rem; margin: 0 0 1rem; }
.account-summary, .account-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.account-details { margin-top: 2rem; }
.account-card { min-width: 0; padding: 2rem; border: 1px solid var(--border); border-radius: .5rem; background: var(--bd-main); }
.account-card h2 { font-size: 2rem; margin: 0 0 2rem; overflow-wrap: anywhere; }
.account-card p { line-height: 1.6; }
.account-price { background: var(--secondery); }
.account-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.account-requisites dt { color: var(--text-color-light); font-weight: 400; margin-top: 1.5rem; }
.account-requisites dd { margin: .5rem 0 0; overflow-wrap: anywhere; }
.account-note { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--border); color: var(--text-color-light); }
.account-success { color: #187444; }
#register-form [data-valmsg-for], .account-card [data-valmsg-for] { color: #b42318; font-size: 1.3rem; }
@media (max-width: 767px) {
    .account-summary, .account-details, .account-contact-grid { grid-template-columns: 1fr; }
    .account-contact-grid { gap: 0; }
    .account-heading { gap: 1rem; }
    .account-heading h1 { font-size: 2.2rem; }
    .account-save { width: 100%; }
}

#register-form .input_style[placeholder]:not(:placeholder-shown) ~ .input-style-label {
    top: -1.5rem;
    font-size: 1.4rem;
    color: #5264AE;
}
.password-confirm-group--js[hidden] { display: none !important; }
