/* Navigation and account entry only; keep the existing page styles intact. */
.account-menu { position: relative; min-width: 0; }
.account-menu .mobile-collapse-menu-account { top: 100%; z-index: 30; width: 260px; max-width: calc(100vw - 32px); }
.account-menu .card-body { padding: 10px; border: 1px solid #dce6ed; border-radius: 14px; box-shadow: 0 12px 30px #17324e14; }
.account-menu .link-dropdown { min-height: 44px; padding: 10px 12px; font-size: 15px; line-height: 1.45; white-space: normal; text-align: left; border-radius: 8px; }
.account-menu .link-dropdown:hover { background: #edf5ff; }
.account-menu .svg_in_menu { display: inline-flex; width: 22px; flex: 0 0 22px; align-items: center; justify-content: center; }
.menu-label { font-size: 14px; font-weight: 500; }
.menu-burger .block-burger::before { content: none; }
.menu-burger:focus-visible, .second-shell-menu a:focus-visible { outline: 3px solid #1a76f8; outline-offset: 3px; }
#mobile-navigation[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }
.account-billing { grid-column: 1 / -1; min-width: 0; margin: 0 0 32px; }
.shell-account .title-lvl-one { margin-bottom: 24px; }
.account-billing .btn-custom { display: inline-flex; width: auto; max-width: 100%; height: auto; min-height: 48px; padding: 13px 22px; font-size: 16px; line-height: 1.5; white-space: normal; text-align: center; }
.account-billing p { max-width: 620px; margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #667583; }
.alert.alert-info > a[href="/billing/index.php"], .alert.alert-info > a[href="/invoices"], .alert.alert-info > a[href="/account#payer"] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; height: auto; max-width: 100%; margin-top: 12px; padding: 11px 22px; font-size: 16px; line-height: 1.4; text-align: center; white-space: normal; }
@media (max-width: 1300px) {
  header { z-index: 1020; }
  .navbar { gap: 16px; }
  .navbar .logo-header { min-width: 0; }
  .shell-navigation { flex-shrink: 0; gap: 24px; }
  .menu-burger.btn-custom { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; width: auto; min-height: 44px; min-width: 44px; padding: 8px 0 8px 12px; }
  .menu-burger .block-burger { display: block; flex: 0 0 26px; width: 26px; height: 22px; }
  .menu-burger .block-burger span { height: 3px; }
  .menu-burger .line-two { top: 9px; }
  .menu-burger .line-three { top: 18px; }
  #mobile-navigation { display: block; position: fixed; top: var(--site-menu-top, 90px); right: 0; bottom: 0; left: 0; width: 100%; margin: 0; padding: 12px 24px 24px; opacity: 1; background: #17324e66; overflow-y: auto; overscroll-behavior: contain; z-index: 1010; }
  #mobile-navigation .second-shell-menu { position: relative; inset: auto; width: 380px; max-width: 100%; margin: 0 0 0 auto; padding: 18px; display: flex; flex-direction: column; align-items: stretch; gap: 16px; overflow: visible; border: 1px solid #dce6ed; border-radius: 16px; box-shadow: 0 14px 35px #17324e1c; }
  #mobile-navigation .list-nav-header { width: 100%; margin: 0; padding: 0; gap: 2px; align-items: stretch; }
  #mobile-navigation .list-nav-header li { width: 100%; }
  #mobile-navigation .link-header { display: flex; align-items: center; min-height: 44px; padding: 11px 12px; font-size: 16px; line-height: 1.4; border-radius: 8px; }
  #mobile-navigation .link-header:hover { background: #edf5ff; }
  #mobile-navigation .shell-btn-header { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; padding-top: 16px; border-top: 1px solid #e4ebf1; }
  #mobile-navigation .btn-seminars, #mobile-navigation .btn-lk { width: 100%; max-width: none; min-height: 44px; font-size: 15px; }
  #mobile-navigation .nav-link.login_list { padding: 12px; min-height: 44px; font-size: 16px; line-height: 1.4; }
  #mobile-navigation .mobile-collapse-menu-account { position: static; width: 100%; max-width: none; }
  #mobile-navigation .card-body { box-shadow: none; padding: 4px; border: 0; background: #f4f8fc; }
  #mobile-navigation .link-dropdown { padding: 11px 12px; }
}
@media (max-width: 575px) {
  .navbar { padding: 14px 4px; gap: 12px; }
  .scroll-header .navbar { padding-top: 10px; }
  .navbar .logo-header { width: auto; max-width: calc(100% - 98px); display: flex; align-items: center; font-size: 10px; }
  .navbar .logo-header img { width: 100%; max-width: 230px; height: auto; }
  .shell-navigation { gap: 0; }
  .menu-burger.btn-custom { gap: 8px; padding-left: 4px; }
  #mobile-navigation { padding: 8px 12px max(20px, env(safe-area-inset-bottom)); }
  #mobile-navigation .second-shell-menu { width: 100%; padding: 14px; }
  .account-billing .btn-custom { width: 100%; padding: 12px 16px; font-size: 15px; }
  .shell-account { display: flex; flex-direction: column; align-items: stretch; padding: 28px 18px 36px; }
  .shell-account .shell-info-about { gap: 24px; margin-bottom: 24px; }
  .shell-account .one-block-info-about { gap: 16px; }
  .shell-account .txt-label { font-size: 16px; line-height: 1.4; color: #687483; margin-bottom: 0; }
  .shell-account .input-all { font-size: 17px; }
  .shell-account .btn-change-pass { font-size: 16px; }
  .shell-account .btn-save { width: 100%; margin: 0; min-height: 48px; }
  .shell-account .link-blue { margin: 24px 0 0; font-size: 18px; }
  .shell-account .one-block-info-about, .shell-account .shell-btn-input { min-width: 0; max-width: 100%; }
  .shell-account .input-all { min-width: 0; max-width: 100%; }
}
