/* ===== Публичная страница резюме /resume?resume=<enc> ===== */

/* ---------- Лайтбокс фото ---------- */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-img {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
}

.img_wrapper {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img_wrapper img {
  width: 800px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.close_span:hover {
  color: #ff4444;
  background: rgba(0, 0, 0, 0.8);
}

/* ---------- Секция и основной грид ---------- */
.resume-search-section {
  color: black;
  padding: 0 150px;
  margin-top: 20px;
  font-size: 15px;
}

.resume-search-section__main {
  gap: 40px;
  display: grid;
  grid-template-columns: 1.3fr 0.5fr;
}

.resume-search-section__resumes::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.resume-search-section__resumes {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ---------- Карточка резюме ---------- */
.resume-card {
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  overflow-x: hidden;
}

.resume-card__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
}

.resume-card__photo {
  align-items: start;
}

.resume-card__photo img {
  width: 150px;
  border-radius: 5px;
}

.resume-card__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: space-between;
}

.resume-card__position {
  font-weight: bold;
  font-size: 20px;
  margin: 5px 0;
  color: #000;
  text-decoration: none;
}

.resume-card__prof {
  font-weight: bold;
  font-size: 15px;
  margin: 5px 0;
  color: #000;
  text-decoration: none;
}

.resume-card__location {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 15px;
}

.resume-card__salary {
  font-size: 15px;
}

.resume-card__salary span {
  font-weight: bold;
}

.resume-card__company-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.resume-card__company-logo {
  width: 70px;
  border-radius: 10px;
}

.resume-card__company-name {
  font-size: 20px;
}

.resume-card__apply-btn {
  background-color: #2e3238;
  padding: 10px 20px;
  color: #fff;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.resume-card__apply-btn:hover {
  background-color: #26292e;
}

.resume-card__tag {
  border: 1px solid #000;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  white-space: nowrap;
  cursor: default;
  color: #fff;
  background: #2a2a2a;
  font-size: 12px !important;
}

.resume-card__tag span {
  margin-left: 20px;
  font-weight: bold;
}

.resume-card__tags {
  display: flex;
  gap: 10px;
  align-items: start;
  list-style: none;
  flex-wrap: wrap;
  margin: 5px 0;
}

.resume-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resume-card__head_status {
  padding: 5px 10px;
  border-radius: 5px;
}

.resume-card__head_date,
.resume-card__tag,
.resume-card__head_status {
  font-size: 10px;
}

.resume-card__gender_aeg,
.resume-card__area,
.resume-card__info.resume-card__salary,
.resume-card__info p {
  font-size: 14px;
}
.resume-card__info p {
  font-size: 14px;
  white-space: pre-wrap;
}

.resume-card_weight {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  margin-bottom: 20px;
}

.resume-card_weight p {
  font-size: 25px;
}

.resume-card_all {
  padding: 15px;
  margin-bottom: 20px;
}

/* ---------- Компактная карточка ---------- */
.resume-compact-card {
  display: grid;
  grid-template-columns: 0.3fr 0.3fr 1fr;
  border: 1px solid #000;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  align-items: center;
  gap: 20px;
}

.resume-compact-card__photo img {
  width: 100%;
  border-radius: 10px;
}

.resume-compact-card__tags {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  list-style: none;
  flex-direction: column;
}

/* ---------- Сайдбар ---------- */
.sidebar-menu {
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 25px 10px;
  text-align: left;
  margin: 0 0 20px;
}

.sidebar-menu__list {
  list-style-type: none;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  margin: 0;
}

.sidebar-menu__list li {
  margin-bottom: 10px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.sidebar-menu__list li:hover {
  opacity: 0.7;
}

.sidebar-banner {
  height: 300px;
  background-color: #0088cc;
  border-radius: 10px;
}

/* ---------- Контент резюме ---------- */
.block-title {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 15px;
}

.block-title h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.candidate-card__section-title {
  font-size: 14px;
  font-weight: 700;
  margin: 5px 0;
  color: #1a1a1a;
}

.breadcrumbs {
  color: #808080;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 15px;
}

.profile-form__social-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cont_wrapper {
  display: flex;
  /* justify-content: space-between; */
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.skill_wrapper p {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
}

.skill_wrapper p span {
  background-color: #0088cc;
  color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
}

.responsibilities_content {
  white-space: pre-line;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

/* ---------- Скользящий правый модал (для рекрутёрского флоу) ---------- */
.right_window {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  background: white;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.redo_btn {
  cursor: pointer;
}

/* ---------- Поля форм (для рекрутёрского флоу) ---------- */
.resume-card__grid.form_t {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.resume-card__tag.form_t {
  border: none;
  padding: 2px 0;
  font-size: 15px;
  white-space: nowrap;
  cursor: default;
}

.input-field::placeholder {
  color: #8f8f8f;
  font-weight: 400;
  font-size: 12px;
}

.input-field:focus {
  border-color: #0088cc;
}

.input-field {
  width: 100%;
  padding: 10px 16px;
  font-size: 15px;
  border: 1.5px solid #000000;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s;
  background: white;
  color: #000000;
  font-weight: 500;
}

.type_grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 0 0 10px;
  width: 100%;
}

.type_grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.input_wrapper {
  display: flex;
  width: fit-content;
  gap: 10px;
  align-items: center;
}

.input_wrapper small {
  color: #888;
  display: block;
}

#another_vacancy_dropdown {
  z-index: 1;
  position: absolute;
  color: black;
  background: #fff;
  width: 100%;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #000;
  max-height: 200px;
  overflow-y: scroll;
  text-align: left;
}

.suggestion-item {
  cursor: pointer;
}

.highlight {
  background-color: #0088cc;
  font-weight: bold;
  border-radius: 2px;
  padding: 0 2px;
}

.vacancy-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.vacancy-tag {
  display: inline-flex;
  align-items: center;
  background-color: #2e3238;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 15px;
  gap: 8px;
}

.vacancy-tag .remove-vacancy {
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
  color: white;
  opacity: 0.7;
}

.vacancy-tag span {
  word-break: break-word;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  background-color: #2e3238;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 15px;
  gap: 8px;
}

.skill-tag .remove-skill {
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
  color: white;
  opacity: 0.7;
}

.skill-tag span {
  word-break: break-word;
}

.input-field.text_field {
  width: 100%;
  height: 200px;
}

.form-grid-3cols {
  display: grid;
  grid-template-columns: 1fr 0.7fr 2fr;
  gap: 10px;
}

.edu_wrapper,
.exp_wrapper,
.courses_wrapper,
.lang_wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 15px;
  width: 100%;
  position: relative;
}

#suggestions_dropdown,
#another_vacancy_dropdown,
#skills_dropdown,
.suggestions-dropdown,
.suggestions-suggestions {
  z-index: 1;
  position: absolute;
  color: black;
  background: #fff;
  width: 250px;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #000;
  max-height: 200px;
  overflow-y: scroll;
  text-align: left;
}

.date-input-group {
  display: flex;
  gap: 10px;
}

.form-grid-date {
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr;
  gap: 10px;
  padding: 0 0 15px;
}

.work-now-wrapper {
  display: flex;
  align-items: end;
}

.work-now-custom {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 0;
}

.work-now-custom-text::after {
  content: '✓';
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.work-now-custom-text::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  background: #fff;
  transition: all 0.2s ease;
}

.work-now-custom-text {
  font-size: 15px;
  font-weight: 500;
  color: #666;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.work-now-checkbox:checked + .work-now-custom-text {
  color: #0088cc;
}

.work-now-checkbox:checked + .work-now-custom-text::before {
  background: #0088cc;
  border-color: #0088cc;
}

.work-now-checkbox:checked + .work-now-custom-text::after {
  transform: translateY(-50%) scale(1);
}

.input-groups-courses,
.input-groups-lang {
  cursor: pointer;
}

.delete-btn:hover {
  background: rgba(220, 38, 38, 0.8);
  transform: scale(1.1);
}

.delete-btn {
  position: absolute;
  top: 0px;
  right: -5%;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  transition: all 0.3s;
  z-index: 2;
  padding: 0;
}

/* ---------- Кнопки контактов ---------- */
.vresp-card__contacts-btn {
  background: #2e3238;
  color: #fff;
  padding: 5px 15px;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  transition: background-color 0.25s ease;
}

.vresp-card__contacts-btn:hover {
  background: #333;
}

.vresp-card__contacts-btn--revoked,
.vresp-card__contacts-btn--revoked:hover {
  background: #b0b0b0;
  cursor: not-allowed;
}

.vacancies-actions-trigger:hover .dots-vertical {
  color: #08c;
  border-color: #08c;
}
.dots-vertical {
  font-size: 10px;
  color: #666;
  cursor: pointer;
  writing-mode: vertical-lr;
  display: inline-block;
  padding: 5px 0;
}
.vacancies-actions-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 100%;
  height: 100%; */
  cursor: pointer;
}

.candidate-card__invite:hover {
  background-color: #0077b3;
  cursor: pointer;
}
.candidate-card__invite {
  padding: 5px 15px;
  background-color: #0088cc;
  border: none;
  border-radius: 5px;
  color: #fff;
}

/* ===== Блок «Обо мне» на публичной странице ===== */
.about-me-content {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-me-content ul,
.about-me-content ol {
  margin: 10px 0;
  padding-left: 20px;
}

.about-me-content li {
  margin-bottom: 5px;
}