/* ==========================================================================
   dashboard-create-profile.html — результаты поиска вакансий + "Создать профиль"
   ========================================================================== */

.dcp-body {
  background: #f7f5f5;
  padding-bottom: 5.5rem; /* место под нижнюю панель навигации */
}

.dcp-main {
  padding: 2rem 0 3rem;
}

.dcp-title {
  font-weight: 600;
  font-size: 2.2rem;
  color: #2c2f31;
  margin-bottom: 1.5rem;
}

.dcp-title span { color: #2c2f31; }

/* ---------- Header extras (globe / chevron / menu) ---------- */

.lang-switch__globe { width: 22px; height: 22px; object-fit: contain; }
.lang-switch__chevron { width: 10px; height: auto; object-fit: contain; }

.site-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  margin-left: .5rem;
}

.site-header__menu-toggle img { width: 26px; height: auto; }

/* ---------- Search bar ---------- */

.dcp-searchbar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--ri-cream-soft);
  border-radius: var(--ri-radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.dcp-searchbar__field {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.15rem;
  color: #4c4c4b;
}

.dcp-searchbar__field img { width: 24px; height: 24px; object-fit: contain; }

.dcp-searchbar__clear {
  width: 16px !important;
  height: 16px !important;
  margin-left: .3rem;
  opacity: .8;
}

.dcp-searchbar__sep {
  width: 1px;
  height: 28px;
  background: #e3ddd6;
}

.dcp-searchbar__edit {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  background: #faf6f2;
  border: 1px solid #deba8e;
  border-radius: var(--ri-radius-sm);
  padding: .7rem 1.3rem;
  color: #cf9e60;
  font-size: 1rem;
}

.dcp-searchbar__edit img { width: 18px; height: auto; }

/* ---------- Toolbar ---------- */

.dcp-toolbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: .75rem 0;
  margin-bottom: 1rem;
}

.dcp-toolbar__found {
  color: #73787c;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.dcp-toolbar__count {
  color: #cf9854;
}

.dcp-toolbar__sort {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #787c80;
  font-size: 1.05rem;
}

.dcp-toolbar__sort img { width: 12px; height: auto; }

.dcp-toolbar__notify-wrap {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
}

.dcp-toolbar__notify {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fdfdfd;
  border: 1px solid #dbaf75;
  border-radius: var(--ri-radius-sm);
  padding: .8rem 1.4rem;
  color: #d09b57;
  font-size: 1.05rem;
}

.dcp-toolbar__notify-hint {
  font-size: .78rem;
  color: #9a9daa;
}

.dcp-toolbar__notify img { width: 20px; height: auto; }

/* ---------- Filters ---------- */

.dcp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.75rem;
}

.dcp-filter {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--ri-cream-soft);
  border: none;
  border-radius: var(--ri-radius-sm);
  padding: .9rem 1.4rem;
  font-size: 1.05rem;
  color: #4f4f4e;
}

.dcp-filter img { width: 16px; height: auto; }

.dcp-filter--badge {
  background: #fdfdfd;
  border: 1px solid #e0e1e3;
  position: relative;
}

.dcp-filter__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c98a36;
  border: 1px solid #cc7e22;
  color: #f0ddc2;
  font-size: .8rem;
}

/* ---------- Job cards ---------- */

.dcp-jobs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dcp-job {
  position: relative;
  background: #fdfdfd;
  border: 1px solid #f4efeb;
  border-radius: var(--ri-radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.dcp-job__logo {
  flex-shrink: 0;
  width: 140px;
  height: 130px;
  border-radius: var(--ri-radius-md);
  background: #f2eee9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.dcp-job__logo img:not(.dcp-job__logo-mark) {
  max-width: 60%;
  height: auto;
}

.dcp-job__logo--photo {
  background: #f2eee9;
  padding: 0;
}

.dcp-job__logo--photo > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.dcp-job__logo-mark {
  position: relative;
  z-index: 1;
  max-width: 40% !important;
}

.dcp-job__logo-caption {
  position: relative;
  z-index: 1;
  font-size: .65rem;
  letter-spacing: .06em;
  color: #807d79;
}

.dcp-job__logo--photo .dcp-job__logo-caption,
.dcp-job__logo--photo .dcp-job__logo-name {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

.dcp-job__logo-name {
  position: relative;
  z-index: 1;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #5b5855;
}

.dcp-job__body {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
}

.dcp-job__badge {
  position: absolute;
  top: -0.6rem;
  left: 0.75rem;
  z-index: 2;
  background: var(--ri-gold-dark);
  color: #fff;
  font-weight: 600;
  font-size: .78rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.dcp-job__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dcp-job__row + .dcp-job__row { margin-top: .5rem; }

.dcp-job__title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #323334;
  margin: 0;
}

.dcp-job__salary {
  font-size: 1.35rem;
  font-weight: 700;
  color: #282929;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.dcp-job__company {
  font-size: 1.1rem;
  color: #66686b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.dcp-job__verified {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.dcp-job__period {
  font-size: .9rem;
  color: #9a9c9f;
  white-space: nowrap;
}

.dcp-job__address {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: #797c80;
}

.dcp-job__address img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.dcp-job__bookmark {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.dcp-job__row--tags { align-items: flex-start; margin-top: .9rem; }

.dcp-job__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.dcp-job__tag {
  background: var(--ri-cream-soft);
  color: var(--ri-gold-dark);
  font-size: .9rem;
  padding: .5rem 1rem;
  border-radius: var(--ri-radius-sm);
  white-space: nowrap;
}

.dcp-job__time {
  font-size: .9rem;
  color: #9a9c9f;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- Create-profile CTA ---------- */

.dcp-cta {
  background: var(--ri-cream-soft);
  border-radius: var(--ri-radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.dcp-cta__icon {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}

.dcp-cta__text {
  flex: 1 1 320px;
}

.dcp-cta__text h4 {
  font-size: 1.15rem;
  font-weight: 400;
  color: #4f4f4f;
  margin: 0 0 .25rem;
}

.dcp-cta__text p {
  font-size: 1rem;
  color: #808285;
  margin: 0;
}

.dcp-cta__btn {
  flex-shrink: 0;
  background: #c88735;
  border: 1px solid #cf974b;
  border-radius: var(--ri-radius-sm);
  padding: .9rem 1.75rem;
  color: #eed8b8;
  font-size: 1.05rem;
  margin-left: auto;
}

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

.dcp-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #e6e6e7;
  z-index: 10;
}

.dcp-tabbar__inner {
  display: flex;
  justify-content: space-between;
  padding: .9rem 0;
}

.dcp-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: #777b7f;
  font-size: .9rem;
  flex: 1 1 0;
}

.dcp-tab img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.dcp-tab--active {
  color: #d6a05f;
}

@media (max-width: 767.98px) {
  .dcp-job { flex-direction: column; }
  .dcp-job__logo { width: 100%; }
  .dcp-job__row { flex-wrap: wrap; }
  .dcp-job__row--tags { flex-direction: column; gap: .6rem; }
  .dcp-tab span { display: none; }
}
