#infoContainer {
    position: fixed;
    left: 0%;
    bottom: 0%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90000;
    height: 100vh;
    background-color: #00000069;
}

.maincontent {
    min-height: 600px;
}

.heading .vac-menu-item.active a {
    color: blue;
}

.btn-help.min, .btn-login.min {
    min-width: 50px;
}

nav .account-active .account a {
    color: #111111;
    display: flex;
    gap: 11px;
}

.account-name {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.region_filter_container {
    max-height: 476px; 
    overflow-y: auto;
    margin-right:-70px;
    padding-right: 20px;
}

.vacancy-img {
    background-size: cover;
    height: 280px;
    background-position: center center;
}

button.vacancy-btn {
    border: 0;
    background-color: transparent;
}

#callBackBlock {
    display:none;    
    margin-top: 45px;
    font-size: 24px;
    line-height: 34px;
    color: #2c3aa7;
    
    margin-bottom: 81px;   
}

#callBackBlock a {
    font-weight: 600;
    cursor:pointer;
}

@media all and (max-width: 1200px) {
    .sidebar-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.15s ease-out; 
    }

}

@media all and (max-width: 1399px) {
    .btn-login {
        font-size: 0px;
    }


    nav .account { 
        min-width: 230px;
    }
}

@media all and (max-width: 1800px) {
    .account-active .account-name {
        display: flex !important; 
    }
}


@media all and (min-width: 1400px) {
    nav .account-menu-wrapper {
        padding-top: 38px;
    }
}

@media all and (max-width: 768px) {

    #main-header .container.mt-5 {
        margin-top: 126px !important;
    }

    main {
        margin-top: 0;
        /*
        padding-top: 100px;
        */
    }

    .client-page-section {
        margin-top: 0 !important;
    }

    .sidebar .mobile-sidebar-menu {
        margin-top: 0;
    }


    .industrySelector .selectorDialog .dialog {
        width: 97%;
        height: 95%;
        padding: 15px;
    }

    .industrySelector .selectorDialog .dialog ul {
        flex-wrap: nowrap;
        width: 100%;
    }

    .citySelector .selectorDialog .dialog {
        width: 97%;
        height: 95%;
        padding: 15px;
    }

    .citySelector, .industrySelector {
        width: 100%;
    }

    .citySelector .regCity {
        flex-direction: column;
    }

    .citySelector .regions {
        height: 71px;
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-y: hidden;        
    }

    .regCity .citys {
        max-height: calc(100% - 83px);
        padding: 0;
    }

    .citySelector .district_selector {
        display: none;
    }


    .citySelector .regions .regRow {
        cursor: pointer;
        border: 1px solid #d8d8d8;
        padding: 6px 13px;
        border-radius: 6px;
        display: flex;
        flex-wrap: nowrap;
        min-width: 262px;
        text-align: center;
        justify-content: center;        
      
    }

    .foremployer-container {
        margin-top: 65px !important;
    }

}


.input.radio {
    display: flex;
    align-items: center;
}

.input.radio input[type=radio] {
    width: 22px;
    height: 22px;
}


nav .account-active .account {
    top: 20px;
    min-width: 230px;
    z-index: 100;
}


.sidebar-filter div.input {
    display: flex;
    align-items: center;
    justify-content: normal;    
}

#companyItems {
    margin-top: 20px;
    min-height: 410px;
}

.mainTags {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mainTags .mt a {
    background-color: #fff;
    display: block;
    text-align: center;
    color: #151515;
    font-size: 1.25rem;
    font-family: "SF Pro Display Bold", Arial, sans-serif;
    text-decoration: none;
    padding: 25px 15px;
    border-radius: 5px;
    transition: all 0.4s;            
}


.mainTags .mt a:hover {
    background-color: #172DCB;
    color: #fff;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(23, 45, 203, 0.4);
    -moz-box-shadow: 0px 0px 13px 0px rgba(23, 45, 203, 0.4);
    box-shadow: 0px 0px 13px 0px rgba(23, 45, 203, 0.4);
}


/* Чекбокс "скрыть дату" в шапке резюме: приводим к общему кастомному виду
   и убираем нативный input из потока, чтобы браузер не восстанавливал
   его состояние при перезагрузке страницы поверх серверного значения. */
.worker-resume-form .resume-hide-birthdate input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.worker-resume-form .resume-hide-birthdate .cbx {
    position: relative;
    top: 1px;
    width: 25px;
    height: 25px;
    border: 1px solid #e7e7e7;
    border-radius: 3px;
    vertical-align: middle;
    transition: background 0.1s ease;
    cursor: pointer;
    background-color: #fafafa;
    display: inline-block;
}

.worker-resume-form .resume-hide-birthdate .cbx:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 9px;
    width: 6px;
    height: 14px;
    opacity: 0;
    transform: rotate(45deg) scale(0);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: all 0.3s ease;
    transition-delay: 0.15s;
}

.worker-resume-form .resume-hide-birthdate .lbl {
    margin-left: 10px;
    vertical-align: middle;
    cursor: pointer;
}

.worker-resume-form .resume-hide-birthdate input[type="checkbox"]:checked ~ .cbx {
    border-color: transparent;
    background: #172DCB;
    animation: jelly-42 0.6s ease;
}

.worker-resume-form .resume-hide-birthdate input[type="checkbox"]:checked ~ .cbx:after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

/* ===== общая навигация сайта (components.siteHeader) ===== */

.hh-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.hh-container {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 16px;
}

.hh-nav {
    --hh-bg: #233c8e;
    --hh-chip-border: #3b5cd0;

    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hh-nav .hh-logo svg {
    display: block;
    width: 193px;
    height: auto;
}

.hh-nav .hh-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hh-nav .hh-link {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.hh-nav .hh-link:hover {
    color: #c7d2fe;
}

.hh-nav .hh-burger {
    display: none;
    background: none;
    border: 0;
    padding: 4px;
    color: #fff;
    cursor: pointer;
}

/* блок пользователя: гостю — кнопка «Войти», авторизованному — меню аккаунта */

.hh-nav .hh-user {
    display: flex;
    align-items: center;
}

.hh-nav .hh-user > div {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

.hh-nav .hh-user .hh-guest {
    display: none !important;
}

.hh-nav .hh-user .mh-login {
    display: inline-flex;
}

.hh-nav .mh-login {
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color .2s;
}

.hh-nav .mh-login:hover {
    background-color: rgba(255, 255, 255, .1);
}

/* меню авторизованного: десктопный вариант на широких экранах, мобильный — в выпадающем меню */
@media (min-width: 992px) {
    .hh-nav .hh-user > .btn-mob-menu {
        display: none !important;
    }

    .hh-nav .hh-user > div:not(.btn-mob-menu):not(.hh-guest) {
        display: flex !important;
    }
}

@media (max-width: 991px) {
    .hh-nav .hh-user > div:not(.btn-mob-menu) {
        display: none !important;
    }

    .hh-nav .hh-user > .btn-mob-menu:not(.hh-guest) {
        display: flex !important;
        position: relative;
    }
}

/* десктопное меню аккаунта (components.userState): [иконки] [аккаунт ▾] [Выйти] в одну строку */

.hh-nav .hh-user > div:not(.btn-mob-menu) {
    align-items: center;
    gap: 24px;
    margin-left: 0 !important;
    padding: 0;
}

.hh-nav .hh-user .navbar-icon {
    display: flex;
    align-items: center;
    padding: 0 !important;
    margin: 0;
}

.hh-nav .hh-user .ms-auto.d-flex {
    align-items: center;
    gap: 24px;
    margin-left: 0 !important;
}

/* style.css при ширине ≤1800px сжимает #account-menu до 90px — имя наезжает на «Выйти» */
.hh-nav .hh-user #account-menu {
    width: auto !important;
}

.hh-nav .hh-user .account-menu-wrapper {
    position: relative;
    align-self: center !important;
    padding-top: 0;
}

.hh-nav .hh-user .account {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    font-size: 15px;
    background: none !important;
    box-shadow: none !important;
}

.hh-nav .hh-user .account > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-weight: 600;
}

.hh-nav .hh-user .account > a::after {
    content: '';
    width: 7px;
    height: 7px;
    margin: -4px 0 0 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s;
}

.hh-nav .hh-user .account-active .account > a::after {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.hh-nav .hh-user .account-icon {
    display: flex;
    fill: #fff !important;
}

/* у svg иконки нет viewBox — размер не меняем, иначе она обрезается */
.hh-nav .hh-user .account-icon svg {
    display: block;
}

.hh-nav .hh-user .account-name {
    display: block !important;
    max-width: 200px;
    line-height: 1.3;
}

.hh-nav .hh-user .account .account-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 300;
    min-width: 260px;
    padding: 8px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.hh-nav .hh-user .account .account-menu hr {
    display: none;
}

.hh-nav .hh-user .account .account-menu a {
    color: #111;
    font-size: 15px;
    white-space: nowrap;
}

.hh-nav .hh-user .btn-login {
    padding: 9px 16px 9px 44px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 6px;
    white-space: nowrap;
}

.hh-nav .hh-user .btn-login::before {
    left: 14px;
    width: 22px;
    height: 19px;
    background-size: contain;
}

.hh-nav .hh-user .btn-login:hover {
    background-color: rgba(255, 255, 255, .1);
}

.hh-nav .hh-link.active {
    color: #c7d2fe;
}

@media (max-width: 991px) {
    .hh-nav .hh-logo svg {
        width: 158px;
    }

    .hh-nav .hh-burger {
        display: block;
    }

    .hh-nav .hh-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 200;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        background-color: var(--hh-bg);
        border: 1px solid var(--hh-chip-border);
        border-radius: 8px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    }

    .hh-nav.open .hh-menu {
        display: flex;
    }

    .hh-nav .hh-link {
        padding: 10px 8px;
    }

    .hh-nav .hh-user {
        padding: 8px 8px 4px;
    }

    .hh-nav .mh-login {
        width: 100%;
        justify-content: center;
    }

    /* мобильное меню аккаунта раскрывается внутри бургер-меню, а не абсолютно от иконки */
    .hh-nav .hh-user,
    .hh-nav .hh-user > .btn-mob-menu {
        width: 100%;
    }

    .hh-nav .hh-user > .btn-mob-menu {
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
    }

    .hh-nav .hh-user .btn-mob-menu .navbar-icon {
        padding: 0 !important;
        margin: 0 !important;
    }

    .hh-nav .hh-user .account-menu-mobile {
        position: static;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 4px;
        padding: 8px 16px;
        border-radius: 8px;
    }

    .hh-nav .hh-user .account-menu-mobile hr {
        display: none;
    }

    .hh-nav .hh-user .account-menu-mobile .menu-item {
        color: #111;
        font-size: 15px;
        text-decoration: none;
    }
}

/* ===== Список вакансий (vacancyList) ===== */
:root {
    --vs-header-h: 158px;
}

body:has(.vs-header) {
    background-color: #f5f8ff;
    padding-top: var(--vs-header-h);
}

.vs-header,
.vs-page {
    --vs-bg: #233c8e;
    --vs-accent: #2563eb;
    --vs-accent-hover: #1d4fd8;
    --vs-border: #dbe3f5;
    --vs-tag-bg: #eff4ff;
    --vs-muted: #6b7280;
    --vs-field-border: #c7d2fe;

    font-size: 16px;
}

/* шапка */

.vs-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0 12px;
    background-color: var(--vs-bg);
    box-shadow: 0 4px 16px rgba(17, 24, 39, .12);
    color: #fff;
}

.vs-search {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.vs-field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    margin: 0;
    padding: 0 18px;
    background-color: #fff;
    border: 2px solid var(--vs-field-border);
    border-radius: 6px;
    color: var(--vs-accent);
}

.vs-field svg {
    flex: none;
}

.vs-field-query {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--vs-muted);
}

.vs-field-city {
    flex: 0 0 338px;
    min-width: 0;
}

.vs-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 17px;
}

.vs-field input::placeholder {
    color: #9ca3af;
}

.vs-field .citySelector .current {
    padding-right: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vs-field .select-container::after {
    display: none;
}

.vs-field .citySelector .selectorDialog,
.vs-field .citySelector .selectorDialog a {
    color: #111827;
}

.vs-field .citySelector .dialog input.search {
    border: 1px solid #eee;
    border-radius: 3px;
}

.vs-submit {
    flex: 0 0 108px;
    height: 52px;
    border: 0;
    border-radius: 6px;
    background-color: var(--vs-accent);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s;
}

.vs-submit:hover {
    background-color: var(--vs-accent-hover);
}

/* заголовок */

.vs-page {
    padding: 28px 0 56px;
    color: #111827;
}

.vs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.vs-back {
    font-size: 14px;
    font-weight: 600;
    color: var(--vs-accent);
    text-decoration: none;
}

.vs-back:hover {
    text-decoration: underline;
}

.vs-title {
    margin: 10px 0 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.vs-count {
    padding-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.vs-layout {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

/* фильтры */

.vs-filters {
    padding: 8px 20px 20px;
    background-color: #fff;
    border: 1px solid var(--vs-border);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(17, 24, 39, .06);
}

.vs-filters-title {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 16px 0 8px;
    background: none;
    border: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    cursor: default;
}

.vs-filters-title svg,
.vs-filters-total {
    display: none;
}

.vs-group {
    border-bottom: 1px solid #e5e7eb;
}

.vs-group summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.vs-group summary::-webkit-details-marker {
    display: none;
}

.vs-group summary svg {
    margin-left: auto;
    color: var(--vs-accent);
    transition: transform .2s;
}

.vs-group[open] summary svg {
    transform: rotate(180deg);
}

.vs-group-count,
.vs-filters-total {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 10px;
    background-color: var(--vs-accent);
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.vs-group-count[hidden],
.vs-filters-total[hidden],
.vs-option[hidden] {
    display: none !important;
}

.vs-group-search {
    width: 100%;
    height: 40px;
    margin-bottom: 8px;
    padding: 0 12px;
    border: 1px solid var(--vs-border);
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.vs-group-search:focus {
    border-color: var(--vs-accent);
}

.vs-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 292px;
    margin-bottom: 20px;
    overflow-y: auto;
}

/* чекбокс скрыт внутри опции: без position: relative он оказывается вне прокручиваемого списка,
   и при фокусе по клику браузер прокручивает к нему страницу */
.vs-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.vs-option input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.vs-option span {
    display: block;
    padding: 9px 12px;
    border: 1px solid var(--vs-border);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    transition: border-color .15s, background-color .15s;
}

.vs-option:hover span {
    border-color: #93b4fd;
}

.vs-option input:checked + span {
    border-color: var(--vs-accent);
    background-color: var(--vs-tag-bg);
    color: var(--vs-accent);
}

.vs-option input:focus-visible + span {
    outline: 2px solid var(--vs-accent);
    outline-offset: 1px;
}

.vs-filters-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.vs-btn {
    height: 44px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.vs-btn-apply {
    background-color: var(--vs-accent);
    border: 1px solid var(--vs-accent);
    color: #fff;
}

.vs-btn-apply:hover {
    background-color: var(--vs-accent-hover);
}

.vs-btn-reset {
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #111827;
}

.vs-btn-reset:hover {
    border-color: #9ca3af;
}

/* мобильная версия */

@media (max-width: 991px) {
    .vs-header {
        padding: 14px 0 12px;
    }

    .vs-search {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 14px;
    }

    .vs-field,
    .vs-submit {
        height: 44px;
    }

    .vs-field {
        padding: 0 12px;
    }

    .vs-field-query {
        flex: 1 1 100%;
    }

    .vs-field-city {
        flex: 1 1 0;
    }

    .vs-field input,
    .vs-field .citySelector .current {
        font-size: 16px;
    }

    .vs-submit {
        flex: 0 0 96px;
        font-size: 16px;
    }

    .vs-page {
        padding-top: 20px;
    }

    .vs-head {
        margin-bottom: 16px;
    }

    .vs-title {
        font-size: 22px;
    }

    .vs-count {
        padding-bottom: 4px;
        font-size: 14px;
    }

    .vs-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    /* фильтры сворачиваются в кнопку над списком */

    .vs-filters {
        padding: 0 16px;
    }

    .vs-filters-title {
        padding: 14px 0;
        font-size: 16px;
        cursor: pointer;
    }

    .vs-filters-title svg {
        display: block;
        margin-left: auto;
        color: var(--vs-accent);
        transition: transform .2s;
    }

    .vs-filters-total:not([hidden]) {
        display: inline-block;
    }

    .vs-filters.open .vs-filters-title svg {
        transform: rotate(180deg);
    }

    .vs-filters-body {
        display: none;
        padding-bottom: 16px;
    }

    .vs-filters.open .vs-filters-body {
        display: block;
    }

    .vs-filters-actions {
        flex-direction: row;
    }

    .vs-btn {
        flex: 1;
        font-size: 15px;
    }
}
