/* Из исходных стилей старой темы: только правила хедера и футера.
   Каждое правило ограничено .ac-legacy-chrome и не влияет на контент форм. */
.ac-legacy-chrome form { margin: 0px; padding: 0px; }
.ac-legacy-chrome img { border-width: medium; border-style: none; border-color: currentcolor; border-image: none; }
.ac-legacy-chrome a { color: rgb(0, 57, 100); cursor: pointer; transition: 200ms; }
.ac-legacy-chrome a:hover { text-decoration: none; }
.ac-legacy-chrome input,
.ac-legacy-chrome button { margin: 0px; outline: none; box-sizing: border-box; font-size: 14px; border: 0px; color: rgb(0, 57, 100); font-family: "Cera Pro"; }
.ac-legacy-chrome button { transition: 200ms; cursor: pointer; border: 0px; }
.ac-legacy-chrome ul { padding: 0px; margin: 0px; list-style: none; }
.ac-legacy-chrome img { max-width: 100%; }
.ac-legacy-chrome button { max-width: 100%; }
.ac-legacy-chrome header { display: block; }
.ac-legacy-chrome .wrap { margin: 0px auto; width: 100%; max-width: 1390px; padding-left: 20px; padding-right: 20px; }
.ac-legacy-chrome .wrap.big { max-width: 1784px; }
.ac-legacy-chrome * { box-sizing: border-box; outline: none !important; }
.ac-legacy-chrome .header .logo { margin-top: 3px; margin-right: 30px; }
.ac-legacy-chrome .header .logo a { line-height: 0; display: block; }
.ac-legacy-chrome .header-inner { display: flex; flex-wrap: wrap; }
.ac-legacy-chrome .main-menu { margin-top: 11px; }
.ac-legacy-chrome .main-menu li { display: inline-block; vertical-align: middle; }
.ac-legacy-chrome .main-menu li:not(:last-child) { margin-right: 25px; }
.ac-legacy-chrome .main-menu li a { display: block; text-decoration: none; padding: 6px 0px; text-transform: uppercase; font-size: 16px; font-weight: 700; line-height: 20px; }
.ac-legacy-chrome .menu-btn { display: inline-block; width: 32px; height: 32px; background: url("https://autocash.ru/wp-content/themes/autocash/img/menu-button.svg"); margin-left: auto; }
.ac-legacy-chrome .header .contacts { margin-left: auto; }
.ac-legacy-chrome .header .contacts .social { display: inline-flex; vertical-align: middle; padding-right: 10px; }
.ac-legacy-chrome .header .contacts .social a { display: inline-block; }
.ac-legacy-chrome .header .contacts .phone { display: inline-block; vertical-align: middle; text-align: right; color: rgb(129, 157, 178); font-size: 13px; font-weight: 500; line-height: 16px; letter-spacing: -0.03em; margin-bottom: 0px; margin-right: 10px; }
.ac-legacy-chrome .header .contacts .phone a { text-decoration: none; font-weight: 700; line-height: 1; }
.ac-legacy-chrome .phone { text-decoration: none; margin-bottom: 20px; font-size: 24px; font-weight: 700; line-height: 100%; color: rgb(0, 57, 100); letter-spacing: -0.03em; }
.ac-legacy-chrome a { -webkit-tap-highlight-color: transparent; }
@media (min-width: 992px) {
.ac-legacy-chrome .header { padding: 0px 0px 22px; }
.ac-legacy-chrome .header .contacts .social a { margin-right: 10px; }
.ac-legacy-chrome .header .contacts .phone.has-user { margin-right: 20px; }
.ac-legacy-chrome .header .contacts .phone a { margin-bottom: 2px; font-size: 20px; display: block; }
.ac-legacy-chrome .header .contacts .phone a.is-lg-hidden { display: none; }
.ac-legacy-chrome .is-lg-hidden { display: none; }
}
@media (min-width: 1200px) {
.ac-legacy-chrome .main-menu li:not(:last-child) { margin-right: 30px; }
}
@media (max-width: 991px) {
.ac-legacy-chrome .header { padding-top: 15px; padding-bottom: 4px; }
.ac-legacy-chrome .header .contacts { display: flex; flex-direction: row-reverse; align-items: center; }
.ac-legacy-chrome .header .contacts .social a { margin-right: 4px; width: 30px; height: 30px; }
.ac-legacy-chrome .header .contacts .phone a { font-size: 18px; }
.ac-legacy-chrome .order-mob-1 { order: 1; }
.ac-legacy-chrome .order-mob-2 { order: 2; }
.ac-legacy-chrome .is-lg-visible { display: none; }
.ac-legacy-chrome .mob-other { margin-left: auto; display: flex; align-items: center; }
.ac-legacy-chrome .header .logo { order: -1; margin: 0px; }
.ac-legacy-chrome .header .contacts { order: 4; margin-top: 3px; margin-bottom: 2px; margin-left: 0px; }
}
@media (max-width: 991px) and (max-width: 991px) {
.ac-legacy-chrome .header .logo { width: 124px; }
}
.ac-legacy-chrome .header ul li a:hover { color: rgb(129, 157, 178); }
.ac-legacy-chrome header .contacts .phone a:hover { color: rgb(129, 157, 178); }
@media (max-width: 991px) {
.ac-legacy-chrome .order-mob-2 { order: 3; }
}
.ac-legacy-chrome * { padding: 0px; margin: 0px; border: 0px; }
.ac-legacy-chrome * { box-sizing: border-box; }
.ac-legacy-chrome a:focus,
.ac-legacy-chrome a:active { outline: none; }
.ac-legacy-chrome button { cursor: pointer; color: inherit; background-color: inherit; }
.ac-legacy-chrome a:link { text-decoration: none; }
.ac-legacy-chrome a:hover { text-decoration: none; }
.ac-legacy-chrome ul li { list-style: none; }
.ac-legacy-chrome img { vertical-align: top; }
.ac-legacy-chrome .wrapper > * { min-width: 0px; }
.ac-legacy-chrome header.header { padding-top: 20.8px; padding-bottom: 27.2px; }
.ac-legacy-chrome header.header .header__user { position: relative; column-gap: 0.75rem; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: end; justify-content: flex-end; cursor: pointer; }
.ac-legacy-chrome header.header .header__user-icon { position: relative; }
.ac-legacy-chrome header.header .header__user-notify { position: absolute; width: 1.1875rem; height: 1.1875rem; border-radius: 50%; background-color: rgb(223, 34, 34); color: rgb(255, 255, 255); font-size: 0.75rem; font-weight: 500; right: -0.375rem; top: -0.5625rem; }
.ac-legacy-chrome header.header .header__user-name { font-size: 1rem; font-weight: 500; color: rgb(0, 57, 100); }
@media (max-width: 61.9988em) {
.ac-legacy-chrome header.header .header__user-name { font-size: 0.9375rem; }
}
.ac-legacy-chrome .acoount__footer-contacts { gap: 1.25rem; margin: 1.5625rem 0px; }
.ac-legacy-chrome .acoount__footer-contacts .social { gap: 0.5rem; }
.ac-legacy-chrome .acoount__footer-contacts .social a { width: 2.5rem; height: 2.5rem; -webkit-box-flex: 0; flex: 0 0 2.5rem; }
.ac-legacy-chrome .acoount__footer-contacts .phone_alloka { font-size: 1.25rem; display: block; text-align: right; margin: 0px; font-weight: 700; }
.ac-legacy-chrome .acoount__footer-contacts .time { display: block; font-size: 0.8125rem; color: rgb(129, 157, 178); font-weight: 500; }
.ac-legacy-chrome .acoount__footer-copyright { background-color: rgb(0, 57, 100); color: rgb(245, 249, 252); text-align: center; padding: 1rem 0px; }
@supports (font-size: clamp( 0.75rem , 0.6961641992rem + 0.269179004vw , 1rem )) {
.ac-legacy-chrome .acoount__footer-copyright { font-size: clamp(0.75rem, 0.696164rem + 0.269179vw, 1rem); }
}
@supports not (font-size: clamp( 0.75rem , 0.6961641992rem + 0.269179004vw , 1rem )) {
.ac-legacy-chrome .acoount__footer-copyright { font-size: calc(0.696164rem + 0.269179vw); }
}
.ac-legacy-chrome header.header .header__user-notify,
.ac-legacy-chrome .acoount__footer-contacts { display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; }
.ac-legacy-chrome .acoount__footer-contacts .social { display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: start; justify-content: flex-start; }
@media (min-width: 61.9988em) {
.ac-legacy-chrome header.header ul.is-lg-visible.main-menu { -webkit-box-flex: 1; flex: 1 1 0%; }
.ac-legacy-chrome .acoount__footer-contacts { display: none !important; }
}
@media (min-width: 72.5625rem) {
@supports (padding-left: clamp( 0.0000000625rem , -0.3230147289rem + 1.6150739569vw , 1.5rem )) {
.ac-legacy-chrome header.header .header__user { padding-left: clamp(6.25e-08rem, -0.323015rem + 1.61507vw, 1.5rem); }
}
@supports not (padding-left: clamp( 0.0000000625rem , -0.3230147289rem + 1.6150739569vw , 1.5rem )) {
.ac-legacy-chrome header.header .header__user { padding-left: calc(-0.323015rem + 1.61507vw); }
}
.ac-legacy-chrome header.header .header__user::before { content: ""; position: absolute; left: 0px; top: 50%; width: 0.0625rem; height: 2.375rem; background-color: rgb(203, 216, 224); transform: translateY(-50%); }
}
@media (max-width: 72.5rem) {
.ac-legacy-chrome header.header .contacts { display: none; }
}
@media (max-width: 61.9988em) {
.ac-legacy-chrome header.header { padding-top: 0.875rem; padding-bottom: 0.9375rem; }
.ac-legacy-chrome header.header .mob-other { -webkit-box-ordinal-group: 4; order: 3; margin: 0px; }
.ac-legacy-chrome header.header .header__user { margin-left: auto; margin-right: 0.375rem; }
}
.ac-legacy-chrome .header__user-name { position: relative; cursor: pointer; }
.ac-legacy-chrome .user-dropdown-menu { position: absolute; top: calc(100% + 17px); right: 0px; background: white; border: 1px solid rgb(224, 224, 224); box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; min-width: 160px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: 0.3s; z-index: 1000; }
.ac-legacy-chrome .user-dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0px); }
.ac-legacy-chrome .dropdown-item { display: flex; align-items: center; gap: 5px; padding: 10px 16px; color: rgb(0, 57, 100); text-decoration: none; transition: background-color 0.2s; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; background: none; width: 100%; text-align: left; cursor: pointer; font-size: 14px; }
.ac-legacy-chrome .dropdown-item:hover { background-color: rgb(245, 245, 245); }
.ac-legacy-chrome .dropdown-form { margin: 0px; }
.ac-legacy-chrome .logout-btn { color: rgb(223, 34, 34); }
.ac-legacy-chrome .logout-btn:hover { background-color: rgb(255, 235, 238); }
.ac-legacy-chrome .user-dropdown-menu svg { flex-shrink: 0; }
.ac-legacy-chrome .header__user-name:hover { text-decoration: none; color: rgb(0, 123, 255) !important; }
.ac-legacy-chrome .header__user-icon-link { display: inline-block; text-decoration: none; position: relative; }
.ac-legacy-chrome .header__user-icon-link:hover .header__user-icon { opacity: 0.6; }
@media (min-width: 992px) {
.ac-legacy-chrome .header .contacts .phone.has-user { margin-right: 20px !important; }
}
.ac-legacy-chrome .header .contacts .phone { margin-right: 0px !important; }
.ac-legacy-chrome .legacy-cabinet button,
.ac-legacy-chrome .legacy-cabinet input { font-family: inherit; }
.ac-legacy-chrome .legacy-cabinet .header { position: relative; z-index: 40; }
.ac-legacy-chrome .legacy-cabinet .menu-btn { border: 0px; cursor: pointer; }
.ac-legacy-chrome .legacy-cabinet .header__user-name { cursor: pointer; }
.ac-legacy-chrome .legacy-cabinet .header__user-notify { font-size: 11px; }
@media (max-width: 1100px) {
.ac-legacy-chrome .legacy-cabinet .header-inner { gap: 16px; }
.ac-legacy-chrome .legacy-cabinet .main-menu { margin-left: 0px !important; }
.ac-legacy-chrome .legacy-cabinet .header .contacts .social { display: none; }
}
@media (max-width: 991px) {
.ac-legacy-chrome .legacy-cabinet .main-menu.legacy-menu-open { position: absolute; top: 100%; left: 0px; right: 0px; padding: 22px; flex-direction: column; gap: 20px; background: rgb(255, 255, 255); box-shadow: rgba(0, 57, 100, 0.125) 0px 10px 16px; display: flex !important; margin: 0px !important; }
.ac-legacy-chrome .legacy-cabinet .header__user-name { max-width: 180px; }
}
@media (max-width: 575px) {
.ac-legacy-chrome .legacy-cabinet .header .contacts { display: none; }
.ac-legacy-chrome .legacy-cabinet .header-inner { flex-wrap: wrap; }
.ac-legacy-chrome .legacy-cabinet .logo { max-width: 170px; }
.ac-legacy-chrome .legacy-cabinet .header__user { margin-left: auto; }
}

/* Внешние контейнеры сохраняют селекторы текущего расчёта высоты оболочки. */
/* Прямые углы формы входа и SMS-подтверждения в стиле старого кабинета. */
.ac-page--auth .ac-auth :is(.ac-auth__layout,.ac-auth__card,.ac-auth__aside,.ac-field__control,.ac-notice,.ac-alert) { border-radius:0!important; }
/* У основных кнопок старого ЛК скругление 0.3125rem (5px). */
.ac-page--auth .ac-auth :is(.ac-button,.ac-auth__resend) { border-radius:0.3125rem!important; }
/* Подложка — внутри старого контейнера; края экрана остаются белыми. */
body.ac-page:is(.ac-page--auth,.ac-page--form-flow) {
  --ac-chrome-content-width:min(109rem,calc(100% - 56px));
  background:#fff;
}
.ac-page:is(.ac-page--auth,.ac-page--form-flow) > .ac-app-shell { min-height:100vh; min-height:100dvh; }
.ac-page--auth > .ac-app-shell > .ac-main--guest,
.ac-page--form-flow > .ac-app-shell > .ac-app-body {
  width:var(--ac-chrome-content-width); margin-left:auto; margin-right:auto; background:var(--ac-bg);
}
/* flex-grow поглощает дробный остаток высоты после округления в shell sizing. */
.ac-page--auth > .ac-app-shell > .ac-main--guest { flex:1 0 auto; position:relative; isolation:isolate; overflow:hidden; }
.ac-page--auth > .ac-app-shell > .ac-main--guest::before { position:absolute; }
@media(max-width:575px) {
  body.ac-page:is(.ac-page--auth,.ac-page--form-flow) { --ac-chrome-content-width:calc(100% - 30px); }
}
.ac-topbar.ac-legacy-chrome,.ac-footer.ac-legacy-chrome { position:relative; inset:auto; flex:none; width:100%; max-width:none; margin:0; padding:0; border:0; border-radius:0; box-shadow:none; background:#fff; color:#003964; font-family:"Cera Pro",Arial,sans-serif; font-size:16px; line-height:1.4; }
.ac-topbar.ac-legacy-chrome { z-index:40; min-height:0; }
.ac-legacy-chrome .legacy-cabinet .header-inner.wrap.big { width:100%!important; max-width:1784px!important; margin-left:auto!important; margin-right:auto!important; padding-left:20px; padding-right:20px; }
.ac-legacy-chrome > .legacy-cabinet { display:flow-root; }
.ac-legacy-chrome .header { margin:0; }
.ac-legacy-chrome a { color:#003964; }
.ac-legacy-chrome .acoount__footer-copyright { color:#f5f9fc; }
.ac-legacy-chrome .header .logo img { display:block; width:187px; max-width:100%; height:auto; }
.ac-legacy-chrome .main-menu:empty { display:none!important; }
.ac-legacy-chrome :focus-visible { outline:2px solid #003964!important; outline-offset:3px; }
.ac-legacy-chrome .header__user-name { max-width:200px; }
.ac-legacy-chrome .user-dropdown-menu { text-align:left; }
@media(max-width:575px) {
  .ac-legacy-chrome .header__user-name { max-width:155px; }
}
