/* ============================
   Основной контейнер Select2
   ============================ */

.select2-container--default .select2-selection--single {
    background-color: #ffffff !important;

    /* border-gray-300 */
    border: 1px solid #D1D5DB !important;

    /* px-4 */
    padding-left: 1rem !important;
    padding-right: 1rem !important;

    /* flex items-center */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* h-[42px] md:h-[60px] */
    height: 42px !important;
    position: relative !important;

    /* border-radius: 0 (как в твоём коде) */
    border-radius: 0 !important;

    /* Плавный переход */
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* MD breakpoint */
@media (min-width: 768px) {
    .select2-container--default .select2-selection--single {
        height: 60px !important;
    }
}

/* ============================
   Текст внутри Select2
   ============================ */

.select2-selection__rendered {
    /* uppercase */
    text-transform: uppercase !important;

    /* text-sm */
    font-size: 0.875rem !important;

    /* text-[#0F1635] */
    color: #0F1635 !important;

    /* text-center */
    text-align: center !important;

    line-height: 42px !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 768px) {
    .select2-selection__rendered {
        line-height: 60px !important;
    }
}

/* ============================
   Состояние "open" (активный)
   ============================ */

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #FFBE00 !important; /* primary-custom */
    box-shadow: 0 0 0 3px rgba(255, 190, 0, 0.4) !important;
}

/* focus */
.select2-container--default .select2-selection--single:focus {
    border-color: #FFBE00 !important;
    box-shadow: 0 0 0 3px rgba(255, 190, 0, 0.4) !important;
}

.select2-selection--single:focus-visible {
    outline: none !important;
}

/* ============================
   Стрелка
   ============================ */

.select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;

    transform: translateY(-50%) !important;
    transition: transform 0.2s ease !important;
}

/* Поворот стрелки при открытии */
.select2-container--open .select2-selection__arrow b {
    transform: rotate(180deg) !important;
}

/* ============================
   Результаты
   ============================ */

.select2-results__option--highlighted {
    background-color: #15004D !important; /* твой фирменный цвет */
    color: white !important;
}
