/* ==========================================================================
   premium.html — Кабинет работодателя: вакансия, статистика, Premium (Figma 6:2307)
   ========================================================================== */

.dash-body {
  background: #f4f5f7;
  font-size: .95rem;
}

.dash-shell {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
}

/* ---------- Left nav sidebar (dark) ---------- */

.dash-sidebar {
  background: #0b121b;
  width: 240px;
  flex-shrink: 0;
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.dash-sidebar__brand { font-size: 1.2rem; margin-bottom: -.6rem; }
.dash-sidebar__brand img { width: 28px; }
.dash-sidebar__tagline { font-size: .72rem; color: #7b7f8c; margin: 0; }

.dash-post-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: #0049d8;
  border: 1px solid #003bad;
  border-radius: 6px;
  color: #fff;
  font-size: .85rem;
  padding: .8rem 1rem;
  cursor: pointer;
}

.dash-post-btn img { width: 15px; }

.dash-nav { display: flex; flex-direction: column; gap: .15rem; }

.dash-nav__item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .65rem .5rem;
  border-radius: 6px;
  font-size: .82rem;
  color: #9195a0;
}

.dash-nav__item img { width: 18px; height: auto; opacity: .75; }

.dash-nav__item.is-active {
  background: #131e28;
  color: #f0f1f2;
}

.dash-nav__item.is-active img { opacity: 1; }

.dash-nav__badge {
  margin-left: auto;
  background: #1b232d;
  color: #a3a8b3;
  font-size: .68rem;
  font-weight: 600;
  border-radius: 8px;
  padding: .1rem .5rem;
}

.dash-nav__badge--blue { background: #0e2233; color: #7ec2f5; }

.dash-sidebar__cards {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

/* ---------- Main column ---------- */

.dash-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.dash-columns {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: start;
  gap: 1.4rem;
  padding: 1.5rem 2rem 0;
}

.dash-main { min-width: 0; }

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.dash-topbar__back {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #5e84e6;
  font-size: .85rem;
}

.dash-topbar__back img { width: 12px; }

.dash-topbar__user { display: flex; align-items: center; gap: .9rem; }

.dash-bell { position: relative; display: inline-flex; }
.dash-bell img { width: 20px; }
.dash-bell em {
  position: absolute;
  top: -6px; right: -8px;
  background: #f56a5a;
  color: #fff;
  font-style: normal;
  font-size: .6rem;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}

.dash-topbar__chat { width: 19px; }

.dash-topbar__id { display: flex; flex-direction: column; line-height: 1.25; }
.dash-topbar__id strong { font-size: .78rem; color: #4a4c52; }
.dash-topbar__id small { font-size: .68rem; color: #9a9ea6; }
.dash-topbar__chevron { width: 11px; }

/* Text avatar badge (shared "SILK ROAD" mark) */

.avatar-silk {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #14181b;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
  flex-shrink: 0;
}

.avatar-silk--sm { width: 32px; height: 32px; font-size: .32rem; }
.avatar-silk--lg { width: 56px; height: 56px; font-size: .48rem; }

/* Help strip */

.help-strip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #fff;
  border: 2px solid #f4f6f9;
  border-radius: var(--ri-radius-sm);
  padding: 1rem 1.4rem;
  margin: 1.4rem 2rem 2rem;
  flex-wrap: wrap;
}

.help-strip > img { width: 26px; }
.help-strip__text { display: flex; flex-direction: column; margin-right: auto; }
.help-strip__text strong { font-size: .78rem; color: #66676e; }
.help-strip__text span { font-size: .68rem; color: #9da2b0; }

.help-strip__action {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  color: #878c9b;
  border-left: 1px solid var(--ri-line);
  padding-left: 1.2rem;
}

.help-strip__action img { width: 20px; flex-shrink: 0; }
.help-strip__action span { display: flex; flex-direction: column; }
.help-strip__action strong { font-size: .78rem; font-weight: 500; color: #5c5e66; }
.help-strip__action small { color: #a3a7b7; font-size: .65rem; font-weight: 300; }

/* Success banner */

.success-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, #eefaf1, #f5fbf7);
  border: 1px solid #e2f2e6;
  border-radius: var(--ri-radius-sm);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
}

.success-banner__icon-wrap { position: relative; flex-shrink: 0; width: 52px; height: 52px; }

.success-banner img { width: 52px; flex-shrink: 0; }
.success-banner h2 { font-size: 1.05rem; font-weight: 500; color: #4c5551; margin: 0 0 .3rem; }
.success-banner p { font-size: .8rem; color: #888d9a; margin: 0; }

.success-banner__preview { margin-left: auto; flex-shrink: 0; display: none; }

.success-banner__preview-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(60, 90, 70, .1);
  padding: .7rem .9rem;
  width: 220px;
}

.success-banner__preview-card div { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.success-banner__preview-card strong { font-size: .82rem; font-weight: 600; color: #3f434d; }
.success-banner__preview-card small { font-size: .68rem; color: #9297a5; }

@media (min-width: 900px) {
  .success-banner__preview { display: block; }
}

/* Vacancy header card */

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

.vacancy-card__title-row { display: flex; align-items: center; gap: .8rem; }
.vacancy-card__title-row h1 { font-size: 1.4rem; font-weight: 500; color: #484a52; margin: 0; }

.badge-active {
  background: #e9f5ed;
  color: #649d77;
  font-size: .72rem;
  border-radius: 9px;
  padding: .25rem .75rem;
}

.vacancy-card__meta { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: #61626d; margin: .3rem 0 0; }
.vacancy-card__verified { width: 15px; }
.vacancy-card__meta--tags img { width: 14px; margin-left: .5rem; }
.vacancy-card__meta--tags img:first-child { margin-left: 0; }
.vacancy-card__meta--sub { color: #9a9fae; font-size: .74rem; margin-left: auto; }

/* Quick stats + actions panel */

.vacancy-quickpanel {
  background: #fefefe;
  border: 1px solid #f2f2f4;
  border-radius: var(--ri-radius-sm);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
}

.vacancy-quickpanel__divider {
  border-top: 1px solid #f0f0f2;
  margin: 1.1rem 0;
}

.quick-action--plain {
  background: transparent;
  border: 0;
  padding: 0;
}

.stats-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .2rem;
}

.stats-heading h3 { font-size: .95rem; color: #66686f; font-weight: 500; margin: 0; }
.stats-heading__link { font-size: .78rem; color: #7598dc; white-space: nowrap; }

/* Stats */

.stat-tile {
  background: #fdfdfd;
  border-radius: var(--ri-radius-sm);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  border: 1px solid #f2f2f4;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.stat-tile__icon { width: 22px; margin-bottom: .3rem; }
.stat-tile strong { font-size: 1.4rem; font-weight: 700; }
.stat-tile span { font-size: .75rem; color: #7b7f8d; }
.stat-tile small { font-size: .68rem; color: #a9adba; font-weight: 300; }
.stat-tile__spark { width: 100%; height: 30px; margin-top: .5rem; object-fit: cover; }

.stat-tile--blue { background: #f3f8fd; border-color: #ebf4fc; }
.stat-tile--blue strong { color: #3f7ce2; }
.stat-tile--green { background: #f5faf6; border-color: #e7f2ec; }
.stat-tile--green strong { color: #42945c; }
.stat-tile--orange { background: #fef9f3; border-color: #fdf4e9; }
.stat-tile--orange strong { color: #fc902d; }
.stat-tile--purple { background: #f9f6fd; border-color: #f2effc; }
.stat-tile--purple strong { color: #9d84dd; }

.stats-note { font-size: .74rem; color: #9297a7; margin: .7rem 0 1.4rem; }

/* Promote CTA */

.promote-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: #fef9f3;
  border: 2px solid #fdf1e0;
  border-radius: var(--ri-radius-md);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.6rem;
}

.promote-cta__text h3 { font-size: 1.15rem; color: #5a5b5d; font-weight: 500; margin: 0 0 .4rem; }
.promote-cta__text p { font-size: .8rem; color: #8b8d97; margin: 0 0 .8rem; max-width: 480px; }

.promote-cta__benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.promote-cta__benefits li { display: flex; align-items: center; gap: .5rem; font-size: .74rem; color: #7f7f83; }
.promote-cta__benefits img { width: 24px; }

.promote-cta__action { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.promote-cta__rocket { width: 64px; height: auto; margin-bottom: .3rem; }

.btn-promote {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fa7002;
  border: 1px solid #fc872e;
  border-radius: 6px;
  color: #fff;
  font-size: .85rem;
  padding: .8rem 1.6rem;
  white-space: nowrap;
  cursor: pointer;
}

.btn-promote img { width: 14px; }
.promote-cta__action a { font-size: .72rem; color: #7598dc; }

/* Quick actions */

.section-heading { font-size: .95rem; color: #66686f; font-weight: 500; margin-bottom: .9rem; }

.quick-actions { margin-bottom: 1.6rem; }

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  background: #fdfdfd;
  border: 1px solid #f4f2f0;
  border-radius: var(--ri-radius-sm);
  padding: 1.3rem 1rem;
  height: 100%;
  color: #63656e;
}

.quick-action img { width: 36px; }
.quick-action strong { font-size: .82rem; font-weight: 500; }
.quick-action span { font-size: .7rem; color: #9699a9; }

/* Publication settings */

.pub-settings { margin-bottom: 0; }

.pub-setting {
  background: #fefefe;
  border-radius: var(--ri-radius-sm);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  height: 100%;
}

.pub-setting img { width: 20px; margin-bottom: .4rem; }
.pub-setting span { font-size: .68rem; color: #9ca0b0; }
.pub-setting strong { font-size: .85rem; color: #63656f; }
.pub-setting small { font-size: .68rem; color: #a3a7b5; font-weight: 300; }

/* ---------- Right panel (light) ---------- */

.dash-right-panel { min-width: 0; }

.panel {
  background: #fefefe;
  border: 1px solid #f1f2f5;
  border-radius: var(--ri-radius-sm);
  padding: 1.3rem 1.4rem;
  margin-bottom: 1rem;
}

.panel h4 { font-size: .9rem; font-weight: 500; color: #5d5e65; margin: 0 0 1rem; }

.active-checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .7rem; }
.active-checklist li { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: #5d616c; }
.active-checklist img { width: 16px; flex-shrink: 0; }

.panel__details summary::-webkit-details-marker { display: none; }
.panel__details summary { list-style: none; }

.panel__toggle {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fafbfc;
  border: 1px solid #eff1f5;
  border-radius: 6px;
  padding: .7rem 1rem;
  font-size: .78rem;
  color: #7d8293;
  width: 100%;
  cursor: pointer;
}

.panel__toggle img { width: 15px; }

.how-it-works { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-direction: column; gap: .7rem; }
.how-it-works li { display: flex; align-items: center; gap: .7rem; font-size: .78rem; color: #7e8494; }
.how-it-works img { width: 15px; }

.pub-history { list-style: none; padding: 0; margin: 0 0 .8rem; }

.pub-history li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .5rem 0;
}

.pub-history__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #c4c7d1;
  flex-shrink: 0;
}

.pub-history__dot--active { background: #6ba57c; }

.pub-history div { display: flex; flex-direction: column; margin-right: auto; }
.pub-history strong { font-size: .78rem; color: #7e8493; }
.pub-history span { font-size: .68rem; color: #a5a9b8; }
.pub-history time { font-size: .68rem; color: #9297a9; white-space: nowrap; }

.panel__link { font-size: .78rem; color: #7598e6; }

.other-option {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 0;
  border-top: 1px solid #f4f2f0;
}

.other-option:first-of-type { border-top: none; }
.other-option img { width: 26px; flex-shrink: 0; }
.other-option div { display: flex; flex-direction: column; margin-right: auto; }
.other-option strong { font-size: .8rem; color: #656c68; }
.other-option span { font-size: .68rem; color: #8b9893; }
.other-option a { font-size: .72rem; color: #7094e6; white-space: nowrap; }

/* ---------- Sidebar dark cards (Premium + Help) ---------- */

.help-card,
.premium-card {
  background: #0d1721;
  border: 1px solid #17212c;
  border-radius: 7px;
  padding: 1.3rem 1.1rem;
  text-align: center;
}

.help-card__icon { width: 24px; margin-bottom: .5rem; }
.premium-card__icon { width: 24px; margin-bottom: .5rem; }

.help-card__eyebrow { font-size: .78rem; font-weight: 600; color: #e5e7ea; margin: 0 0 .3rem; }
.help-card__lead { font-size: .74rem; color: #8d9399; margin: 0 0 .1rem; }
.help-card__sub { font-size: .74rem; color: #9499a0; font-weight: 300; margin: 0 0 .7rem; }
.help-card__handle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .72rem;
  color: #cfd2d8;
  margin: 0;
}
.help-card__handle img { width: 18px; }

.premium-card { border: 1px solid #f0e4c2; background: linear-gradient(180deg, #14212f 0%, #0d1721 100%); }
.premium-card__title { font-size: .78rem; font-weight: 700; color: #d4af37; letter-spacing: .02em; margin: 0 0 .5rem; }
.premium-card__lead { font-size: .74rem; color: #c7cad0; margin: 0; }
.premium-card__sub { font-size: .72rem; color: #9099a3; margin: 0 0 1rem; }

.premium-card__btn {
  width: 100%;
  background: #0a1621;
  border: 1px solid #2a3a4a;
  border-radius: 4px;
  color: #d4af37;
  font-size: .78rem;
  padding: .65rem;
  cursor: pointer;
}

@media (max-width: 1199.98px) {
  .dash-columns { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .dash-shell { flex-direction: column; }
  .dash-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-sidebar__cards { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .help-card, .premium-card { flex: 1 1 240px; }
  .dash-columns { padding: 1.2rem 1rem 0; }
  .help-strip { margin: 1.2rem 1rem 1.5rem; }
}
