/* ===== СТРАНИЦА ВАКАНСИЙ (Layout 2 колонки) ===== */
.vacancies-page {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.vacancies-header {
    text-align: center;
    margin-bottom: 40px;
}

.vacancies-header__title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Сетка */
.vacancies-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.vacancies-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== КАРТОЧКА ВАКАНСИИ ===== */
.vacancy-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vacancy-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Шапка карточки */
.vacancy-card__header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.vacancy-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.vacancy-card__badge {
    background: #e8f5e9;
    color: #019934;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Контент (увеличили нижний отступ, так как подвала больше нет) */
.vacancy-card__content {
    padding: 25px 30px 30px;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    flex: 1;
}

.vacancy-card__content p {
    margin-bottom: 12px;
}

.vacancy-card__content ul {
    margin: 10px 0 15px 20px;
    padding: 0;
}

.vacancy-card__content li {
    margin-bottom: 8px;
}

/* Блок "Нет вакансий" */
.vacancies-empty-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.vacancies-info__title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.vacancies-info__text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vacancies-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vacancies-info__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #2c3e50;
}

.vacancies-info__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #019934;
    font-weight: bold;
}

/* Правая колонка: Форма */
.vacancies-layout__right {
    position: sticky;
    top: 40px;
}

.vacancies-form-section {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.vacancies-form-title {
    font-size: 22px;
    color: #2c3e50;
    margin: 0 0 5px;
    text-align: center;
}

.vacancies-form-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 25px;
}

.resume-form__group {
    margin-bottom: 15px;
}

.resume-form__input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.resume-form__input:focus {
    outline: none;
    border-color: #019934;
}

/* Загрузка файла */
.resume-form__file-label {
    display: block;
    cursor: pointer;
    margin-bottom: 20px;
}

.resume-form__file-label input[type="file"] {
    display: none;
}

.resume-form__file-text {
    display: block;
    padding: 14px;
    border: 2px dashed #c8e6c9;
    border-radius: 8px;
    text-align: center;
    color: #019934;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    background: #f0f9f4;
}

.resume-form__file-label:hover .resume-form__file-text {
    background: #e8f5e9;
}

.resume-form__submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 8px;
}

.resume-form__message {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.resume-form__message.is-success { color: #019934; }
.resume-form__message.is-error { color: #d93025; }

/* Кнопка */
.btn-primary {
    display: inline-block;
    background: #019934;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
}
.btn-primary:hover { background: #017a2b; }

/* Адаптивность */
@media (max-width: 992px) {
    .vacancies-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .vacancies-layout__right {
        position: static;
    }
}

@media (max-width: 768px) {
    .vacancy-card__header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .vacancy-card__content {
        padding: 20px;
    }
    .vacancies-form-section,
    .vacancies-empty-wrap {
        padding: 25px;
    }
    .vacancies-header__title {
        font-size: 28px;
    }
}