/* ==========================================================================
   dashboard-jobs.html — Карточка вакансии для соискателя (Figma 6:2612)
   ========================================================================== */

.jobs-body { background: #fff; padding-bottom: 0; }

.lang-switch__globe { width: 18px; height: auto; margin-right: .4rem; opacity: .7; }

.jobs-menu-btn {
  background: none;
  border: 0;
  padding: .4rem;
  margin-left: .6rem;
  cursor: pointer;
}

.jobs-menu-btn img { width: 20px; height: auto; }

/* ---------- Bottom tab bar ---------- */

.jobs-nav {
  background: #fff;
  border-top: 1px solid #f0f0f1;
  margin-top: 2.5rem;
}

.jobs-nav__inner {
  display: flex;
  justify-content: space-around;
  padding: .9rem 0 1.1rem;
}

.jobs-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: #8b8d97;
}

.jobs-nav__item img { width: 24px; height: auto; }

.jobs-nav__item.is-active { color: #d99e57; font-weight: 500; }

.jobs-nav__item--create { color: #6f7076; }
.jobs-nav__item--create img { width: 40px; margin-bottom: -.1rem; }

/* ---------- Breadcrumb ---------- */

.jobs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .85rem;
  color: #87898d;
  margin-bottom: 1.2rem;
}

.jobs-breadcrumb a { color: #87898d; }
.jobs-breadcrumb a:hover { color: var(--ri-gold-light); }
.jobs-breadcrumb span { color: #c4c5c8; }
.jobs-breadcrumb__current { color: #84878b; }

/* ---------- Create-profile banner ---------- */

.profile-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fbf7f4;
  border-radius: var(--ri-radius-md);
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.profile-banner img { width: 56px; height: auto; flex-shrink: 0; }
.profile-banner__text { display: flex; flex-direction: column; gap: .3rem; margin-right: auto; }
.profile-banner__text strong { font-size: 1.05rem; color: #565757; font-weight: 500; }
.profile-banner__text span { font-size: .9rem; color: #818387; }

.btn-create-profile {
  background: #c98634;
  border: 1px solid #dcb37d;
  border-radius: 7px;
  color: #edd6b6;
  font-size: 1rem;
  padding: .8rem 1.6rem;
  white-space: nowrap;
  cursor: pointer;
}

/* ---------- Back link ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #d7a262;
  font-size: .95rem;
  margin-bottom: 1.4rem;
}

.back-link img { width: 16px; height: auto; }

/* ---------- Job header ---------- */

.job-header {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

/* ---------- Company logo (background + emblem + wordmark) ---------- */

.company-logo {
  background: #131d0f;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  flex-shrink: 0;
  text-align: center;
}

.company-logo img { width: 42%; height: auto; }

.company-logo__name {
  color: #e3c169;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.company-logo__type {
  color: #b99a53;
  letter-spacing: .12em;
  line-height: 1;
}

.company-logo--lg { width: 150px; height: 150px; padding: .8rem; }
.company-logo--lg .company-logo__name { font-size: .92rem; margin-top: .2rem; }
.company-logo--lg .company-logo__type { font-size: .58rem; }

.company-logo--sm { width: 82px; height: 82px; padding: .4rem; gap: .1rem; }
.company-logo--sm .company-logo__name { font-size: .5rem; }
.company-logo--sm .company-logo__type { font-size: .38rem; }

.job-header__title-row { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.job-header__title-row h1 { font-size: 1.9rem; font-weight: 600; color: #2b2e31; margin: 0; }

.badge-new {
  background: #f8eee1;
  color: #cb914d;
  font-size: .68rem;
  border-radius: 9px;
  padding: .3rem .7rem;
}

.job-header__company { font-size: 1.15rem; color: #525354; margin: .3rem 0 .4rem; }

.job-header__address {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  color: #7c7e81;
  margin: 0;
}

.job-header__address img { width: 16px; height: auto; }
.job-header__address a { color: #d7a262; margin-left: .4rem; }

.job-header__actions { display: flex; gap: .6rem; margin-bottom: 1.6rem; }

.icon-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fdfdfd;
  border: 2px solid #f1f1f2;
  border-radius: 7px;
  padding: .7rem 1rem;
  font-size: .85rem;
  color: #5c5d5d;
  white-space: nowrap;
  cursor: pointer;
}

.icon-btn img { width: 18px; height: auto; }

/* ---------- Job facts ---------- */

.job-facts { margin-bottom: 1.6rem; }

.job-fact {
  background: #faf6f1;
  border-radius: 9px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .3rem;
  height: 100%;
}

.job-fact img { width: 26px; height: auto; }
.job-fact strong { font-size: .92rem; color: #5f5f5f; font-weight: 500; }
.job-fact span { font-size: .78rem; color: #8a8a8b; }

.job-posted { font-size: .85rem; color: #9f9fa1; margin: 0 0 .8rem; text-align: right; }

/* ---------- Apply buttons (sidebar, stacked) ---------- */

.apply-buttons { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.4rem; }

.apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: 7px;
  padding: .85rem 1.4rem;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
}

.apply-btn img { width: 20px; height: auto; }

.apply-btn--telegram { background: #fdfefe; border: 1px solid #eacdaa; color: #515253; }
.apply-btn--phone { background: #fdfdfd; border: 1px solid #e8cba7; color: #555556; }
.apply-btn--primary { background: #c78432; border: 1px solid #d5a160; color: #fff; }
.apply-btn--primary img { filter: brightness(0) invert(1); }

/* ---------- Trust note ---------- */

.trust-note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: 1.8rem;
}

.trust-note img { width: 22px; height: auto; flex-shrink: 0; margin-top: .1rem; }
.trust-note strong { display: block; font-size: .88rem; color: #4d4e4f; font-weight: 500; }
.trust-note span { font-size: .8rem; color: #98999b; }

.sidebar-heading { font-size: 1.05rem; font-weight: 500; color: #4f4f50; margin: 0 0 .9rem; }

/* ---------- Job sections ---------- */

.job-section { margin-bottom: 2rem; }

.job-section h2 {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: #494a4b;
  margin: 0 0 1rem;
}

.job-section h2 img { width: 26px; height: auto; }

.job-section > p {
  font-size: .95rem;
  color: #797b7e;
  line-height: 1.6;
  margin: 0;
}

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .8rem; }

.check-list li {
  font-size: .95rem;
  color: #77797c;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.check-list li img { width: 18px; height: auto; flex-shrink: 0; }

.check-list li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #cba15c;
  flex-shrink: 0;
}

.check-list li:has(img)::before { display: none; }
.check-list--plain li::before { display: flex; }

/* ---------- Employer card ---------- */

.employer-card {
  display: flex;
  gap: 1.3rem;
  background: #fdfcfb;
  border: 1px solid #f1eee9;
  border-radius: var(--ri-radius-md);
  padding: 1.6rem;
  margin-bottom: 1.8rem;
}

.employer-card__body h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.1rem;
  color: #545455;
  margin: 0 0 .4rem;
}

.employer-card__verified { width: 21px; height: auto; }

.employer-card__body > p { font-size: .85rem; color: #7b7d81; margin: 0 0 .8rem; }

.employer-card__stats {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}

.employer-card__stats span {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: #6f7173;
}

.employer-card__stats img { width: 16px; height: auto; }

.btn-outline-employer {
  background: transparent;
  border: 1px solid #eacdaa;
  border-radius: 6px;
  color: #cb914d;
  font-size: .88rem;
  padding: .65rem 1.3rem;
  cursor: pointer;
  width: 100%;
}

/* ---------- Sidebar CTA ---------- */

.cta-card {
  background: #fdfcfb;
  border: 5px solid #fefefe;
  box-shadow: 0 0 0 1px #f1eee9;
  border-radius: var(--ri-radius-md);
  padding: 1.6rem;
  text-align: center;
}

.cta-card__eyebrow { font-size: 1.05rem; color: #4f4f50; font-weight: 500; margin: 0 0 .6rem; }
.cta-card__lead { font-size: .85rem; color: #818285; margin: 0 0 1.2rem; }

.btn-create-profile--outline {
  background: #f9f2ea;
  border: 1px solid #faf5f0;
  color: #d29e5d;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  justify-content: center;
}

.btn-create-profile--outline img { width: 20px; height: auto; }

@media (max-width: 991.98px) {
  .job-header { flex-wrap: wrap; }
  .job-header__actions { width: 100%; }
  .job-posted { text-align: left; }
}
