body {
    background-color: #f8f9fa;
    font-family: 'Inter', sans-serif;
}

.vacancies-container {
    padding: 0;
}

.vacancies-filter {
    background-color: #fff;
    max-width: 400px;
    width: 90%;
}

.vacancies-filter h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vacancy-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.vacancy-hidden {
    opacity: 0;
    transform: translateY(20px); /* Легкое смещение вниз для эффекта */
    pointer-events: none; /* Отключаем взаимодействие с невидимыми элементами */
}

.vacancy-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.vacancies-filter .list-group-item:hover {
    background-color: #e9ecef;
}

@media (min-width: 768px) {
    .vacancies-filter .list-group-item {
        cursor: pointer;
        border: none;
        margin-bottom: 0.5rem;
        transition: background-color 0.2s ease, color 0.2s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f0f0f0;
        font-size: 0.8vmax;
        font-weight: 600;
        border-radius: 30px !important;
        padding: 0.5vmax 1.4vmax;
        margin-bottom: 1.3vmax;
    }

    .vacancies-filter .list-group-item.active {
        background-color: #ff94b8;
        color: #ffffff;
        font-size: 0.8vmax;
        font-weight: 600;
        border-radius: 30px;
        padding: 0.5vmax 1.4vmax;
    }

    .vacancies-filter .list-group-item .badge {
        font-size: 0.8vmax;
        font-weight: 800;
        color: #000 !important;
    }

    .vacancies-filter .list-group-item.active .badge {
        font-size: 0.8vmax;
        font-weight: 800;
        color: #fff !important;
    }

    .text-muted3 {
        color: #000;
        font-size: 1vmax;
    }

    .text-muted2 {
        color: rgb(0 0 0) !important;
        font-weight: 600;
        font-size: 0.8vmax;
    }
}

@media (max-width: 768px) {
    .vacancies-filter .list-group-item {
        cursor: pointer;
        border: none;
        margin-bottom: 0.5rem;
        transition: background-color 0.2s ease, color 0.2s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f0f0f0;
        font-size: 14px;
        font-weight: 600;
        border-radius: 30px !important;
        padding: 10px 15px;
        margin-bottom: 1.3vmax;
    }

    .vacancies-filter .list-group-item.active {
        background-color: #ff94b8;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        border-radius: 30px;
        padding: 10px 15px;
    }

    .vacancies-filter .list-group-item .badge {
        font-size: 14px;
        font-weight: 800;
        color: #000 !important;
    }

    .vacancies-filter .list-group-item.active .badge {
        font-size: 14px;
        font-weight: 800;
        color: #fff !important;
    }

    .text-muted3 {
        color: #000;
        font-size: 1.6vmax;
    }

    .text-muted2 {
        color: rgb(0 0 0) !important;
        font-weight: 600;
        font-size: 1.2vmax;
    }
}





.job_hr {
    width: 100%;
    display: block;
    height: 4px;
    border-radius: 30px;
    margin: 1vmax 0;
    margin-bottom: 4.6vmax;
}

.vacancy-card {
    background-color: #fff;
    border-radius: 30px;
    border: 1px solid #dbdbdb;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
    padding: 1.5vmax 2vmax;
    transition: all 0.5s;
}

.vacancy-card:hover {
    box-shadow: 0 0 30px 2px rgba(0, 0, 0, 0.1);
}

.vacancy-card-header {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.vacancy-card-body {
    padding: 0;
}

@media (min-width: 768px) {
    .vacancy-card-body h3 {
        font-size: 1.5vmax;
        font-weight: 800;
        color: #000;
        margin-top: 0.5rem;
        margin-bottom: 1vmax;
        min-height: 5.5vmax;
    }
}

@media (max-width: 768px) {
    .vacancy-card-body h3 {
        font-size: 2.5vmax;
        font-weight: 800;
        color: #000;
        margin-top: 0.5rem;
        margin-bottom: 1vmax;
        min-height: 83px;
    }

    .related-vacancies-section .swiper-pagination {
        margin-bottom: -30px;
    }
    .related-vacancies-section .row {
        --bs-gutter-x: 0 !important;
    }
    .related-vacancies-section .col-md-3  {
        --bs-gutter-x: 0 !important;
    }
}

.vacancy-card-body img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: none;
}

.modal-body h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-body h4 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body ul {
    padding-left: 1.5rem;
}

.modal-body .apply-button {
    background-color: #495057;
    color: #fff;
    border-radius: 10px;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Модальное окно для формы */
.apply-modal-content {
    border-radius: 20px;
    background-color: #f7e6ec;
}

.apply-modal-body h4 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #e7c2d1;
    margin-bottom: 1.5rem;
}

.apply-modal-body .form-control {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 0.75rem 1rem;
    background-color: #fff;
}

.file-upload {
    display: block;
    cursor: pointer;
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    border: 2px dashed #e7c2d1;
    transition: background-color 0.2s ease;
}

.file-upload:hover {
    background-color: #f5f5f5;
}

.file-upload-inner svg {
    margin-bottom: 0.5rem;
}

.apply-modal-body .btn-primary {
    background-color: #495057;
    border-radius: 10px;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

#file-name {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
}