html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #1A2227;
    font-weight: 300;
    min-width: 1280px;
    overflow-x: auto;
}

p {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.header-page {
    display: flex;
    flex-direction: column;
    min-width: 1280px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    padding: 10px 35px 5px 60px;
}

.region {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 16px;
}

.city {
    display: flex;
    align-items: center;
    gap: 3px;
}

.exit-svg,
.setting-svg,
.minus-svg,
.plus-svg,
.geo-svg {
    height: 22px;
}

.yesbtn {
    color: #ED717F;
    min-width: 67px;
    height: 35px;
    text-align: center;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    opacity: 0.8;
    
}

.profession {
    display: flex;
    align-items: center;
    gap: 29px;
}

.profession__option {
    cursor: pointer;
    transition: color 0.2s ease;
}

.scale {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting {
    display: flex;
    align-items: center;
    gap: 11px;
    border: none;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.exit {
    display: flex;
    align-items: center;
    gap: 9px;
    border: none;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.header-between {
    background-color: #F0F0F3;
    padding: 13px 106px 13px 58px;
    display: flex;
    justify-content: space-between;
}

.add-resume,
.myadvertisements,
.advertisements,    
.responses,
.applicants {
    display: flex;
    align-items: center;
    gap: 12px;
}

.advertisements {
    color: #ED717F;
}

.people-svg,
.book-svg,
.redpeople-svg,
.laptop-svg,
.resp-svg,
.bell-svg {
    height: 30px;
}

.bell-wrapper {
    position: relative;
    display: inline-block;
}

.bell-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    color: red;
    font-size: 15px;
    font-weight: 800;
    z-index: 2;
    line-height: 1;
}


.header-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 160px;
    padding-right: 210px;
    background-color: #f5cac6;
    /* opacity: 0.2; */
}

.header-bottom__first {
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 12px 16px;
    margin-top: 22px;
    box-sizing: border-box;
    border: none;
    background-color: #FFFFFF;
    
}

.button-block {
    display: flex;
    width: 100%;
    /* flex: 1;                */
    gap: 1px;            
    align-items: center;
}

.input-compname-wrapper {
    position: relative;
    flex: 1.35;
    min-width: 360px;
}

.input-region-wrapper {
    position: relative;
    flex: 0.78;
    min-width: 360px;
}

.input-region,
.input-compname {
    flex: 1;
    outline: none;
    padding: 18px 55px 18px 20px; 
    border: 0.5px solid #CCD5DF;
    border-radius: 4px;
    background-repeat: no-repeat;
    transition: all ease-in-out 0.2s;
    box-sizing: border-box;
    font-weight: 200;
    color: rgba(112, 125, 138, 0.7);

    font-size: 15px;
}

.input-compname {
    width: 100%;
    flex: none;
    background-image: url('assets/icons/glass.svg');
    background-position: right 14px center;
    padding-right: 52px;
}

.input-compname-wrapper.has-value .input-compname {
    background-image: none;
}

.input-region {
    width: 100%;
    flex: none;
    background-image: url('assets/icons/geo.svg');
    background-position: right 14px center;
    padding-right: 52px;
}

.input-region-wrapper.has-value .input-region {
    background-image: none;
}

.input-compname-wrapper.open .input-compname,
.input-region-wrapper.open .input-region {
    border-color: #8CC1FF;
    border-radius: 4px 4px 0 0;
    box-shadow: none;
}

.input-compname__clear,
.input-region__clear {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.input-compname-wrapper.has-value .input-compname__clear,
.input-region-wrapper.has-value .input-region__clear {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.input-compname__clear-icon,
.input-region__clear-icon {
    display: block;
    width: 22px;
    height: 22px;
    filter: brightness(0) saturate(0) opacity(0.28);
}

.input-compname__menu,
.input-region__menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #FFFFFF;
    border: 1px solid #8CC1FF;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 10px 22px rgba(26, 34, 39, 0.1);
    box-sizing: border-box;
    z-index: 220;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.input-compname-wrapper.open .input-compname__menu,
.input-region-wrapper.open .input-region__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.input-region__menu {
    max-height: 320px;
    overflow-y: auto;
}

.input-compname__item,
.input-region__item {
    padding: 13px 16px;
    border-top: 1px solid #EEF3F8;
    font-size: 16px;
    font-weight: 300;
    color: #A0A7B0;
    cursor: pointer;
    transition: background 0.15s ease;
}

.input-compname__item:first-child,
.input-region__item:first-child {
    border-top: none;
}

.input-compname__item:hover,
.input-region__item:hover {
    background: #F8FBFF;
}

.input-compname__match,
.input-region__match {
    color: #3795FF;
}

.vacancy-list {
    position: relative;
    flex: 0 0 180px;
    min-width: 180px;
}

.vacancy-list__trigger {
    width: 100%;
    height: 100%;
    padding: 17.5px 14px;
    border: 0.5px solid #CCD5DF;
    border-radius: 4px;
    background: #FFFFFF;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #707D8A;
    opacity: 0.8;
    transition: all ease-in-out 0.2s;
}

.vacancy-list__trigger:focus {
    outline: none;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.vacancy-list__label {
    white-space: nowrap;
}

.vacancy-list__arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.vacancy-list.open .vacancy-list__arrow {
    transform: rotate(180deg);
}

.vacancy-list__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    z-index: 200;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
}

.vacancy-list.open .vacancy-list__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vacancy-list__item {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 200;
    color: #4B5563;
    cursor: pointer;
    transition: background 0.15s ease;
}

.vacancy-list__item:hover {
    background: #F3F4F6;
}

.input-region:focus,
.input-compname:focus {
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.input-region::placeholder,
.input-compname::placeholder {
    color: inherit;
    opacity: 1;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}

.find {
    flex-shrink: 0;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    border: none;
    border-radius: 4px;
    background-color: #92979C;
    color: #FFFFFF;
    padding: 18px 61px;
    cursor: pointer;
}

.header-bottom__second {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    /* gap: 20px; */
}

.extended-find{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.other {
    display: flex;
    gap: 10px;
}

.employment {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.where-work {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.salary {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
/* main block */
.main-page {
    margin: 20px auto 0 171px;
    min-width: 1109px;
}

.categories {
    display: flex;
    margin-top: 12px;
    gap: 28px;
}

.custom-dropdown {
  position: relative;
  min-width: 260px;   
  max-width: 400px;
  width: auto;   
  font-family: 'Roboto', sans-serif;
  user-select: none;
}

.dropdown-control {
  display: flex;
  align-items: center;
  width: 100%;
  background: #f1f1f3;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.dropdown-control:hover {
  background: #D1D5DB;
}

.dropdown-trigger {
  flex: 1;
  min-width: 0;
  padding: 13px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 15px;
  color: #374151;
  font-family: inherit;
}

.dropdown-actions {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.dropdown-toggle,
.dropdown-clear {
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.dropdown-toggle {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.dropdown-clear {
  width: 0;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  transform: scale(0.8);
  transition: width 0.2s ease, margin-left 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.custom-dropdown.has-value .dropdown-clear {
  width: 30px;
  margin-left: 8px;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.dropdown-clear__icon {
  display: block;
  height: 20px;
  
}

.dropdown-clear__tooltip,
.salary-filter__clear-tooltip,
.filter-button__clear-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 6px 14px;
  border-radius: 2px;
  background: #F2ECEA;
  color: #6B5B58;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 6px 14px rgba(84, 63, 59, 0.08);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 150;
}

.dropdown-clear:hover .dropdown-clear__tooltip,
.dropdown-clear:focus-visible .dropdown-clear__tooltip,
.salary-filter__clear:hover .salary-filter__clear-tooltip,
.salary-filter__clear:focus-visible .salary-filter__clear-tooltip,
.filter-button__clear:hover .filter-button__clear-tooltip,
.filter-button__clear:focus-visible .filter-button__clear-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.custom-dropdown.has-value .dropdown-control {
  background: #D95C50;
}

.custom-dropdown.has-value .dropdown-control:hover {
  background: #CC4B3F;
}

.custom-dropdown.has-value .dropdown-trigger {
  color: #FFFFFF;
}

.custom-dropdown.has-value .dropdown-arrow {
  filter: brightness(0) invert(1);
}

.custom-dropdown.open .dropdown-control {
  border-radius: 4px 4px 0 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #D1D5DB;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
}

.custom-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.custom-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 15px;
  color: #4B5563;
  
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: #F3F4F6;
}

.dropdown-item.active {
  color: #D95C50;
  background: #FDE7E4;
}

.salary-filter {
    width: auto; 
    min-width: 260px;
    max-width: 400px;
    position: relative;
    border: none;
    border-radius: 4px;
    overflow: visible;
    background: transparent;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.salary-filter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f6f7;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.salary-filter__collapse {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: transparent;
    border: none;
    color: #374151; 
    padding: 13px 12px; 
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    opacity: 0.7;
    transition: background 0.15s, opacity 0.15s;
}

.salary-filter__collapse:hover {
    background: transparent;
}

.salary-filter__header:hover {
    background: #D1D5DB;
}

.salary-filter__title {
    font-size: 15px;
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
    color: black;
}

.salary-filter__summary {
    font-weight: 500;
    display: none;
}

.salary-filter__summary:not(:empty) {
    display: inline;
    margin-left: 5px;
}

.salary-filter__arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.salary-filter.open .salary-filter__arrow {
    transform: rotate(180deg);
}

.salary-filter__clear {
    width: 0;
    height: 28px;
    margin-right: 8px;
    position: relative;
    border: none;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: width 0.2s ease, opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.salary-filter__clear:hover {
    background: rgba(0,0,0,0.1);
}

.salary-filter__clear-icon {
    width: 18px;
    height: 18px;
    stroke: #6B7280;
}

.salary-filter__body {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 12px 12px 16px;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.salary-filter.open .salary-filter__body {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.salary-filter.open .salary-filter__header {
    border-radius: 4px 4px 0 0;
}

.salary-filter.has-value .salary-filter__header {
    background: #D95C50;
}

.salary-filter.has-value .salary-filter__header:hover {
    background: #CC4B3F;
}

.salary-filter.has-value .salary-filter__collapse {
    color: #FFFFFF;
    opacity: 1;
}

.salary-filter.has-value .salary-filter__title,
.salary-filter.has-value .salary-filter__summary {
    color: #FFFFFF;
}

.salary-filter.has-value .salary-filter__arrow {
    filter: brightness(0) invert(1);
}

.salary-filter.has-value .salary-filter__clear {
    width: 28px;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.salary-filter.has-value .salary-filter__clear:hover {
    background: transparent;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.salary-filter__toggle-row {
    display: flex;
    align-items: center;
    gap: 30px;
    cursor: pointer;
    user-select: none;
    color: #4B5563;
    margin-bottom: 10px;
}

.salary-filter__toggle-input {
    display: none;
}

.salary-filter__toggle {
    position: relative;
    width: 40px; 
    height: 22px; 
    border-radius: 999px;
    background: #D1D5DB; 
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.salary-filter__toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.salary-filter__toggle-input:checked + .salary-filter__toggle {
    background: #9CA3AF;
}

.salary-filter__toggle-input:checked + .salary-filter__toggle::after {
    transform: translateX(18px);
    background: #fff;
}

.salary-filter__toggle-text {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 300;
}

.salary-filter__field {
    margin-top: 8px;
    margin-left: 0;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    box-sizing: border-box;
    border: 0.5px solid #d2cfcf;
    padding: 5px;
}

.salary-filter__field-text {
    font-size: 14px;
    color: #4B5563;
    font-weight: 300;
}

.salary-filter__input {
    width: 60px;
    border: none;
    border-bottom: 1px solid #62560E;
    background: transparent;
    outline: none;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1A2227;
    padding: 4px 0;
    transition: border-color 0.2s;
}

.salary-filter__input:focus {
    border-bottom-color: #374151; 
}

.salary-filter__input::-webkit-outer-spin-button,
.salary-filter__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filter-button-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.filter-button {
    display: flex;
    align-items: center;
    border: none;
    padding: 10px 14px;
    border-radius: 4px;
    gap: 10px;
    font-weight: 300;
    background-color: #F3F4F6;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #4B5563;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, padding-right 0.2s ease;
}

.filter-btn {
    height: 25px;
    transition: filter 0.2s ease;
}

.filter-button:hover {
    background: #D1D5DB;
}

.filter-button__label {
    line-height: 1;
}

.filter-button__count {
    width: 0;
    height: 23px;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.85);
    border-radius: 50%;
    background: #FFFFFF;
    color: #D95C50;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: width 0.2s ease, margin-left 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.filter-button__clear {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.filter-button__clear-icon {
    display: block;
    width: 23px;
    height: 23px;
}

.filter-button-wrap.has-active-filters .filter-button {
    background: #D84A3C;
    color: #FFFFFF;
    padding-right: 48px;
}

.filter-button-wrap.has-active-filters .filter-button:hover {
    background: #CC4336;
}

.filter-button-wrap.has-active-filters .filter-btn {
    filter: brightness(0) invert(1);
}

.filter-button-wrap.has-active-filters .filter-button__count {
    width: 23px;
    margin-left: 2px;
    opacity: 1;
    transform: scale(1);
}

.filter-button-wrap.has-active-filters .filter-button__clear {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.find-result {
    font-weight: 400;
    margin: 30px 0 30px 0;
}

.find-cards {
    display: flex;
    flex-direction: column;
    gap:10px;
}

.find-header {
    display: flex;
    gap: 39px;
}

.admin-role {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
}

.my-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: none;
    border-radius: 4px;
    background: #E8EEF5;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.my-checkbox::before {
    content: "";
    width: 4px;
    height: 8px;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: translateY(-1px) rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 0.15s ease;
}

.my-checkbox:checked {
    background: #0087FC;
}

.my-checkbox:checked::before {
    transform: translateY(-1px) rotate(45deg) scale(1);
}

.my-checkbox:focus-visible {
    outline: 2px solid rgba(0, 135, 252, 0.35);
    outline-offset: 2px;
}

.my-checkbox:checked + .admin-role__text {
    color: #0087FC;
}

.admin-role__text {
    transition: color 0.2s ease;
}

.admin-role__hint {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.admin-role__hint-icon {
    display: block;
    width: 25px;
    height: 25px;
}

.admin-role__tooltip {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    right: auto;
    width: 220px;
    max-width: 72vw;
    padding: 10px 12px;
    background: #FBF8F8;
    color: #ED717F;
    font-size: 12px;
    font-weight: 100;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(26, 34, 39, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 120;
}

.admin-role__hint:hover .admin-role__tooltip,
.admin-role__hint:focus-visible .admin-role__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.manager {
    display: flex;
    align-items: center;
}

.manager-dropdown {
    flex: 0 0 250px;
    min-width: 250px;
}

.manager-dropdown .vacancy-list__trigger {
    padding: 13px 16px;
    border: 1px solid #E1E7EE;
    background: #FFFFFF;
    color: #6E7680;
    box-shadow: none;
    opacity: 1;
}

.manager-dropdown .vacancy-list__trigger:hover {
    background: #FBFCFD;
}

.manager-dropdown .vacancy-list__trigger:focus {
    box-shadow: 0 4px 12px rgba(26, 34, 39, 0.08);
}

.manager-dropdown__text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    line-height: 1.2;
}

.manager-dropdown__prefix {
    color: #7C858F;
}

.manager-dropdown .vacancy-list__label {
    color: #5D6771;
}

.manager-dropdown .vacancy-list__arrow {
    width: 14px;
    height: 14px;
}

.manager-dropdown .vacancy-list__menu {
    top: calc(100% + 6px);
    border: 1px solid #E1E7EE;
}

.card {
    display: flex;
    gap: 25px;
    border: 1px solid #D1D5DB;
    max-width: 1090px;
    width: 100%;
    padding: 25px;
}

.card-logo {
    border: 1px solid #D1D5DB;
    padding: 10px;
    width: 55px;
    height: 55px;
}

.card-data {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-data__text1 {
    font-weight: 500;
}

.card-data__text1:hover {
    color: red;
    opacity: 0.8;
    cursor: pointer;
}

.card-data__text2:hover {
    color: red;
    opacity: 0.6;
    cursor: pointer;
}

.send-offer {
    display: flex;
    margin-top: 7px;
    gap: 50px;
}

.resp-offer {
    border: none;
    border-radius: 4px;
    background-color: #C1C3C5;
    color: white;
    padding: 4px 14px 4px 14px;
    cursor: pointer;
}

.offer-wrapper {
    position: relative;
    display: inline-flex;
}

.number-tooltip {
    position: absolute;
    bottom: -36px;     
    left: 40px;        
    background: #fff;
    color: #0087FC;
    font-size: 13px;
    font-weight: 400;
    padding: 8px 28px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    display: flex;
    gap: 7px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    z-index: 100;
    
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.resp-offer:hover + .number-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.resp-text {
    opacity: 0.8;
    font-size: 13px;
    align-self: flex-end;
}

.active {
    color: #0087FC;
}

.underline {
    display: inline-block; 
    padding-bottom: 3px; 
    cursor: pointer;
}

.underline-blue {
    border-bottom: 1px solid #0087FC;
}

.underline-black {
    border-bottom: 1px solid black;
}

.underline-red {
    border-bottom: 1px solid red;
}


.phone {
    height: 14px;
}

body.filters-drawer-open {
    overflow: hidden;
    padding-right: var(--filters-scrollbar-width, 0px);
}

.filters-drawer {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 600;
}

.filters-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Измнение цвета заднего фона aside */
.filters-drawer__backdrop {
    position: relative;
    flex: 1;
    min-width: 0;
    background: rgba(67, 67, 67, 0.78);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.filters-drawer.is-open .filters-drawer__backdrop {
    opacity: 1;
}

.filters-drawer__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.filters-drawer__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 2px;
    border-radius: 999px;
    background: #FFFFFF;
}

.filters-drawer__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.filters-drawer__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.filters-drawer__panel {
    width: min(460px, 100vw);
    height: 100%;
    background: #FFFFFF;
    box-shadow: -10px 0 28px rgba(26, 34, 39, 0.12);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.filters-drawer.is-open .filters-drawer__panel {
    transform: translateX(0);
}

.filters-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px 10px 16px;
    border-bottom: 1px solid #EEF2F6;
}

.filters-drawer__title {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #353B41;
}

.filters-drawer__back {
    border: 1px solid #EEF2F6;
    border-radius: 4px;
    background: #FFFFFF;
    color: #A1A8B0;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
}

.filters-drawer__back-icon {
    width: 12px;
    height: 12px;
    transform: rotate(90deg);
    opacity: 0.55;
}

.filters-drawer__body {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #FFFFFF;
}

.filters-drawer__view {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(14px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.filters-drawer__view.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.filters-drawer__content {
    flex: 1;
    overflow-y: auto;
    background: #FFFFFF;
}

.filters-drawer__row {
    width: 100%;
    border: none;
    border-bottom: 1px solid #EEF2F6;
    background: #FFFFFF;
    padding: 12px 14px 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.filters-drawer__row-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.filters-drawer__row-title {
    font-size: 14px;
    font-weight: 400;
    color: #4A5057;
}

.filters-drawer__row-value {
    font-size: 13px;
    font-weight: 300;
    color: #7E8791;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filters-drawer__row-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    flex-shrink: 0;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.filters-drawer__section.is-open .filters-drawer__row-arrow {
    transform: rotate(0deg);
}

.filters-drawer__section.is-open .filters-drawer__row--section .filters-drawer__row-value {
    display: none;
}

.filters-drawer__section-body {
    display: none;
    padding: 12px 16px 16px;
    border-bottom: 1px solid #EEF2F6;
    background: #FAFBFC;
}

.filters-drawer__section.is-open .filters-drawer__section-body {
    display: block;
}

.filters-drawer__switch-line {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.filters-drawer__switch-input {
    display: none;
}

.filters-drawer__switch {
    position: relative;
    width: 32px;
    height: 18px;
    border-radius: 999px;
    background: #D6DBE0;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.filters-drawer__switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(26, 34, 39, 0.16);
    transition: transform 0.2s ease;
}

.filters-drawer__switch-input:checked + .filters-drawer__switch {
    background: #4A97E8;
}

.filters-drawer__switch-input:checked + .filters-drawer__switch::after {
    transform: translateX(14px);
}

.filters-drawer__switch-label {
    font-size: 13px;
    font-weight: 300;
    color: #8E97A1;
}

.filters-drawer__salary-row {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.filters-drawer__salary-field {
    flex: 1;
    min-width: 0;
    border: 1px solid #EEF2F6;
    border-radius: 4px;
    background: #FFFFFF;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filters-drawer__salary-caption {
    font-size: 13px;
    font-weight: 300;
    color: #8E97A1;
    white-space: nowrap;
}

.filters-drawer__salary-input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0;
    font-size: 14px;
    font-weight: 300;
    color: #5F6871;
    font-family: 'Roboto', sans-serif;
}

.filters-drawer__salary-period-wrap {
    position: relative;
    flex-shrink: 0;
}

.filters-drawer__salary-period {
    border: 1px solid #EEF2F6;
    border-radius: 4px;
    background: #FFFFFF;
    padding: 11px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 300;
    color: #7E8791;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

.filters-drawer__salary-period-wrap.is-open .filters-drawer__salary-period {
    border-color: #D6DEE8;
}

.filters-drawer__salary-period-arrow {
    width: 10px;
    height: 10px;
    opacity: 0.55;
    transition: transform 0.2s ease;
}

.filters-drawer__salary-period-wrap.is-open .filters-drawer__salary-period-arrow {
    transform: rotate(180deg);
}

.filters-drawer__salary-period-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
    border: 1px solid #E6ECF2;
    border-radius: 4px;
    background: #FFFFFF;
    box-shadow: 0 10px 24px rgba(26, 34, 39, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

.filters-drawer__salary-period-wrap.is-open .filters-drawer__salary-period-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.filters-drawer__salary-period-option {
    border: none;
    background: #FFFFFF;
    padding: 9px 12px;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #7E8791;
    cursor: pointer;
    white-space: nowrap;
}

.filters-drawer__salary-period-option:hover,
.filters-drawer__salary-period-option.is-active {
    background: #F5F9FF;
    color: #2490FF;
}

.filters-drawer__section-body--checks {
    padding-top: 10px;
}

.filters-drawer__section-body--plain {
    background: #FFFFFF;
    padding-top: 8px;
}

.filters-drawer__check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 300;
    color: #7E8791;
    cursor: pointer;
}

.filters-drawer__check-input:checked + span {
    color: #2490FF;
}

.filters-drawer__check-input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #2490FF;
}

.filters-drawer__check-item--schedule {
    padding: 5px 0;
    font-size: 13px;
}

.filters-drawer__check-item--wide {
    grid-column: 1 / -1;
}

.filters-drawer__schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 0;
}

.filters-drawer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px 14px;
    border-top: 1px solid #EEF2F6;
    background: #FFFFFF;
}

.filters-drawer__reset {
    border: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 300;
    color: #3795FF;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.filters-drawer__reset > span:first-child {
    text-decoration: none;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.filters-drawer__reset:hover > span:first-child,
.filters-drawer__reset:focus-visible > span:first-child {
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

.filters-drawer__reset-icon {
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(55, 149, 255, 0.55);
    border-radius: 50%;
    flex-shrink: 0;
}

.filters-drawer__reset-icon::before,
.filters-drawer__reset-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 1px;
    background: #3795FF;
}

.filters-drawer__reset-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.filters-drawer__reset-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.filters-drawer__apply {
    border: none;
    border-radius: 3px;
    background: #2369A8;
    color: #FFFFFF;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.filters-drawer__content--location {
    padding: 14px 14px 0;
}

.filters-location {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filters-location__title {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #4A5057;
}

.filters-location__search {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #FFFFFF;
    padding-bottom: 2px;
}

.filters-location__search-input {
    width: 90%;
    height: 34px;
    border: 1px solid #E4EAF0;
    border-radius: 3px;
    outline: none;
    padding: 0 10px 0 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #6F7B87;
    background-color: #FFFFFF;
    background-image: url('assets/icons/glass.svg');
    background-repeat: no-repeat;
    background-position: right 9px center;
    background-size: 14px 14px;
}

.filters-location__search-input::placeholder {
    color: #A8B1BB;
}

.filters-location__search-input:focus {
    border-color: #58A4F5;
    box-shadow: 0 0 0 1px rgba(88, 164, 245, 0.18);
}

.filters-location__columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.filters-drawer__view--location.has-selection .filters-location__columns {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.filters-location__column {
    min-width: 0;
}

.filters-location__column--districts {
    padding-left: 18px;
}

.filters-location__column-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4A5057;
}

.filters-location__locations-list,
.filters-location__districts-list {
    display: flex;
    flex-direction: column;
}

.filters-location__option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    user-select: none;
}

.filters-location__option-input {
    width: 14px;
    height: 14px;
    margin: 2px 0 0;
    accent-color: #2490FF;
    flex-shrink: 0;
}

.filters-location__option-label {
    min-width: 0;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.35;
    color: #7E8791;
    word-break: break-word;
}

.filters-location__option--all-russia .filters-location__option-label {
    font-weight: 500;
    color: #4A5057;
}

.filters-location__option.is-selected .filters-location__option-label {
    color: #2490FF;
}

.filters-location__match {
    color: #2490FF;
}

.filters-location__empty {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 300;
    color: #A1A8B0;
}

@media (max-width: 640px) {
    .filters-drawer__panel {
        width: 100vw;
    }

    .filters-drawer__backdrop {
        width: 0;
        flex: 0 0 0;
    }

    .filters-drawer__close {
        display: none;
    }

    .filters-drawer__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-drawer__apply {
        width: 100%;
    }

    .filters-drawer__schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters-drawer__view--location.has-selection .filters-location__columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .filters-location__column--districts {
        border-left: none;
        border-top: 1px solid #EEF2F6;
        padding-left: 0;
        padding-top: 14px;
    }
}
