body {
  background: #000;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
}
header, main {
  max-width: 100%;
  box-sizing: border-box;
}
main {
  padding: 0 2rem;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid #222;
}
h1, h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}
a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover {
  color: #fff;
  text-decoration: underline;
}
input, textarea {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #222;
  background: #111;
  color: #fff;
  font-size: 1rem;
}
button {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
button:hover {
  background: #fff;
  color: #000;
}
ul {
  padding-left: 0;
  list-style: none;
}
li {
  margin-bottom: 1.5rem;
}
.job-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: border 0.2s, box-shadow 0.2s;
}
.job-card:hover {
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(255,255,255,0.04);
}
.job-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.job-company {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.job-meta {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.job-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.job-section-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.job-desc {
  color: #fff;
  margin-top: 0.5rem;
  font-size: 1rem;
  white-space: pre-line;
}
hr {
  border: none;
  border-top: 1px solid #222;
  margin: 1.5rem 0;
} 
/* --- SPLIT SCREEN JOB FEED --- */
.main-split {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 1250px;
  margin: 0 auto;
  padding: 2rem 0;
}
.jobs-list-panel {
  width: 340px;
  min-width: 260px;
  max-width: 380px;
  background: #111;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-height: 80vh;
  overflow-y: auto;
}
.jobs-list-search {
  margin-bottom: 1.2rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.7em 1em;
  border-radius: 8px;
  border: 1.5px solid #222;
  background: #181a20;
  color: #fff;
  font-size: 1.08rem;
}
.job-list-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  min-height: 68px;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border 0.15s;
  margin-bottom: 1rem;
  border: 1px solid #333;
}
.job-list-item.selected {
  background: #222;
  border-color: #fff;
}
.job-list-item:hover {
  background: #222;
  border-color: #555;
}
.job-list-avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #222;
  flex-shrink: 0;
  margin-right: 1rem;
}
.job-list-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  padding-right: 50px;
}
.job-list-role {
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.2em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.job-list-at {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.job-list-bottom-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}
.job-list-salary {
  color: #fff;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-list-location {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-block;
  border: 2px solid #444;
  border-radius: 6px;
  padding: 0.1em 0.7em;
  font-size: 0.9rem;
  color: #fff;
  background: none;
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
  z-index: 2;
  margin-left: 4px;
}
.job-list-remote {
  position: absolute;
  top: 0.7rem;
  right: 2.5rem;
  color: #aaa;
  font-size: 0.9rem;
  font-weight: 500;
}
.job-list-open-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #191b20;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  z-index: 3;
  padding: 0;
}
.job-list-open-btn span {
  font-size: 1.1em;
  color: #fff;
  font-weight: bold;
  pointer-events: none;
}
.job-list-open-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.08);
}
.job-list-open-btn:hover::after {
  content: "Open fully";
  position: absolute;
  top: -30px;
  right: 0;
  background: #222;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
}
.job-preview-panel {
  flex: 1;
  background: #111;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  max-height: 80vh;
  overflow-y: auto;
}
.job-preview-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  box-sizing: border-box;
}
.job-preview-main-block {
  background: transparent !important;
  border-radius: 0 !important;
  color: #fff;
  min-width: 0;
  text-align: left;
}
.job-preview-sidebar {
  width: 260px;
  min-width: 220px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
  gap: 1.5rem;
}
.job-preview-sidebar .job-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  background: #111;
  display: block;
  margin-bottom: 0.5rem;
}
.job-preview-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.job-preview-icon-btn {
  width: 44px;
  height: 44px;
  background: #111;
  border: 2px solid #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s, border 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  padding: 0;
  text-decoration: none;
}
.job-preview-icon-btn img {
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.job-preview-icon-tooltip {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  z-index: 2;
}
.job-preview-icon-btn:hover .job-preview-icon-tooltip {
  opacity: 1;
}
.job-preview-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  align-items: flex-start;
  margin-left: 24px;
  padding-left: 0;
}
.job-preview-badges span {
  background: #222;
  color: #fff;
  border-radius: 6px;
  padding: 0.2em 0.7em;
  font-size: 0.95em;
  font-weight: 600;
  margin: 0;
  display: inline-block;
  margin-left: 0;
}
.job-preview-badge-label {
  font-weight: 600;
  margin-right: 0.3em;
  margin-left: 0;
}
.job-preview-section-title {
  font-size: 22px;
  margin: 20px 0 20px 0 !important;
}
.job-preview-desc {
  font-size: 16px;
  margin: 0.2em 0;
  text-align: left;
  line-height: 1.35;
  white-space: normal;
}
.job-preview-desc ul {
  margin: 0.1em 0 0.1em 1.2em;
  padding-left: 1.2em;
}
.job-preview-desc li {
  margin: 0.1em 0;
  padding: 0;
  text-align: left;
  line-height: 1.35;
  list-style-type: disc;
  font-size: 16px;
}
.mini-bullets {
  font-size: 0.9em;
  color: #ccc;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.mini-bullets ul {
  padding-left: 1.2em !important;
  list-style: disc !important;
  margin: 0.2em 0;
}

.mini-bullets li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

.job-preview-desc ul {
  padding-left: 1.2em !important;
  list-style: disc !important;
  margin: 0.2em 0;
}

.job-preview-desc li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}
@media (max-width: 1100px) {
  .main-split { flex-direction: column; gap: 2rem; }
  .job-preview-panel { max-width: 100%; }
  .jobs-list-panel { max-width: 100%; width: 100%; }
  .job-preview-container { flex-direction: column; gap: 2rem; }
  .job-preview-sidebar { width: 100%; max-width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; padding-top: 0; }
  .job-preview-sidebar .job-photo { margin-bottom: 0; margin-right: 1.5rem; }
  .job-preview-actions { flex-direction: row; gap: 0.7rem; width: auto; }
  .job-preview-badges { flex-direction: row; gap: 0.7rem; width: auto; }
}

/* Прокрутка для панелей */
.jobs-list-panel {
  max-height: 80vh !important;
  overflow-y: auto !important;
}

.job-preview-panel {
  max-height: 80vh !important;
  overflow-y: auto !important;
} 

/* Прокрутка для панелей */
.jobs-list-panel {
  max-height: 80vh !important;
  overflow-y: auto !important;
}

.job-preview-panel {
  max-height: 80vh !important;
  overflow-y: auto !important;
} 
/* Принудительное отображение маркеров списков */
.mini-bullets ul,
.job-preview-desc ul,
.job-desc ul {
  padding-left: 1.2em !important;
  list-style: disc !important;
  list-style-type: disc !important;
  margin: 0.2em 0 !important;
}

.mini-bullets li,
.job-preview-desc li,
.job-desc li {
  margin-bottom: 0.2em !important;
  line-height: 1.3 !important;
  display: list-item !important;
  list-style: disc !important;
  list-style-type: disc !important;
}

/* Переопределяем глобальные стили */
.mini-bullets ul,
.job-preview-desc ul,
.job-desc ul {
  padding-left: 1.2em !important;
  list-style: disc !important;
  list-style-type: disc !important;
} 

/* Прокрутка для панелей */
.jobs-list-panel {
  max-height: 80vh !important;
  overflow-y: auto !important;
}

.job-preview-panel {
  max-height: 80vh !important;
  overflow-y: auto !important;
} 

/* Мобильная оптимизация */
@media (max-width: 768px) {
  /* Фиксируем страницу в правильной позиции */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }
  
  /* Главная страница - только список вакансий */
  .main-split {
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .jobs-list-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
  }
  
  .job-preview-panel {
    display: none !important; /* Скрываем предпросмотр на мобильных */
  }
  
  /* Оптимизация мини-анкет для мобильных */
  .job-list-item {
    padding: 0.8rem !important;
    margin-bottom: 0.8rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .job-list-avatar {
    width: 50px !important;
    height: 50px !important;
    margin-right: 0.8rem !important;
  }
  
  .job-list-role {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }
  
  .job-list-at {
    font-size: 0.9rem !important;
  }
  
  .job-list-location {
    font-size: 0.8rem !important;
    padding: 0.2em 0.5em !important;
  }
  
  .job-list-open-btn {
    width: 32px !important;
    height: 32px !important;
    top: 8px !important;
    right: 8px !important;
  }
  
  .job-list-open-btn span {
    font-size: 0.8rem !important;
  }
  
  /* Поиск */
  .jobs-list-search {
    padding: 0.6em 0.8em !important;
    font-size: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Заголовок */
  header {
    padding: 1rem !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  
  h1 {
    font-size: 1.5rem !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  main {
    padding: 0 1rem !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  
  .main-split {
    text-align: left !important;
  }
} 

.job-preview-main-block .job-section {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.job-preview-main-block .job-section-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-preview-main-block .job-preview-desc {
  color: #fff;
  margin-top: 0.5rem;
  font-size: 1rem;
  white-space: pre-line;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
} 