/* Основные переменные */
:root {
  --primary-color: #139e58; /* rgb(19, 158, 88) */
  --primary-hover: #27ae60; /* rgb(39, 174, 96) */
  --secondary-color: #2c3e50; /* rgb(44, 62, 80) */
  --accent-color: #4a6cf7; /* rgb(74, 108, 247) */
  --text-color: #333333; /* rgb(51, 51, 51) */
  --text-light: #666666; /* rgb(102, 102, 102) */
  --text-lighter: #999999; /* rgb(153, 153, 153) */
  --bg-color: #ffffff; /* rgb(255, 255, 255) */
  --bg-light: #f9f9f9; /* rgb(249, 249, 249) */
  --bg-gray: #f5f5f5; /* rgb(245, 245, 245) */
  --bg-gray-light: #f0f0f0; /* rgb(240, 240, 240) */
  --border-color: #dddddd; /* rgb(221, 221, 221) */
  --border-light: #cccccc; /* rgb(204, 204, 204) */
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --radius: 22px;
  --container-width: 1200px;
}

/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Onest', 'Segoe UI', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

section {
  padding: 70px 0;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color);
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 3px;
}

/* Контейнер */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== HEADER ===== */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

/* Навигация */
nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav ul li a {
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0px;
  border-radius: var(--radius);
  transition: var(--transition);
}

nav ul li a:hover {
  background-color: var(--bg-gray-light);
  color: var(--primary-color);
}

nav ul li a.btn {
  position: relative;           /* для псевдоэлемента */
  overflow: hidden;             /* обрезаем shine за пределами кнопки */
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 8px 20px;
  font-weight: 500;
  transition: 
    background 0.3s ease, 
    transform 0.2s ease, 
    box-shadow 0.3s ease;
}

/* псевдоэлемент для «блика» */
nav ul li a.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  transform: skewX(-25deg);
  /* не показываем до ховера */
  opacity: 0;
}

/* при ховере — градиент + трансформация + glow + shine */
nav ul li a.btn:hover {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-hover)
  );
  transform: translateY(-2px);

  /* glow-эффект */
  box-shadow:
    0 4px 8px rgba(19, 158, 88, 0.2),
    0 0 12px rgba(255, 255, 255, 0.5);
}

/* запуск анимации блика */
nav ul li a.btn:hover::before {
  animation: shine 0.8s forwards;
  opacity: 1;
}

/* keyframes для движения блика слева направо */
@keyframes shine {
  to {
    left: 125%;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background-color: var(--secondary-color);
  background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--bg-color);
  padding: 120px 0 140px;
  text-align: center;
  position: relative;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--bg-color);
}

.hero h2::after {
  display: none;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  color: #e0e0e0;
}

/* Форма поиска */
.search-form {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  margin-top: 20px;
}

/* Группа формы */
.form-group {
  flex: 1 1 80px;
  position: relative;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
  font-family: 'Onest', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--bg-color);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: 'Onest', sans-serif;
}

.btn:hover {
  background-color: var(--primary-hover);
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(19, 158, 88, 0.2);
}

.search-form .btn {
  position: relative;            /* для shine-псевдоэлемента */
  overflow: hidden;              /* обрезаем блеск за пределами кнопки */
  width: 100%;
  padding: 14px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  
  background-color: var(--primary-color);
  color: var(--bg-color);
  transition: 
    background 0.3s ease, 
    transform 0.2s ease, 
    box-shadow 0.3s ease;
}

/* псевдоэлемент для блика */
.search-form .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  transform: skewX(-25deg);
  opacity: 0;
}

/* hover-эффекты: градиент, glow, подъем и shine */
.search-form .btn:hover {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-hover)
  );
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(19, 158, 88, 0.2),
    0 0 12px rgba(255, 255, 255, 0.5);
}

.search-form .btn:hover::before {
  animation: shine 0.8s forwards;
  opacity: 1;
}

/* Keyframes (достаточно объявить один раз в вашем CSS) */
@keyframes shine {
  to {
    left: 125%;
  }
}

/* ===== STATS SECTION ===== */
.stats {
  padding: 80px 0;
  background-color: var(--bg-color);
  position: relative;
}

/* Сетка статистики */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Элемент статистики */
.stat-item {
  text-align: center;
  padding: 40px 30px;
  background-color: #e7e7e7;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid #139d58;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(19, 158, 88, 0.1);
}

.stat-item h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.stat-item p {
  font-size: 18px;
  color: var(--text-light);
}

/* ===== LATEST JOBS SECTION ===== */
.latest-jobs {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
}

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

/* Карточка вакансии */
.job-card {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #139d58;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(19, 158, 88, 0.1);
}

.job-card h3 {
  padding: 20px 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
}

/* Информация о вакансии */
.job-info {
	padding: 10px 10px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
}

/* Информация о компании */
.company-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

/* Логотип компании */
.company-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-gray);
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

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

/* Название компании */
.company-name {
  font-weight: 500;
  color: var(--text-light);
  font-size: 14px;
}

/* Мета-информация о вакансии */
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

/* Стили для всех меток в job-meta */
.job-category,
.job-type,
.job-location,
.job-salary {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  background-color: var(--bg-gray-light);
  color: var(--text-light);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Уникальные стили для разных типов меток */
.job-category {
  background-color: rgba(19, 158, 88, 0.1);
  color: var(--primary-color);
}

.job-type {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.job-location {
  background-color: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.job-salary {
  background-color: rgba(241, 196, 15, 0.1);
  color: #f39c12;
  font-weight: 500;
}

.job-meta i {
  margin-right: 6px;
  font-size: 12px;
}

/* Описание вакансии */
.job-description {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.5;
  height: 65px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  flex-grow: 1;
  padding: 22px;
}

/* Футер карточки вакансии */
.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  padding: 22px;
}

.job-footer .btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* Дата публикации вакансии */
.job-date {
  font-size: 13px;
  color: var(--text-lighter);
}

/* Ссылка "Смотреть все" */
.view-all {
  text-align: center;
  margin-top: 50px;
}

.view-all .btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
}

/* Сообщение об отсутствии вакансий */
.no-jobs {
  text-align: center;
  padding: 40px;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 18px;
  box-shadow: var(--shadow);
}

/* ===== CATEGORIES SECTION ===== */
.categories {
  padding: 80px 0;
  background-color: var(--bg-color);
}

/* Сетка категорий */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}


/* Карточка категории */
.category-card {
  position: relative;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: var(--bg-color);
  background-color: var(--secondary-color);
  transition: var(--transition);
  padding: 30px 20px;
  text-decoration: none;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(0, 0, 0, 0.8));
  z-index: 1;
  transition: var(--transition);
}

.category-card:hover::before {
  background: linear-gradient(135deg, rgba(19, 158, 88, 0.8), rgba(27, 81, 56, 0.9));
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.category-card h3, 
.category-card p {
  position: relative;
  z-index: 2;
  width: 100%;
}

.category-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: auto;
  color: var(--bg-color);
  padding-top: 0px;
}

.category-card p {
  font-size: 14px;
  opacity: 0.9;
  color: #e0e0e0;
  max-height: 60px;
  overflow: hidden;
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}



/* ===== FOOTER ===== */
footer {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  padding: 70px 0 0;
  margin-top: auto;
}

/* Контент футера */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

/* О нас в футере */
.footer-about {
  display: flex;
  flex-direction: column;
}

.footer-about img {
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
  line-height: 1.8;
}

/* Ссылки в футере */
.footer-links h3 {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  font-weight: 600;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--bg-color);
  opacity: 0.8;
  transition: var(--transition);
  font-size: 15px;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--primary-color);
  padding-left: 5px;
}

/* Контакты в футере */
.footer-contact h3 {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  font-weight: 600;
}

.footer-contact p {
  margin-bottom: 15px;
  opacity: 0.8;
  font-size: 15px;
}

/* Нижняя часть футера */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 14px;
}

/* ===== МЕДИА-ЗАПРОСЫ ===== */
@media (max-width: 992px) {
  header {
    padding: 12px 0;
  }
  
  nav ul {
    gap: 12px;
  }
  
  nav ul li a {
    font-size: 14px;
    padding: 6px 10px;
  }
  
  .hero {
    padding: 100px 0 120px;
  }
  
  .hero h2 {
    font-size: 40px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    padding: 80px 0 100px;
  }
  
  .hero h2 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .search-form {
    padding: 20px;
  }
  
  .stat-item h3 {
    font-size: 30px;
  }
  
  .stat-item p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 60px 0;
  }
  
  .hero h2 {
    font-size: 28px;
  }
  
  .search-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .form-group {
    flex: 1 1 100%;
  }
  
  .form-group input,
  .form-group select {
    padding: 12px;
  }
  
  .job-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    height: 150px;
  }
}

/* ===== JOBS PAGE STYLES ===== */

/* Заголовок страницы */
.page-header {
  background-color: var(--secondary-color);
  background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(0, 0, 0, 0.7));
  padding: 50px 0;
  text-align: center;
  color: var(--bg-color);
}

.page-header h2 {
  margin-bottom: 0;
  color: var(--bg-color);
}

.page-header h2::after {
  margin: 15px auto 0;
}

/* Секция вакансий */
.jobs-section {
  padding: 50px 0;
  background-color: var(--bg-light);
}

/* Фильтры вакансий */
.jobs-filters {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  margin-bottom: 30px;
}

.filters-form .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}

.filters-form .form-group {
  flex: 1 1 180px;
  margin-bottom: 0;
}

.filters-form .form-group input,
.filters-form .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
  font-family: 'Onest', sans-serif;
}

.filters-form .form-group input:focus,
.filters-form .form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

.filters-form .form-group button {
  width: 100%;
  padding: 12px;
}

/* Результаты поиска вакансий */
.jobs-results {
  margin-top: 20px;
}

.jobs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.jobs-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.reset-filters {
  color: var(--text-light);
  font-size: 14px;
  transition: var(--transition);
}

.reset-filters:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Список вакансий */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Элемент вакансии */
.job-item {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.job-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(19, 158, 88, 0.1);
}

/* Логотип в карточке вакансии */
.job-logo {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-gray-light);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border-color);
}

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



/* Детали вакансии */
.job-details {
  flex: 1;
  min-width: 0; /* Для корректной работы text-overflow */
}

.job-title {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.job-title a {
  color: var(--secondary-color);
  transition: var(--transition);
}

.job-title a:hover {
  color: var(--primary-color);
}

.job-company {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 10px;
}

/* Описание вакансии в списке */
.job-description {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Правая часть карточки вакансии */
.job-right {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.job-right .btn {
  padding: 8px 16px;
  font-size: 14px;
  width: 100%;
  text-align: center;
}

/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 8px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.page-link:hover {
  background-color: var(--bg-gray-light);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-link.active {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

.page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--text-light);
  font-size: 16px;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
  .job-item {
    flex-wrap: wrap;
  }
  
  .job-right {
    flex: 1 0 100%;
    flex-direction: row;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
  }
  
  .job-right .btn {
    width: auto;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 40px 0;
  }
  
  .jobs-section {
    padding: 40px 0;
  }
  
  .filters-form .filter-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .filters-form .form-group {
    flex: 1 1 100%;
  }
  
  .job-item {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .job-item {
    flex-direction: column;
  }
  
  .job-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
  
  .job-right {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .job-salary, 
  .job-date {
    text-align: left;
  }
  
  .pagination {
    gap: 5px;
  }
  
  .page-link {
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    font-size: 13px;
  }
}

/* ===== COMPANIES PAGE STYLES ===== */

/* Секция компаний */
.companies-section {
  padding: 50px 0;
  background-color: var(--bg-light);
}

/* Фильтры компаний - используем те же стили, что и для filters-form на странице jobs */
.companies-filters {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  margin-bottom: 30px;
}

/* Результаты поиска компаний */
.companies-results {
  margin-top: 20px;
}

.companies-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.companies-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

/* Сетка компаний */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

/* --------------------------------- Карточка компании */
.company-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  border: 1px solid #f0f0f0;
}

.company-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Логотип компании */
.company-logo {
  width: 120px;
  min-width: 80px;
  height: auto;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  position: relative;
  border-right: 1px solid #f0f0f0;
}

.company-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}



/* Информация о компании */
.company-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.company-info h3 {
  margin: 0 0 14px 0;
  font-size: 18px;
  line-height: 1.3;
}

.company-info h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

.company-info h3 a:hover {
  color: #0066cc;
}



/* Отрасль компании */
.company-industry {
  color: #0066cc;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.company-industry:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%230066cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}



/* Местоположение компании */
.company-location {
  color: #666;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.company-location:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Описание компании */
.company-description {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Количество вакансий компании */
.company-jobs {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.company-jobs a {
  display: inline-flex;
  align-items: center;
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 14px;
}

.company-jobs a:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%230066cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.company-jobs a:hover {
  color: #004c99;
}

.btn-view-company {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0066cc;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 102, 204, 0.2);
}

.btn-view-company:hover {
  background-color: #0052a3;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .company-card {
    flex-direction: column;
  }
  
  .company-logo {
    width: 100%;
    min-width: 100%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .company-info {
    padding: 16px;
  }
  
  .company-info h3 {
    font-size: 16px;
  }
  
  .company-description {
    -webkit-line-clamp: 2;
  }
}

/* Действия для компании */
.company-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.company-actions .btn {
  width: 100%;
  text-align: center;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

/* Сообщение об отсутствии компаний */
.no-companies {
  padding: 40px;
  text-align: center;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.no-companies p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* Секция с промо-блоком для регистрации */
.register-promo {
  background-color: var(--secondary-color);
  background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(0, 0, 0, 0.8));
  color: var(--bg-color);
  padding: 60px 0;
  margin-top: 50px;
}

.promo-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.promo-content h2 {
  color: var(--bg-color);
  margin-bottom: 15px;
}

.promo-content h2::after {
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

.promo-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.promo-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.promo-actions .btn {
  min-width: 200px;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
  .companies-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .register-promo {
    padding: 50px 0;
  }
  
  .promo-content p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 40px 0;
  }
  
  .companies-section {
    padding: 40px 0;
  }
  
  .companies-grid {
    grid-template-columns: 1fr;
  }
  
  .filters-form .filter-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .filters-form .form-group {
    flex: 1 1 100%;
  }
  
  .company-card {
    padding: 20px;
  }
  
  .register-promo {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .company-card {
    padding: 15px;
  }
  
  .company-logo {
    width: 60px;
    height: 60px;
  }
  
  .promo-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .promo-actions .btn {
    width: 100%;
  }
}

/* ===== ABOUT PAGE STYLES ===== */

/* Секция с вводной информацией */
.about-intro {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.about-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Секция со статистикой */
.about-stats {
  padding: 60px 0;
  background-color: var(--bg-gray-light);
}

.about-stats h3 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.about-stats h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.about-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.about-stats .stat-item {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-stats .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.about-stats .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.about-stats .stat-label {
  font-size: 16px;
  color: var(--text-light);
}

/* Секция с ценностями */
.about-values {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.about-values h3 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.about-values h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.value-item {
  padding: 25px;
  background-color: var(--bg-gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 3px solid var(--primary-color);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.value-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.value-item p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA секция */
.cta-section {
  padding: 70px 0;
  background-color: var(--secondary-color);
  background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(0, 0, 0, 0.8));
  color: var(--bg-color);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--bg-color);
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 180px;
  font-weight: 500;
}

.cta-buttons .btn-outline {
  background-color: transparent;
  border: 2px solid var(--bg-color);
  color: var(--bg-color);
}

.cta-buttons .btn-outline:hover {
  background-color: var(--bg-color);
  color: var(--secondary-color);
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
  .about-intro,
  .about-stats,
  .about-values {
    padding: 50px 0;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .about-content h3,
  .about-stats h3,
  .about-values h3 {
    font-size: 24px;
  }
  
  .cta-content h3 {
    font-size: 28px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .about-intro,
  .about-stats,
  .about-values {
    padding: 40px 0;
  }
  
  .cta-section {
    padding: 50px 0;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats .stat-number {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .about-content h3,
  .about-stats h3,
  .about-values h3 {
    font-size: 22px;
  }
  
  .cta-content h3 {
    font-size: 24px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .value-item {
    padding: 20px;
  }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Основная секция контактов */
.contact-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

/* Контейнер контактов */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

/* Блок с контактной информацией */
.contact-info {
  background-color: var(--bg-gray-light);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

/* Детали контактов */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-text {
  flex: 1;
}

.contact-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.contact-text p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.5;
}

/* Контейнер формы */
.contact-form-container {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.contact-form-container h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-form-container h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

/* Форма контактов */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-group {
  margin-bottom: 0;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Onest', sans-serif;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-actions {
  margin-top: 10px;
}

.form-actions .btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
}

/* Уведомления об успехе и ошибке */
.success-container {
  background-color: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 20px;
  color: #27ae60;
}

.error-container {
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 20px;
  color: #c0392b;
}

.error-container ul {
  margin: 0;
  padding-left: 20px;
}

/* Секция FAQ */
.faq-section {
  padding: 60px 0;
  background-color: var(--bg-gray-light);
}

.faq-section h3 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.faq-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

/* Аккордеон с FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  position: relative;
  background-color: var(--bg-color);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.faq-question h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
  padding-right: 30px;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-item.active .faq-question {
  border-bottom-color: var(--border-color);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 15px;
}

.faq-answer ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.faq-answer li {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.5;
}

.faq-answer a {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .faq-section h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .contact-section,
  .faq-section {
    padding: 40px 0;
  }
  
  .contact-info,
  .contact-form-container {
    padding: 20px;
  }
  
  .contact-info h3,
  .contact-form-container h3 {
    font-size: 22px;
  }
  
  .faq-question h4 {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .contact-info h3,
  .contact-form-container h3 {
    font-size: 20px;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}
/* ===== ACCOUNT PAGES STYLES ===== */

/* === LOGIN PAGE === */
.login-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.login-form-container {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-form .form-group {
  margin-bottom: 0;
}

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

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
}

.login-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 50px;
}

.remember-me input[type="checkbox"] {
  margin: 0;
}

.remember-me label {
  margin-bottom: 0;
  cursor: pointer;
}

.login-form .btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
}

.form-footer {
  text-align: center;
  margin-top: 15px;
  color: var(--text-light);
  font-size: 14px;
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.form-footer a:hover {
  text-decoration: underline;
}

.form-footer p {
  margin: 8px 0;
}

/* === REGISTER PAGE === */
.register-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.register-form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.register-form .form-group {
  margin-bottom: 0;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

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

.register-form small {
  display: block;
  margin-top: 5px;
  color: var(--text-lighter);
  font-size: 12px;
}

.register-form input,
.register-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
}

.register-form input:focus,
.register-form select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

.register-form .form-group:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.register-form input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.register-form .form-group:has(input[type="checkbox"]) label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 14px;
}

.register-form .btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
}

/* === DASHBOARD PAGE === */
.dashboard-header {
  padding: 40px 0;
  background-color: var(--secondary-color);
  background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(0, 0, 0, 0.8));
  color: var(--bg-color);
}

.dashboard-header h2 {
  color: var(--bg-color);
  margin-bottom: 10px;
}

.dashboard-header p {
  font-size: 18px;
  opacity: 0.9;
}

.dashboard-content {
  padding: 40px 0;
  background-color: var(--bg-light);
}

.dashboard-content .container {
  display: flex;
  gap: 30px;
}

/* Sidebar */
.dashboard-sidebar {
  flex: 0 0 280px;
}

.user-info {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.user-avatar {
  margin-right: 15px;
}

.avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
}

.user-details h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.user-details p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

.dashboard-nav {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-nav ul {
  list-style: none;
  padding: 10px;
  margin: 0;
}

.dashboard-nav li {
  border-bottom: 0px solid var(--border-color);
}

.dashboard-nav li:last-child {
  border-bottom: none;
}

.dashboard-nav a {
  display: block;
  padding: 14px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.dashboard-nav a:hover {
  background-color: var(--bg-gray-light);
  color: var(--primary-color);
}

.dashboard-nav a.active {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

/* Main content */
.dashboard-main {
  flex: 1;
}

.dashboard-section {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  margin-bottom: 30px;
}

.dashboard-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--secondary-color);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  padding: 22px;
}

.dashboard-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.dashboard-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
}

.card-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.dashboard-card p {
  font-size: 14px;
  color: var(--text-lighter);
  margin: 0;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 22px;
}

.dashboard-actions .btn {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

/* Subscription banner */
.subscription-banner {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 30px;
}

.subscription-banner.warning {
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.5);
}

.subscription-banner.danger {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.5);
}

.subscription-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subscription-details h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-color);
}

.subscription-details p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.subscription-actions {
  display: flex;
  gap: 10px;
}

/* === PROFILE PAGE === */
.profile-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.profile-section .container {
  display: flex;
  gap: 30px;
}

.dashboard-menu {
  flex: 0 0 250px;
}

.dashboard-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-menu li {
  border-bottom: 1px solid var(--border-color);
}

.dashboard-menu li:last-child {
  border-bottom: none;
}

.dashboard-menu a {
  display: block;
  padding: 15px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.dashboard-menu a:hover {
  background-color: var(--bg-gray-light);
  color: var(--primary-color);
}

.dashboard-menu a.active {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.profile-container {
  flex: 1;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.form-note {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.profile-form {
  margin-bottom: 40px;
}

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

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

.profile-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
}

.profile-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

.profile-form small {
  display: block;
  margin-top: 5px;
  color: var(--text-lighter);
  font-size: 12px;
}

.form-actions {
  margin-top: 30px;
}

.form-actions .btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
}

.account-info {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px;
}

.account-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
}

.info-item:last-child {
  border-bottom: none;
}

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

.info-value {
  color: var(--text-light);
}

/* Shared styles for success and error messages */
.success-container,
.error-container {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: var(--radius);
}

.success-container {
  background-color: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #27ae60;
}

.error-container {
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #e74c3c;
}

.error-container ul {
  margin: 0;
  padding-left: 20px;
}

.error-container li {
  margin-bottom: 5px;
}

/* Error styling for form inputs */
.error {
  border-color: #e74c3c !important;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
}

/* Media queries */
@media (max-width: 992px) {
  .dashboard-content .container,
  .profile-section .container {
    flex-direction: column;
  }
  
  .dashboard-sidebar,
  .dashboard-menu {
    flex: auto;
    margin-bottom: 30px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .subscription-info {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .login-form-container,
  .register-form-container {
    padding: 20px;
  }
  
  .dashboard-cards {
    grid-template-columns: 1fr;
  }
  
  .dashboard-actions {
    flex-direction: column;
  }
  
  .dashboard-actions .btn {
    width: 100%;
  }
  
  .profile-container {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .login-form,
  .register-form {
    gap: 15px;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}
/* ===== RESUME PAGE STYLES ===== */

/* Основная секция резюме */
.resume-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.resume-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

/* Форма резюме */
.resume-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-section {
  margin-bottom: 0;
}

.form-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

.resume-form .form-group:last-child {
  margin-bottom: 0;
}

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

.resume-form input,
.resume-form textarea,
.resume-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
  font-family: 'Onest', sans-serif;
}

.resume-form input:focus,
.resume-form textarea:focus,
.resume-form select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

.resume-form textarea {
  resize: vertical;
  min-height: 100px;
}

.resume-form small {
  display: block;
  margin-top: 5px;
  color: var(--text-lighter);
  font-size: 12px;
}

/* Загрузка файлов */
.resume-form input[type="file"] {
  padding: 10px;
  background-color: var(--bg-gray-light);
}

.current-profile-image,
.current-resume {
  margin-bottom: 15px;
  padding: 15px;
  background-color: var(--bg-gray-light);
  border-radius: var(--radius);
}

.profile-image-preview {
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Чекбокс группа */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
}

/* Действия формы */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.form-actions .btn {
  padding: 12px 25px;
}

.form-actions .btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.form-actions .btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

/* Предпросмотр резюме */
.resume-preview-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.resume-preview-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.resume-preview {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.resume-header {
  margin-bottom: 30px;
  text-align: center;
}

.resume-title h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.resume-personal {
  margin-bottom: 20px;
}

.resume-name {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 5px;
}

.resume-location {
  color: var(--text-light);
  margin-bottom: 10px;
  font-size: 16px;
}

.resume-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-light);
  font-size: 15px;
}

/* Секции резюме */
.resume-skills,
.resume-experience,
.resume-education,
.resume-file {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.resume-skills h4,
.resume-experience h4,
.resume-education h4,
.resume-file h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.resume-skills h4::after,
.resume-experience h4::after,
.resume-education h4::after,
.resume-file h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Навыки */
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(19, 158, 88, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Опыт и образование */
.experience-content,
.education-content {
  color: var(--text-light);
  line-height: 1.6;
}

/* Статус резюме */
.resume-status {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.status-public {
  color: var(--primary-color);
  font-weight: 500;
}

.status-private {
  color: var(--text-light);
  font-weight: 500;
}

/* Подходящие вакансии */
.matching-jobs-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.matching-jobs-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

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

.matching-jobs .job-card {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.matching-jobs .job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.matching-jobs .job-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.matching-jobs .job-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.matching-jobs .job-card h3 a:hover {
  color: var(--primary-color);
}

.matching-jobs .job-company {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.matching-jobs .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.matching-jobs .job-location,
.matching-jobs .job-type {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.matching-jobs .job-location {
  background-color: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.matching-jobs .job-type {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.matching-jobs .job-actions {
  margin-top: auto;
  text-align: center;
}

.view-all-jobs {
  text-align: center;
  margin-top: 30px;
}

.no-jobs {
  text-align: center;
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text-light);
}

.no-jobs a {
  color: var(--primary-color);
  text-decoration: none;
}

.no-jobs a:hover {
  text-decoration: underline;
}

/* ===== APPLICATIONS PAGE STYLES ===== */

/* Основная секция */
.dashboard-section {
  padding: 10px 0;
  background-color: var(--bg-light);
}

.dashboard-section .container {
  display: flex;
  gap: 30px;
}

/* Статистика */
.dashboard-header {
  margin-bottom: 30px;
}

.stats-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
  margin-bottom: 0px;
  padding: 22px;
}

.stats-overview .stat-item {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.stats-overview .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stats-overview .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stats-overview .stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Фильтр по вкладкам */
.applications-filter {
  margin-bottom: 20px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-tabs li {
  margin-right: 5px;
  margin-bottom: -1px;
}

.filter-tabs a {
  display: block;
  padding: 10px 15px;
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid transparent;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  transition: var(--transition);
}

.filter-tabs a:hover {
  color: var(--primary-color);
}

.filter-tabs a.active {
  color: var(--secondary-color);
  background-color: var(--bg-color);
  border-color: var(--border-color);
  border-bottom-color: var(--bg-color);
  font-weight: 500;
}

/* Список откликов */
.applications-list {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
}

.job-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Карточка отклика */
.application-card {
  display: flex;
  gap: 20px;
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.application-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.application-card .company-logo {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

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

.application-card .company-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--bg-color);
  font-size: 24px;
  font-weight: 600;
}

.application-card .job-details {
  flex: 1;
}

.application-card .job-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.application-card .job-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.application-card .job-title a:hover {
  color: var(--primary-color);
}

.application-card .company-name {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.application-card .company-name a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.application-card .company-name a:hover {
  color: var(--primary-color);
}

.application-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.application-card .job-location,
.application-card .job-type {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.application-card .job-location {
  background-color: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.application-card .job-type {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

/* Статус отклика */
.application-status {
  margin-bottom: 10px;
}

.status-label {
  font-weight: 500;
  color: var(--text-color);
  margin-right: 5px;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.status-pending {
  background-color: rgba(241, 196, 15, 0.1);
  color: #f39c12;
}

.status-reviewed {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.status-shortlisted {
  background-color: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.status-hired {
  background-color: rgba(46, 204, 113, 0.1);
  color: #27ae60;
}

.status-rejected {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.application-date,
.application-updated {
  font-size: 13px;
  color: var(--text-lighter);
  margin-top: 5px;
}

/* Действия с откликом */
.application-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 14px;
}

/* Сообщение об отсутствии откликов */
.no-applications-message {
  text-align: center;
  padding: 40px 20px;
}

.no-applications-message p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 16px;
}

/* Общие стили для страниц соискателя */
.dashboard-menu {
  flex: 0 0 250px;
}

.dashboard-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-menu li {
  border-bottom: 1px solid var(--border-color);
}

.dashboard-menu li:last-child {
  border-bottom: none;
}

.dashboard-menu a {
  display: block;
  padding: 15px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.dashboard-menu a:hover {
  background-color: var(--bg-gray-light);
  color: var(--primary-color);
}

.dashboard-menu a.active {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.dashboard-content {
  flex: 1;
}

/* Медиа-запросы */
@media (max-width: 992px) {
  .dashboard-section .container {
    flex-direction: column;
  }
  
  .dashboard-menu {
    margin-bottom: 30px;
  }
  
  .matching-jobs {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .application-card {
    flex-direction: column;
  }
  
  .application-card .company-logo {
    margin-bottom: 15px;
  }
  
  .application-actions {
    margin-top: 15px;
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .stats-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .resume-section,
  .resume-preview-section,
  .matching-jobs-section,
  .dashboard-section {
    padding: 40px 0;
  }
  
  .resume-container {
    padding: 20px;
  }
  
  .resume-preview {
    padding: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  
  .filter-tabs li {
    margin-bottom: 0;
  }
  
  .applications-list {
    padding: 15px;
  }
  
  .stats-overview {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .matching-jobs {
    grid-template-columns: 1fr;
  }
  
  .stats-overview {
    grid-template-columns: 1fr;
  }
}

/* ===== SAVED JOBS PAGE STYLES ===== */

/* Стили, которые расширяют существующие для dashboard */
.saved-jobs-container {
  width: 100%;
}

.dashboard-header {
  margin-bottom: 20px;
  border-radius: 20px;
}

.dashboard-header h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
text-align: center;
}

.dashboard-header .text-muted {
  color: var(--text-light);
  font-size: 15px;
  margin: 0;
  text-align: center;
}

/* Список сохраненных вакансий */
.saved-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

/* Карточка сохраненной вакансии */
.saved-job-card {
  display: flex;
  gap: 20px;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.saved-job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(19, 158, 88, 0.1);
}

.saved-job-card .company-logo {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

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

.saved-job-card .company-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--bg-color);
  font-size: 24px;
  font-weight: 600;
}

.saved-job-card .job-details {
  flex: 1;
}

.saved-job-card .job-title {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.saved-job-card .job-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.saved-job-card .job-title a:hover {
  color: var(--primary-color);
}

.saved-job-card .company-name {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.saved-job-card .company-name a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.saved-job-card .company-name a:hover {
  color: var(--primary-color);
}

.saved-job-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.saved-job-card .job-location,
.saved-job-card .job-type {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.saved-job-card .job-location {
  background-color: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.saved-job-card .job-type {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.saved-job-card .job-description {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.saved-job-card .saved-date {
  font-size: 13px;
  color: var(--text-lighter);
}

/* Действия с сохраненной вакансией */
.saved-job-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-width: 150px;
}

.saved-job-actions .btn {
  width: 100%;
  text-align: center;
}

.saved-job-actions .btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.saved-job-actions .btn-primary:hover {
  background-color: var(--primary-hover);
}

.saved-job-actions .btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.saved-job-actions .btn-outline:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

.already-applied {
  display: block;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--primary-color);
  background-color: rgba(19, 158, 88, 0.1);
  border-radius: var(--radius);
  font-weight: 500;
}

/* Сообщение об отсутствии сохраненных вакансий */
.no-saved-jobs {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.no-saved-jobs p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.no-saved-jobs .btn {
  padding: 10px 25px;
  font-size: 16px;
}

/* Адаптивность */
@media (max-width: 992px) {
  .saved-job-card {
    flex-direction: column;
  }
  
  .saved-job-card .company-logo {
    width: 60px;
    margin-bottom: 15px;
  }
  
  .saved-job-actions {
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 15px;
    min-width: auto;
    flex-wrap: wrap;
  }
  
  .saved-job-actions .btn {
    width: auto;
  }
  
  .already-applied {
    width: auto;
  }
}

@media (max-width: 768px) {
  .dashboard-section {
    padding: 40px 0;
  }
  
  .saved-jobs-list {
    gap: 15px;
  }
  
  .saved-job-card {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .saved-job-actions {
    flex-direction: column;
  }
  
  .saved-job-actions .btn {
    width: 100%;
  }
}
/* ===== JOB DETAIL PAGE STYLES ===== */

/* Основная секция */
.job-detail-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

/* Заголовок вакансии */
.job-detail-header {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.job-detail-company {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.job-detail-company .company-logo {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.job-detail-company .company-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--bg-color);
  font-size: 30px;
  font-weight: 700;
  border-radius: 8px;
}

.company-info {
  flex: 1;
}

.company-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.company-info .company-name {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.company-info .company-name a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.company-info .company-name a:hover {
  color: var(--primary-color);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
}

.job-category {
  background-color: rgba(19, 158, 88, 0.1);
  color: var(--primary-color);
}

.job-type {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.job-location {
  background-color: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.job-date,
.job-views {
  background-color: rgba(189, 195, 199, 0.3);
  color: var(--text-light);
}

/* Действия с вакансией */
.job-detail-actions {
  display: flex;
  gap: 15px;
}

.job-detail-actions .btn {
  padding: 10px 25px;
  font-size: 16px;
  min-width: 150px;
}

.save-job-form {
  display: inline;
}

.btn-saved {
  background-color: var(--bg-light);
  color: var(--secondary-color);
  border: 1px solid var(--border-color);
}

.btn-saved:hover {
  background-color: var(--bg-gray-light);
  color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-disabled {
  background-color: var(--bg-gray);
  color: var(--text-light);
  cursor: not-allowed;
}

.btn-disabled:hover {
  background-color: var(--bg-gray);
  transform: none;
  box-shadow: none;
}

/* Содержимое вакансии */
.job-detail-content {
  display: flex;
  gap: 30px;
}

.job-detail-main {
  flex: 2;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.job-detail-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Блоки описания вакансии */
.job-salary,
.job-description,
.job-responsibilities,
.job-requirements,
.job-company {
	margin-bottom: 10px;
    padding-bottom: 2px;
  border-bottom: 1px solid var(--border-color);
}

.job-salary:last-child,
.job-description:last-child,
.job-responsibilities:last-child,
.job-requirements:last-child,
.job-company:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.job-salary h3,
.job-description h3,
.job-responsibilities h3,
.job-requirements h3,
.job-company h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.job-salary h3::after,
.job-description h3::after,
.job-responsibilities h3::after,
.job-requirements h3::after,
.job-company h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.job-salary p {
  font-size: 18px;
  font-weight: 600;
  padding-left: 33px;
  color: var(--primary-color);
}

.description-content,
.responsibilities-content,
.requirements-content,
.company-content {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 15px;
}

.company-content p {
  margin-bottom: 15px;
}

.company-content p:last-child {
  margin-bottom: 0;
}

.company-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.company-content a:hover {
  text-decoration: underline;
}

/* Похожие вакансии */
.similar-jobs,
.share-job {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
}

.similar-jobs h3,
.share-job h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.similar-jobs h3::after,
.share-job h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.similar-jobs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.similar-jobs-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.similar-jobs-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.similar-jobs-list a {
  display: block;
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

.similar-jobs-list a:hover {
  color: var(--primary-color);
}

.similar-job-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.similar-job-company {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 5px;
}

.similar-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.similar-job-location,
.similar-job-type {
  color: var(--text-lighter);
}

/* Кнопки поделиться */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--bg-color);
  transition: var(--transition);
}

.share-btn.facebook {
  background-color: #3b5998;
}

.share-btn.twitter {
  background-color: #1da1f2;
}

.share-btn.linkedin {
  background-color: #0077b5;
}

.share-btn.telegram {
  background-color: #0088cc;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Модальное окно для отклика */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: var(--bg-color);
  margin: 10% auto;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideDown 0.3s ease;
}

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

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: var(--text-lighter);
  cursor: pointer;
  transition: var(--transition);
}

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

.modal-content h2 {
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-size: 22px;
  padding-right: 30px;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apply-form .form-group {
  margin-bottom: 0;
}

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

.apply-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  resize: vertical;
  min-height: 150px;
  font-family: 'Onest', sans-serif;
  transition: var(--transition);
}

.apply-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

.apply-form .btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
}

/* Адаптивность */
@media (max-width: 992px) {
  .job-detail-content {
    flex-direction: column;
  }
  
  .job-detail-main {
    order: 1;
  }
  
  .job-detail-sidebar {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .company-info h1 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .job-detail-section {
    padding: 40px 0;
  }
  
  .job-detail-header {
    padding: 20px;
  }
  
  .job-detail-company {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .job-detail-company .company-logo,
  .job-detail-company .company-placeholder {
    width: 60px;
    height: 60px;
  }
  
  .job-detail-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .job-detail-actions .btn {
    width: 100%;
  }
  
  .job-detail-main,
  .similar-jobs,
  .share-job {
    padding: 20px;
  }
  
  .job-detail-sidebar {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    margin: 20% auto;
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .company-info h1 {
    font-size: 20px;
  }
  
  .job-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .share-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== PASSWORD RECOVERY PAGES STYLES ===== */

/* Общие стили для страниц восстановления пароля */
.forgot-password-section,
.reset-password-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.form-container {
  max-width: 550px;
  margin: 0 auto;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

/* Информационный блок */
.form-info {
  margin-bottom: 25px;
  padding: 15px;
  background-color: var(--bg-light);
  border-radius: var(--radius);
}

.form-info p {
  color: var(--text-light);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Формы восстановления пароля */
.forgot-password-form,
.reset-password-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.forgot-password-form .form-group,
.reset-password-form .form-group {
  margin-bottom: 0;
}

.forgot-password-form label,
.reset-password-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.forgot-password-form input,
.reset-password-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
}

.forgot-password-form input:focus,
.reset-password-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 158, 88, 0.1);
}

.reset-password-form small {
  display: block;
  margin-top: 5px;
  color: var(--text-lighter);
  font-size: 12px;
}

/* Действия с формой */
.form-actions {
  margin-top: 10px;
}

.form-actions .btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
}

.form-actions.center {
  display: flex;
  justify-content: center;
}

/* Футер формы */
.form-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--text-light);
  font-size: 14px;
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.form-footer a:hover {
  text-decoration: underline;
}

/* Блок успешного сброса */
.success-container {
  text-align: center;
}

.success-container h3 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 15px;
}

.success-container p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.success-container strong {
  color: var(--text-color);
  font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
  .forgot-password-section,
  .reset-password-section {
    padding: 40px 0;
  }
  
  .form-container {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .forgot-password-form,
  .reset-password-form {
    gap: 15px;
  }
}

/* Dashboard Layout Styles */
.dashboard-content .container {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.dashboard-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.dashboard-main {
    flex: 1;
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    margin-right: 15px;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}

.user-details h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.user-details p {
    margin: 0 0 3px 0;
    color: #666;
    font-size: 14px;
}

/* Вертикальное меню панели управления */
.dashboard-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;  /* Вертикальное расположение элементов */
    width: 100%;
}

.dashboard-nav li {
    margin-bottom: 8px;
    width: 100%;
}

.dashboard-nav a {
    display: block;
    padding: 10px 15px;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.dashboard-nav a:hover {
    background: #e9ecef;
}

.dashboard-nav a.active {
    background: #007bff;
    color: white;
}

/* Убедимся, что боковая панель имеет достаточную ширину */
.dashboard-sidebar {
    width: 100%;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Dashboard Section Styles */
.dashboard-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.dashboard-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

/* Dashboard Cards */
.dashboard-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-card {
    flex: 1;
    min-width: 200px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.dashboard-card h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #555;
}

.card-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #007bff;
}

.dashboard-card p {
    margin: 0;
    color: #666;
}

/* Для мобильных устройств */
@media (max-width: 992px) {
    .dashboard-nav ul {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .dashboard-cards {
        flex-direction: column;
    }
}

/* Dashboard Actions */
.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-actions .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Make sure subscription banner spans full width */
.subscription-banner {
    width: 100%;
    box-sizing: border-box;
}


/* Стили для страницы добавления/редактирования вакансий */

/* Общий контейнер для страницы */
.dashboard-section {
    padding: 40px 0;
    background-color: #f5f7fa;
}

.dashboard-section .container {
    display: flex;
    gap: 30px;
}

/* Боковое меню */
.dashboard-menu {
    width: 250px;
    flex-shrink: 0;
}

.dashboard-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-menu ul li {
    border-bottom: 1px solid #eee;
}

.dashboard-menu ul li:last-child {
    border-bottom: none;
}

.dashboard-menu ul li a {
    display: block;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dashboard-menu ul li a:hover {
    background-color: #f5f7fa;
}

.dashboard-menu ul li a.active {
    background-color: #3490dc;
    color: #fff;
    font-weight: 500;
}

/* Основной контент */
.dashboard-content {
    flex: 1;
}

/* Форма */
.form-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.post-job-form {
    width: 100%;
}

/* Карточки с разделами формы */
.form-card {
    margin-bottom: 24px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.form-card-header {
    padding: 16px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.form-card-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.form-card-body {
    padding: 20px;
}

/* Поля формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3490dc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 144, 220, 0.25);
}

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

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Строка с несколькими полями */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Чекбоксы и радиокнопки */
.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

/* Действия формы */
.form-actions {
    padding: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background-color: #3490dc;
    color: #fff;
    border: 1px solid #3490dc;
}

.btn-primary:hover {
    background-color: #2779bd;
    border-color: #2779bd;
}

.btn-outline {
    background-color: transparent;
    color: #3490dc;
    border: 1px solid #3490dc;
}

.btn-outline:hover {
    background-color: #3490dc;
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Уведомления */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert ul {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 20px;
}

.alert-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* Стили для функциональности "Помощь с заполнением" */
.form-label-with-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.help-checkbox {
    display: flex;
    align-items: center;
}

.help-checkbox input[type="checkbox"] {
    margin-right: 5px;
}

.checkbox-label {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label:after {
    content: "" !important;
}

.form-placeholder {
    background-color: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    color: #666;
}

.form-placeholder p {
    margin: 0;
    font-style: italic;
}

.hidden {
    display: none;
}

/* Дополнительные стили для функциональности "Помощь с заполнением" */

/* Стиль для информационного оповещения */
.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

/* Стиль для оповещения о статусе */
.status-info-box {
    margin-top: 10px;
    padding: 10px;
    font-size: 13px;
    border-radius: 3px;
}

/* Плейсхолдер для полей, заполняемых модератором */
.form-placeholder {
    background-color: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    color: #666;
    margin-bottom: 10px;
}

.form-placeholder p {
    margin: 0;
    font-style: italic;
}

/* Стили для заголовка поля с чекбоксом помощи */
.form-label-with-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.help-checkbox {
    display: flex;
    align-items: center;
}

.checkbox-label {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    cursor: pointer;
    margin-left: 5px;
}

.checkbox-label:after {
    content: "" !important;
}

/* Дополнительные стили для элементов формы с модерацией */
.awaiting-moderation {
    border-left: 3px solid #17a2b8;
    padding-left: 15px;
}

/* Стиль для полей, которые будут модерироваться */
.moderated-field {
    background-color: rgba(209, 236, 241, 0.2);
}

/* Красивое подсвечивание чекбокса "Помощь с заполнением" */
.toggle-help:checked + .checkbox-label {
    color: #17a2b8;
    font-weight: 500;
}

/* Анимации для переключения контейнеров */
.hidden {
    display: none;
    transition: all 0.3s ease;
}

/* Адаптивные стили для маленьких экранов */
@media (max-width: 768px) {
    .form-label-with-help {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .help-checkbox {
        margin-top: 5px;
    }
}
/* Стили для страницы детальной информации о компании */

/* Шапка компании */
.company-detail-header {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.company-header-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.company-logo {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

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

.company-placeholder {
    width: 100%;
    height: 100%;
    background-color: #3490dc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
}

.company-info {
    flex: 1;
    min-width: 235px;
}

.company-info h1 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
    color: #2d3748;
}

.company-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.company-industry,
.company-location,
.company-website {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.meta-label {
    font-weight: 600;
    margin-right: 5px;
    color: #4a5568;
}

.meta-value a {
    color: #3490dc;
    text-decoration: none;
}

.meta-value a:hover {
    text-decoration: underline;
}

.company-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Содержимое страницы компании */
.company-detail-content {
    padding: 50px 0;
}

/* Вкладки */
.company-tabs {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
}

.tabs-nav li {
    margin: 0;
    padding: 0;
}

.tabs-nav li a {
    display: block;
    padding: 15px 25px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tabs-nav li a:hover {
    background-color: #edf2f7;
}

.tabs-nav li.active a {
    background-color: #fff;
    color: #3490dc;
    position: relative;
}

.tabs-nav li.active a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3490dc;
}

.tabs-content {
    padding: 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* О компании */
.company-description h2,
.company-jobs h2,
.company-contact h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    color: #2d3748;
}

.description-content {
    line-height: 1.6;
    color: #4a5568;
}

/* Вакансии компании */
.jobs-list {
    margin-top: 20px;
}

.job-item {
    display: flex;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.job-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.job-details {
    flex: 1;
}

.job-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.job-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-title a:hover {
    color: #3490dc;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.job-category,
.job-type,
.job-location {
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: #f7fafc;
    color: #4a5568;
}

.job-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-top: 10px;
}

.job-right {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    padding-left: 20px;
    border-left: 1px solid #e2e8f0;
}

.job-salary {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.job-date {
	font-size: 13px;
    color: #6b7280;
    padding: 10px;
    border-radius: 15px;
}

.no-jobs {
    padding: 20px;
    background-color: #f7fafc;
    border-radius: 8px;
    color: #6b7280;
    text-align: center;
}

.post-job-cta {
    margin-top: 30px;
    text-align: center;
}

/* Контактная информация */
.company-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-label {
    font-weight: 600;
    color: #4a5568;
    width: 80px;
    margin-right: 10px;
}

.contact-value {
    color: #6b7280;
}

.contact-value a {
    color: #3490dc;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.contact-form-wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #2d3748;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #4a5568;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: #f7fafc;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3490dc;
    outline: none;
}

/* Похожие компании */
.related-companies {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.related-companies h2 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #2d3748;
    text-align: center;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.company-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.2s ease;
}

.company-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.company-card .company-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.company-card .company-info {
    flex: 1;
}

.company-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 17px;
}

.company-card h3 a {
    color: #2d3748;
    text-decoration: none;
}

.company-card h3 a:hover {
    color: #3490dc;
}

.company-card .company-industry,
.company-card .company-location {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 5px;
}

.company-card .company-jobs {
    margin-top: 10px;
    font-size: 13px;
}

.company-card .company-jobs a {
    color: #3490dc;
    text-decoration: none;
}

.company-card .company-jobs a:hover {
    text-decoration: underline;
}

.company-card .company-actions {
    margin-top: 15px;
}

.no-companies {
    text-align: center;
    color: #6b7280;
}

/* Адаптивность */
@media (max-width: 992px) {
    .company-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .company-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .company-contact {
        grid-template-columns: 1fr;
    }
    
    .job-item {
        flex-direction: column;
    }
    
    .job-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-left: 0;
        padding-top: 15px;
        margin-top: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
    }
    
    .tabs-nav li.active a:after {
        display: none;
    }
    
    .tabs-content {
        padding: 20px 15px;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
}

/* Светлый интерактивный стиль для блока с условиями использования */
.terms-light {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-hover: #2563eb;
    --accent-color: #f59e0b;
    --border-color: #e5e7eb;
    --text-color: #1f2937;
    --shadow-color: rgba(0, 0, 0, 0.08);
    
    margin: 22px 0;
    padding: 16px 20px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
}

.terms-light:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

/* Стиль для чекбокса */
.terms-light input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Кастомный чекбокс */
.checkbox-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 12px;
    border-radius: 6px;
    border: 2px solid #d1d5db;
    background-color: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.terms-light input[type="checkbox"]:checked ~ label .checkbox-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.terms-light input[type="checkbox"]:focus ~ label .checkbox-icon {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.checkbox-icon:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.terms-light input[type="checkbox"]:checked ~ label .checkbox-icon:after {
    display: block;
    animation: checkmark 0.2s ease-in-out forwards;
}

@keyframes checkmark {
    0% { opacity: 0; transform: rotate(45deg) scale(0.8); }
    100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

/* Стиль для метки и текста */
.terms-light label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.label-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.2s;
    flex: 1;
}

.terms-light input[type="checkbox"]:checked ~ label .label-text {
    color: #000;
}

/* Стиль для ссылки */
.terms-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    padding: 0 1px;
}

.terms-link:hover {
    color: var(--primary-hover);
}

.terms-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.terms-link:hover::after {
    transform: scaleX(1);
}

/* Стиль для сообщения об ошибке */
.error-message {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    background-color: #fef2f2;
    color: #dc2626;
    font-size: 13px;
    border-left: 3px solid #dc2626;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.terms-light.error .error-message {
    display: block;
}

.terms-light.error .checkbox-icon {
    border-color: #dc2626;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-2px); }
    40%, 60% { transform: translateX(2px); }
}

/* Индикация при наведении */
.terms-light label:hover .checkbox-icon {
    border-color: var(--primary-light);
}

.terms-light input[type="checkbox"]:active ~ label .checkbox-icon {
    transform: scale(0.9);
}

/* Пульсация при фокусе */
.terms-light input[type="checkbox"]:focus ~ label .checkbox-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    transform: translate(-50%, -50%) scale(0);
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
    70% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .terms-light {
        padding: 14px 16px;
        margin: 18px 0;
    }
    
    .label-text {
        font-size: 14px;
    }
    
    .checkbox-icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    
    .checkbox-icon:after {
        left: 6px;
        top: 3px;
        width: 4px;
        height: 8px;
    }
    
    .error-message {
        font-size: 12px;
        padding: 8px 10px;
    }
}


/* Стиль для блока "Запомнить меня", полностью соответствующий стилю terms-light */
.remember-light {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-hover: #2563eb;
    --accent-color: #f59e0b;
    --border-color: #e5e7eb;
    --text-color: #1f2937;
    --shadow-color: rgba(0, 0, 0, 0.08);
    
    margin: 22px 0;
    padding: 16px 20px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
}

.remember-light:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

/* Стиль для чекбокса */
.remember-light input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Кастомный чекбокс */
.remember-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 12px;
    border-radius: 6px;
    border: 2px solid #d1d5db;
    background-color: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.remember-light input[type="checkbox"]:checked ~ label .remember-checkbox {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.remember-light input[type="checkbox"]:focus ~ label .remember-checkbox {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.remember-checkbox:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.remember-light input[type="checkbox"]:checked ~ label .remember-checkbox:after {
    display: block;
    animation: checkmark 0.2s ease-in-out forwards;
}

@keyframes checkmark {
    0% { opacity: 0; transform: rotate(45deg) scale(0.8); }
    100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

/* Стиль для метки и текста */
.remember-light label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.remember-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.2s;
    flex: 1;
}

.remember-light input[type="checkbox"]:checked ~ label .remember-text {
    color: #000;
}

/* Индикация при наведении */
.remember-light label:hover .remember-checkbox {
    border-color: var(--primary-light);
}

.remember-light input[type="checkbox"]:active ~ label .remember-checkbox {
    transform: scale(0.9);
}

/* Пульсация при фокусе */
.remember-light input[type="checkbox"]:focus ~ label .remember-checkbox::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    transform: translate(-50%, -50%) scale(0);
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
    70% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .remember-light {
        padding: 14px 16px;
        margin: 18px 0;
    }
    
    .remember-text {
        font-size: 14px;
    }
    
    .remember-checkbox {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    
    .remember-checkbox:after {
        left: 6px;
        top: 3px;
        width: 4px;
        height: 8px;
    }
}


/* Стиль тарифов подписки */

    .subscription-plans {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin: 40px 0;
        flex-wrap: wrap;
    }
    
    .plan {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 30px;
        width: 300px;
        text-align: center;
        position: relative;
        transition: transform 0.3s;
    }
    
    .plan:hover {
        transform: translateY(-5px);
    }
    
    .plan.popular {
        border: 2px solid #007bff;
    }
    
    .plan.popular::before {
        content: var(--popular-text, 'Популярный');
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        background: #007bff;
        color: #fff;
        padding: 5px 20px;
        border-radius: 20px;
        font-size: 14px;
    }
    
    .plan h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .plan .price {
        font-size: 36px;
        font-weight: bold;
        color: #007bff;
        margin-bottom: 20px;
    }
    
    .plan .price span {
        font-size: 16px;
        color: #666;
    }
    
    .plan-features {
        list-style: none;
        padding: 0;
        margin: 0 0 30px 0;
    }
    
    .plan-features li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .plan-features li:last-child {
        border-bottom: none;
    }
    
    .payment-methods {
        display: flex;
        gap: 20px;
        justify-content: center;
        margin: 30px 0;
    }
    
    .payment-method {
        cursor: pointer;
        border: 2px solid #ddd;
        border-radius: 8px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s;
        flex: 1;
        max-width: 200px;
    }
    
    .payment-method.selected {
        border-color: #007bff;
        background: #f8f9fa;
    }
    
    .payment-method img {
        height: 40px;
        margin-bottom: 10px;
    }
    
    .plan-selector {
        visibility: hidden;
        position: absolute;
    }
    
    .plan.selected {
        border: 2px solid #28a745;
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.2);
    }
    
    .form-actions {
        text-align: center;
        margin-top: 40px;
    }

.dashboard-layout {
    display: flex;
    gap: 30px;
}

.dashboard-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.company-profile-container {
    flex: 1;
}