/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #f1f5f9;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --danger-color: #ef4444;

  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-card: #1e293b;
  --bg-hover: #475569;

  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --border-color: #334155;
  --border-light: #475569;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  --border-radius: 12px;
  --border-radius-lg: 16px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: 'Inter', system-ui, -apple-system, sans-serif; */
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  /* color: var(--text-primary);
  background: var(--bg-primary); */
  overflow-x: hidden;
}

.page {
  background: white;
  min-height: 100vh;
  /* display: flex;
  flex-direction: column; */
}

/* Утилиты */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Кнопки */
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
  padding: 10px 22px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

/* Навигация */
.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-brand i {
  font-size: 28px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-link i {
  font-size: 16px;
  width: 18px;
  text-align: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}

/* Главная секция */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 50%,
    var(--bg-primary) 100%
  );
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(245, 158, 11, 0.1) 0%,
      transparent 50%
    );
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

.hero-particles::before {
  top: 10%;
  left: 10%;
  background: var(--primary-color);
  animation-delay: -10s;
}

.hero-particles::after {
  bottom: 10%;
  right: 10%;
  background: var(--accent-color);
  animation-delay: -5s;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Форма поиска */
.search-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.search-grid {
  display: grid;
  grid-template-columns: 2.5fr 1.8fr 1.8fr auto;
  gap: 25px;
  align-items: end;
}

.search-field {
  position: relative;
}

.search-field i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  z-index: 2;
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 18px 18px 18px 50px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 16px;
  transition: var(--transition);
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-tertiary);
}

.search-field input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  padding: 18px 35px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 16px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Статистика */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Секция результатов */
.results {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.results-header h2 {
  font-size: 2rem;
  font-weight: 700;
}

.view-toggle {
  display: flex;
  gap: 10px;
}

.view-btn {
  padding: 10px 15px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.view-btn.active,
.view-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Фильтры */
.filters {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.filter-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-secondary);
}

.filter-group input[type='range'] {
  width: 100%;
  margin: 10px 0;
  accent-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
}

.checkbox-group input[type='checkbox'] {
  accent-color: var(--primary-color);
}

/* Сетка вакансий */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 25px;
}

.jobs-grid.list-view {
  grid-template-columns: 1fr;
}

.jobs-grid.list-view .job-card {
  display: flex;
  padding: 25px;
}

/* Карточка вакансии */
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 25px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-light);
}

.job-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.company-logo {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-info {
  flex: 1;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.company-name {
  color: var(--text-secondary);
  font-weight: 500;
}

.bookmark-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  padding: 5px;
  border-radius: 50%;
}

.bookmark-btn:hover {
  color: var(--danger-color);
  background: rgba(239, 68, 68, 0.1);
}

.bookmark-btn.active {
  color: var(--danger-color);
}

.job-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.detail-item i {
  color: var(--text-muted);
  width: 16px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.posted-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.apply-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Состояние "Ничего не найдено" */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.no-results i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Футер */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px 50px;
  border: 2px solid #153440;
  width: 50%;
  text-align: center;
  border-radius: 15px;
  color: black;
}

.modal_input {
  border-radius: 10px;
  font-size: 12px;
  padding: 5px;
  border: 1px solid #aaa;
  /* font-family: 'Raleway', sans-serif; */
  margin: 10px 0;
  width: 100%;
}

.modal-content .btn_group button {
  margin: 10px;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  border: none;
  cursor: pointer;
}
.modal-content .btn_group button[name='confirm'] {
  background-color: #0088cc;
  transition: all 0.3s ease;
}

.modal-content .btn_group button[name='confirm']:hover {
  background-color: #006699; /* темнее на 20% */
  cursor: pointer;
}

.modal-content .btn_group button[name='cancel'] {
  background-color: #2e3238;
  transition: all 0.3s ease;
}

.modal-content .btn_group button[name='cancel']:hover {
  background-color: #1e2126; /* темнее */
  cursor: pointer;
}

.close_span {
  position: relative;
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close_span:hover {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal_title {
  font-size: 22px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 16px;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-tertiary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(120deg);
  }
  66% {
    transform: translateY(-60px) rotate(240deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Бейдж статуса поиска работы — используется на всех страницах */
.job-status {
  display: inline-block;
  background: #00ff41;
  color: #000;
  border-radius: 8px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 10px;
  white-space: nowrap;
}
.job-status-passive {
  background: #fc0;
  color: #000;
}
.job-status-inactive {
  background: #ff0000c2;
  color: #fff;
}

/* ---- Модал приглашения кандидата (.candidate-card__invite) ---- */
.invite-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.invite-modal-overlay.is-open {
  opacity: 1;
  display: flex;
}
.invite-modal-box {
  background: #fff;
  border-radius: 16px;
  width: 600px;
  max-width: calc(100vw - 32px);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.invite-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid #ebebeb;
}
.invite-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.invite-modal-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #6b6b6b;
  padding: 0 4px;
  line-height: 1;
  font-family: inherit;
}
.invite-modal-close:hover {
  color: #1a1a1a;
}
.invite-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px;
}
.invite-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.invite-modal-item {
  border-bottom: 1px solid #f0f0f0;
}
.invite-modal-item:last-child {
  border-bottom: none;
}
.invite-modal-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  cursor: pointer;
  font-size: 14px;
  color: #1a1a1a;
}
.invite-modal-label:hover {
  color: #0088cc;
}
.invite-modal-radio {
  width: 16px;
  height: 16px;
  accent-color: #0088cc;
  flex-shrink: 0;
  cursor: pointer;
}
.invite-modal-loading,
.invite-modal-empty {
  color: #6b6b6b;
  font-size: 14px;
  margin: 0;
  padding: 12px 0;
}
.invite-modal-success {
  color: #1c5f31;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  padding: 12px 0;
}
.invite-modal-notice {
  background: #f0f4f8;
  border-left: 3px solid #0088cc;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #333;
}
.invite-modal-notice-list {
  margin: 6px 0 0 18px;
  padding: 0;
  font-size: 13px;
}
.invite-modal-foot {
  display: flex;
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid #ebebeb;
  justify-content: center;
}
.invite-modal-submit {
  background: #0088cc;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}
.invite-modal-submit:hover:not(:disabled) {
  background: #0077b3;
}

.fav-folders-item--added {
  background: #e8f4fd;
}
.fav-folders-item--added .fav-folders-label {
  cursor: default;
  color: #555;
}
.fav-folders-added {
  font-size: 12px;
  color: #0088cc;
  margin-left: auto;
}

.invite-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.invite-modal-cancel {
  background: #f0f0f0;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}
.invite-modal-cancel:hover {
  background: #e0e0e0;
}

.invite-modal-warn-hint {
  font-size: 14px;
  color: #555;
  margin: 0;
}
.invite-modal-warn-link {
  color: #0088cc;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.invite-modal-warn-link:hover {
  color: #0077b3;
}
.invite-modal-warn-link:visited {
  color: #0088cc;
}

/* ---- Модал избранного ---- */
.fav-create-folder {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 12px;
}
.fav-create-folder__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.fav-create-folder__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fav-create-folder__input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.fav-create-folder__input:focus {
  border-color: #0088cc;
}
.fav-create-folder__check {
  width: 18px;
  height: 18px;
  accent-color: #0088cc;
  cursor: pointer;
}
.fav-create-folder__check-label {
  cursor: pointer;
}
.fav-my-folders__title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.fav-my-folders__loading,
.fav-my-folders__empty {
  color: #6b6b6b;
  font-size: 14px;
  margin: 0;
  padding: 8px 0;
}
.fav-folders-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fav-folders-item {
  border-bottom: 1px solid #f0f0f0;
}
.fav-folders-item:last-child {
  border-bottom: none;
}
.fav-folders-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  cursor: pointer;
  font-size: 14px;
  color: #1a1a1a;
}
.fav-folders-label:hover {
  color: #0088cc;
}
.fav-folders-check {
  width: 16px;
  height: 16px;
  accent-color: #0088cc;
  flex-shrink: 0;
  cursor: pointer;
}

.fav-folders-error {
  background: #fff0f0;
  border-left: 3px solid #f44336;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #c62828;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .search-btn {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 200px;
  }

  .jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
  }

  .stats {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-actions .btn-secondary,
  .nav-actions .btn-primary {
    padding: 8px 16px;
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .search-form {
    padding: 20px;
  }

  .search-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .search-btn {
    grid-column: 1;
    justify-self: stretch;
  }

  .stats {
    flex-direction: column;
    gap: 30px;
  }

  .results-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .job-card {
    padding: 20px;
  }

  .job-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .filters {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 10px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding-top: 80px;
    min-height: 90vh;
  }

  .hero-content {
    padding: 0 10px;
  }

  .search-form {
    padding: 15px;
  }

  .job-card {
    padding: 15px;
  }

  .job-header {
    gap: 10px;
  }

  .company-logo {
    width: 50px;
    height: 50px;
  }

  .job-title {
    font-size: 1.1rem;
  }

  .modal-content {
    width: 95%;
    margin: 10px;
  }

  .modal-header,
  .modal-body {
    padding: 20px 15px;
  }

  .form-actions {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Подсказки */
.suggestions-dropdown-all {
  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;
}
