/* Основные стили для страницы вакансий */
.vacancies-section {
    padding: 60px 0;
}

.vacancies-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Стили карточек вакансий */
.vacancy-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.vacancy-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.salary {
    font-weight: 700;
    color: #27ae60;
    font-size: 1.3rem;
}

.vacancy-body {
    padding: 20px;
}

.vacancy-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.vacancy-description {
    margin-bottom: 20px;
}

.vacancy-description h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vacancy-description ul {
    padding-left: 20px;
    margin: 10px 0;
    color: #34495e;
    line-height: 1.6;
}

.vacancy-description li {
    margin-bottom: 8px;
}

.vacancy-footer {
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

.apply-btn {
    padding: 10px 20px;
    font-size: 1rem;
}

/* Стили для блока преимуществ */
.benefits-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.benefit-item h3 {
    margin: 15px 0;
    color: #2c3e50;
}

.benefit-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Стили для формы отклика */
.application-form-section {
    padding: 60px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-header p {
    color: #7f8c8d;
}

#applicationForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    font-weight: normal;
}

.checkbox-group a {
    color: #3498db;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Стили для блока контактов */
.contacts-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.contact-item h3 {
    margin: 15px 0;
    color: #2c3e50;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p,
.contact-item address {
    color: #7f8c8d;
    font-style: normal;
    line-height: 1.6;
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #7f8c8d;
    cursor: pointer;
}

.close-modal:hover {
    color: #2c3e50;
}

.modal-success {
    text-align: center;
    padding: 20px;
}

.modal-success i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.modal-success h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.modal-success p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .vacancy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .vacancy-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .benefits-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .vacancy-header h3 {
        font-size: 1.3rem;
    }
    
    .salary {
        font-size: 1.1rem;
    }
    
    .vacancy-body {
        padding: 15px;
    }
    
    .application-form-section {
        padding: 40px 0;
    }
}