/* ==========================================================================
   support-chat.html — «Нужно исправить вакансию» + служба поддержки (Figma 6:1558)
   ========================================================================== */

.employer-body {
  background: #f4f5f7;
}

.employer-shell {
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
}

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

.employer-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: #0c1219;
  color: #9ea2a8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.2rem;
  position: sticky;
  top: 0;
}

.employer-sidebar__brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.6rem;
}

.employer-sidebar__brand img { width: 34px; height: auto; }

.employer-sidebar__brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.employer-sidebar__brand-text .brand__resto { color: #d3d4d6; font-weight: 700; font-size: 1.1rem; }
.employer-sidebar__brand-text .brand__ish { color: #de6f02; font-weight: 700; font-size: 1.1rem; }
.employer-sidebar__brand-text .brand__uz { color: #b4b7bb; font-size: .9em; }
.employer-sidebar__brand-text small { font-size: .68rem; color: #7a7f86; }

.employer-sidebar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: #004ad7;
  border: 1px solid #0044bc;
  border-radius: 6px;
  color: #cfe0fb;
  font-size: .82rem;
  font-weight: 500;
  padding: .8rem 1rem;
  margin-bottom: 1.6rem;
}

.employer-sidebar__cta img { width: 15px; height: auto; }

.employer-nav {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.employer-nav__item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem .5rem;
  border-radius: 6px;
  font-size: .82rem;
  color: #9ea2a8;
  position: relative;
}

.employer-nav__item img { width: 19px; height: auto; opacity: .8; }

.employer-nav__item.active {
  background: #151f2b;
  color: #cfd2d6;
}

.employer-nav__badge {
  margin-left: auto;
  background: #1f2b3a;
  color: #9ed3f7;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.employer-nav__badge--accent {
  background: var(--ri-gold, #fc7101);
  color: #fff;
}

.employer-nav {
  flex: 1;
}

.support-card__icon { width: 21px; height: auto; margin-bottom: .7rem; }

/* ---------- Shared "SILK ROAD" avatar mark ---------- */

.avatar-silk {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0c0c0c;
  border-radius: 50%;
  color: #a3a3a3;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: .02em;
}

.avatar-silk--lg { width: 56px; height: 56px; font-size: .58rem; }
.avatar-silk--sm { width: 40px; height: 40px; font-size: .42rem; }
.avatar-silk--xs { width: 34px; height: 34px; font-size: .34rem; }

/* ---------- Main layout ---------- */

.employer-main {
  flex: 1;
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  padding: 2rem 1.6rem 3rem;
  max-width: 1400px;
}

.employer-content { flex: 1; min-width: 0; }

.employer-support-col {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #6188e5;
  font-size: .82rem;
  margin-bottom: 1.2rem;
}

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

/* ---------- Rejection banner ---------- */

.rejection-banner {
  display: flex;
  gap: 1.2rem;
  background: #fdf8f1;
  border: 1px solid #fde9ce;
  border-radius: var(--ri-radius-md);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.5rem;
}

.rejection-banner__icon { width: 56px; height: auto; flex-shrink: 0; }

.rejection-banner__body h1 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #4d4e51;
  margin: 0 0 .3rem;
}

.rejection-banner__lead { font-size: .8rem; color: #82858e; margin: 0 0 1rem; }

.rejection-banner__meta {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
}

.rejection-banner__logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.rejection-banner__meta strong { display: block; font-size: .78rem; color: #63656b; font-weight: 400; }
.rejection-banner__meta span { font-size: .72rem; color: #9c9fa8; }

.rejection-banner__fix {
  background: #fff;
  border-radius: 8px;
  padding: .9rem 1.1rem;
  margin-bottom: 1.1rem;
}

.rejection-banner__fix-title { font-size: .8rem; color: #606063; margin: 0 0 .4rem; }
.rejection-banner__fix-text { font-size: .78rem; color: #7e7e82; margin: 0 0 .5rem; }
.rejection-banner__fix-hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  color: #898b94;
  margin: 0;
}
.rejection-banner__fix-hint img { width: 16px; height: auto; }

.btn-fix {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fc7101;
  border: 1px solid #fdad67;
  border-radius: 6px;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  padding: .7rem 1.4rem;
}

.btn-fix img { width: 15px; height: auto; }

/* ---------- Vacancy header ---------- */

.vacancy-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: var(--ri-radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
}

.vacancy-header__logo { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.vacancy-header__info { flex: 1; }
.vacancy-header__info h2 { font-size: 1.3rem; font-weight: 500; color: #4f5155; margin: 0 0 .2rem; }

.vacancy-header__company {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: #5f6165;
  margin: 0 0 .4rem;
}
.vacancy-header__company img { width: 15px; height: auto; }

.vacancy-header__meta {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  padding: 0;
  margin: 0 0 .4rem;
}
.vacancy-header__meta li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: #7c818f;
}
.vacancy-header__meta img { width: 13px; height: auto; }

.vacancy-header__created { font-size: .72rem; color: #9ca0af; margin: 0; }

.vacancy-header__side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}

.badge-status {
  flex-shrink: 0;
  border-radius: 6px;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 500;
}

.badge-status--fix { background: #fdf5ea; color: #d4966c; }

/* ---------- Field checklist ---------- */

.field-checklist {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 1.5rem;
}

.field-block {
  background: #fdfdfd;
  border: 1px solid #f2f4f7;
  border-radius: var(--ri-radius-sm);
  padding: 1.2rem 1.4rem;
}

.field-block--warn {
  background: #fff6f6;
  border-color: #fdedef;
}

.field-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .4rem;
}

.field-block__title { font-size: .88rem; color: #63656b; font-weight: 500; }

.field-block__status {
  font-size: .72rem;
  color: #9298a9;
  background: #f2f3f6;
  border-radius: 5px;
  padding: .25rem .6rem;
}

.field-block__status--warn { background: #fdf3f4; color: #f57275; }

.field-block__hint { font-size: .78rem; color: #6f6e79; margin: 0 0 .8rem; }
.field-block__value { font-size: .82rem; color: #9297a7; margin: .3rem 0 0; }

.field-compact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  border: 1px solid #f2f4f7;
  border-radius: var(--ri-radius-sm);
}

.field-compact-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1.4rem;
  border-bottom: 1px solid #f2f4f7;
}

.field-compact-list li:last-child { border-bottom: 0; }
.field-compact-list img { width: 18px; height: 18px; flex-shrink: 0; }
.field-compact-list__title { font-size: .85rem; color: #63656b; font-weight: 500; }
.field-compact-list__value { margin-left: auto; font-size: .8rem; color: #9297a7; }
.field-compact-list__chevron { width: 12px !important; height: 12px !important; opacity: .5; }

.field-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.field-row label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .68rem;
  color: #666770;
}

.field-input {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fdfdfd;
  border: 1px solid #e1e2e9;
  border-radius: 4px;
  padding: .6rem .8rem;
  font-size: .78rem;
  color: #77797e;
}

.field-input img { width: 14px; height: auto; }

.field-input--error { border-color: #f7bfc0; color: #adb0bd; }

.field-row__error small { color: #f76d70; font-size: .68rem; }

.field-divider {
  text-align: center;
  border-top: 1px solid #f0d3d4;
  line-height: 0;
  margin: 1rem 0;
}
.field-divider span {
  background: #fff6f6;
  padding: 0 .8rem;
  font-size: .72rem;
  color: #8a8c9a;
}

.field-select {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fdfdfd;
  border: 1px solid #e4e4ea;
  border-radius: 3px;
  padding: .7rem .9rem;
  font-size: .72rem;
  color: #9fa2af;
  margin-bottom: .6rem;
}
.field-select img { width: 13px; height: auto; }

.field-group-label { font-size: .74rem; font-weight: 600; color: #545864; margin: 0 0 .5rem; }

.field-examples {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: #eef4fd;
  border-radius: 8px;
  padding: .6rem .8rem;
  margin: 0 0 .8rem;
}
.field-examples img { width: 16px; height: auto; flex-shrink: 0; margin-top: .1rem; }
.field-examples p { font-size: .74rem; color: #4e6a94; margin: 0; }
.field-examples strong { font-weight: 600; }

.field-autosave {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #eef8ef;
  border: 1px solid #d9efdb;
  border-radius: 6px;
  padding: .8rem 1rem;
  margin-top: .9rem;
  font-size: .8rem;
  color: #3f6b45;
}
.field-autosave img { width: 20px; height: auto; flex-shrink: 0; }

.employer-footnote {
  font-size: .75rem;
  color: #a5a9b6;
  line-height: 1.6;
}

.employer-footnote--split {
  display: flex;
  gap: 2rem;
  margin: 1.2rem 0 0;
}
.employer-footnote--split span {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.employer-footnote--split img { width: 13px; height: auto; margin-top: .2rem; flex-shrink: 0; }

/* ---------- Top bar (support column) ---------- */

.employer-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .9rem;
  margin-bottom: 1.2rem;
}

.employer-topbar__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
}
.employer-topbar__icon img { width: 19px; height: auto; }

.employer-topbar__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #fc7101;
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.employer-topbar__profile {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: none;
  border: none;
  padding: 0;
}

.employer-topbar__profile-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}
.employer-topbar__profile-text strong { font-size: .74rem; font-weight: 700; color: #656668; }
.employer-topbar__profile-text small { font-size: .64rem; color: #a3a6b5; }

.employer-topbar__chevron { width: 11px !important; height: auto; }

/* ---------- Notification card ---------- */

.notification-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .8rem;
}
.notification-card__head h3 { margin: 0; }
.notification-card__head time { font-size: .74rem; color: #9298a9; }

.notification-card__text {
  font-size: .78rem;
  color: #848997;
  line-height: 1.6;
  margin: 0 0 1.1rem;
}

/* ---------- Support column ---------- */

.support-actions {
  display: flex;
  gap: .8rem;
}
.support-actions .btn-back-vacancy,
.support-actions .btn-resend { flex: 1; }

.btn-resend,
.btn-back-vacancy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: 6px;
  padding: .8rem 1rem;
  font-size: .82rem;
  font-weight: 500;
}

.btn-resend {
  background: #014cd9;
  border: 1px solid #2d65dd;
  color: #a3c4f2;
}

.btn-resend img { width: 16px; height: auto; }

.btn-back-vacancy {
  background: #fdfdfd;
  border: 1px solid #e8eaf0;
  color: #646878;
}

.btn-back-vacancy img { width: 13px; height: auto; }

.support-card {
  background: #040f1c;
  border: 2px solid #141f2b;
  border-radius: var(--ri-radius-md);
  padding: 1.3rem 1.4rem;
}

.support-card__title { font-size: .8rem; color: #90959b; margin: 0 0 .3rem; }
.support-card__lead { font-size: .78rem; color: #858b94; margin: 0 0 .2rem; }
.support-card__hours { font-size: .78rem; color: #8d929b; margin: 0 0 .9rem; }
.support-card__handle {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  color: #838890;
  margin: 0;
}
.support-card__handle img { width: 22px; height: auto; }

.support-widget {
  background: #fefefe;
  border: 1px solid #f2f4f7;
  border-radius: var(--ri-radius-sm);
  padding: 1.2rem 1.4rem;
}

.support-widget h3 {
  font-size: .88rem;
  font-weight: 500;
  color: #5a5b61;
  margin: 0 0 1rem;
}

.history-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.history-list li { display: flex; gap: .8rem; }
.history-list__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9d6bd;
  margin-top: .35rem;
}
.history-list__dot--warn { background: #e9a173; }
.history-list p { margin: 0; font-size: .78rem; color: #848999; }
.history-list strong { font-weight: 500; color: #5c5d62; }
.history-list time { font-size: .7rem; color: #9ba0b0; }
.history-list small { font-size: .7rem; color: #a3a6b3; }
.history-list__future { opacity: .55; }
.history-list__detail { color: #e9a375 !important; margin-top: .3rem !important; }

.vacancy-mini { margin: 0 0 1rem; }
.vacancy-mini div { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px solid #f4f5f8; }
.vacancy-mini dt { font-size: .72rem; color: #9ea2b0; font-weight: 400; }
.vacancy-mini dd { font-size: .78rem; color: #626367; margin: 0; }

.vacancy-mini__employer {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .5rem;
}
.vacancy-mini__employer img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.vacancy-mini__employer strong { display: block; font-size: .78rem; color: #656668; font-weight: 700; }
.vacancy-mini__employer span { font-size: .7rem; color: #a3a8b5; }

.vacancy-mini__date { font-size: .72rem; color: #9da2b1; margin: 0; }

.support-widget__link {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #e7f0fd;
  border-radius: 6px;
  padding: .8rem 1rem;
  font-size: .78rem;
  color: #5683e4;
}
.support-widget__link img { width: 18px; height: auto; }

.tip-box {
  background: #fdf9f4;
  border: 1px solid #fdf3e5;
  border-radius: var(--ri-radius-sm);
  padding: 1.3rem 1.4rem;
}
.tip-box img:first-child { width: 26px; height: auto; margin-bottom: .6rem; }
.tip-box__title { font-size: .78rem; font-weight: 700; color: #65666a; margin: 0 0 .4rem; }
.tip-box__text { font-size: .74rem; color: #797a80; line-height: 1.6; margin: 0 0 .8rem; }
.tip-box__link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  color: #779ce1;
}
.tip-box__link img { width: 12px; height: auto; margin-bottom: 0 !important; }

@media (max-width: 1199.98px) {
  .employer-main { flex-direction: column; }
  .employer-support-col { width: 100%; }
}

@media (max-width: 767.98px) {
  .employer-shell { flex-direction: column; }
  .employer-sidebar { width: 100%; position: static; min-height: auto; }
  .field-row { flex-direction: column; }
  .rejection-banner { flex-direction: column; }
}
