

/* === Общий стиль обёртки === */
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #ffffff !important;
    border: 1px solid #3776a1 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-top: 0;
    color: #000;
    position: relative;
    padding-bottom: 8px;
}

.select-box  .select2-container .select2-selection--single,
.select-box .select2-container .select2-selection--multiple {
    border: 1px solid #cdd4da !important;
    /*padding-bottom: 0 !important;*/
}

/* === Стиль текста внутри === */
.select2-container .select2-selection__rendered {
    line-height: 35px !important;         /* выравнивание текста */
    font-size: 14px !important;
    color: #333 !important;
    padding-left: 0 !important;
    max-width: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 18px;
}

/* === Placeholder === */
.select2-container .select2-selection__placeholder {
    color: #999 !important;
    font-size: 14px !important;
}

/* Текст выбранного значения */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block !important;
    padding-right: 36px !important;       /* резерв для стрелки */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Стрелка: фиксируем справа */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 22px !important;               /* можно менять */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: inline-flex !important;
    width: auto !important;
    max-width: calc(100% - 28px) !important; /* 28px — ширина области стрелки */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding-right: 28px !important; /* резервируем место под стрелку */
}

.select2-selection--multiple .select2-selection__rendered {
    flex-wrap: wrap !important;
    gap: 4px !important;
    width: auto !important;
}

/* === Стрелка у single === */
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 10px !important;
}

/* === Увеличить стрелку === */
.select2-container .select2-selection__arrow b {
    border-width: 6px 5px 0 5px !important; /* размер стрелки */
}

/* === Стилизация множественного выбора === */
.select2-container .select2-selection--multiple {
    min-height: 48px !important;
    padding-top: 5px !important;
}

/* === Теги (выбранные элементы) === */
.select2-selection--multiple .select2-selection__choice {
    background: #f1f3f5 !important;       /* фон тэга */
    border: 1px solid #ced4da !important; /* граница тэга */
    border-radius: 6px !important;
    padding: 3px 8px !important;
    align-items: center !important;
    font-size: 14px !important;
    margin-top: 2px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    padding-top: 4px;
}

.select2-selection__choice__remove {
    margin-right: 6px !important;
    font-size: 18px !important;
    color: #999 !important;
}

.select2-selection__choice__remove:hover {
    color: #333 !important;
}

/* === Поправить высоту input внутри multiple === */
.select2-search--inline .select2-search__field {
    height: 20px !important;
    margin-top: 8px !important;
    margin-left: 10px !important;
    font-size: 14px !important;
}

/* profile */

.vacancy-list-container {
    width: 100%;
    margin-top: 20px;
}

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.vacancy-list-item {
    display: flex;
}

.vacancy-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: 200px;
}

.vacancy-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #6ba82f;
}

.vacancy-media {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    flex: 1;
}

.vacancy-image-wrapper {
    flex-shrink: 0;
}

.vacancy-company-logo {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fa;
    border: 1px solid #e8e8e8;
}

.vacancy-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.vacancy-title-link {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    overflow: hidden;
}

.vacancy-title-link:hover {
    color: #6ba82f;
}

.vacancy-info-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vacancy-info-text i {
    color: #6ba82f;
    font-size: 12px;
}

.vacancy-salary {
    font-weight: 600;
    color: #6ba82f;
    font-size: 15px;
}

.vacancy-type {
    color: #7f8c8d;
}

.vacancy-expire {
    color: #95a5a6;
    font-size: 13px;
    margin-top: 4px;
}

.vacancy-expire span {
    font-weight: 500;
    color: #555;
}

.vacancy-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 12px 0 8px 0;
    width: 100%;
}

.vacancy-expire-wrapper {
    margin-top: auto;
    padding-top: 12px;
}

.vacancy-contact-btn {
    margin-top: 12px;
    padding: 8px 16px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .vacancy-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .vacancy-card {
        padding: 16px;
    }

    .vacancy-media {
        gap: 12px;
    }

    .vacancy-company-logo {
        width: 60px;
        height: 60px;
    }

    .vacancy-title-link {
        font-size: 16px;
    }

    .vacancy-info-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .vacancy-card {
        padding: 14px;
    }

    .vacancy-company-logo {
        width: 50px;
        height: 50px;
    }

    .vacancy-title-link {
        font-size: 15px;
    }
}

html.swal2-shown,
html.swal2-shown body {
    font-size: 16px !important;
}

.swal2-popup {
    font-size: 1rem !important;
    width: 32em !important;
    padding: 0 0 1.25em !important;
}

.swal2-icon {
    width: 5em !important;
    height: 5em !important;
    margin: 2.5em auto 0.6em !important;
}

.swal2-title {
    font-size: 1.875em !important;
    padding: 0.8em 1em 0 !important;
}

.swal2-html-container {
    font-size: 1.125em !important;
    padding: 0 1.6em 0.3em !important;
}

.swal2-actions {
    padding: 0.625em 1em !important;
}