﻿

.language-switcher .language-btn {
    border-radius: 25px;
    min-width: 160px;
    color: #0c61e7 !important;
    border: 1px solid #0c61e7 !important;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 30px;
    white-space: nowrap;
}

    .language-switcher .language-btn.dropdown-toggle::after {
        position: absolute;
        right: 10px;
    }

.language-switcher .globe-icon {
    width: 18px;
    margin-right: 8px;
}

.language-switcher .dropdown-menu {
    min-width: 250px;
}

    .language-switcher .dropdown-menu li:first-child {
        margin-right: 0px;
    }

.language-switcher .dropdown-item {
    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
}

    .language-switcher .dropdown-item.active {
        background: #e9f2ff !important;
        color: #000 !important;
    }

.language-switcher .checkmark {
    display: none;
    margin-left: 8px;
    color: #0c61e7;
    font-weight: bold;
    position: absolute;
    right: 30px;
}

.language-switcher .dropdown-item.active .checkmark {
    display: inline;
}

.language-switcher .dropdown-item-text {
    color: #6c757d;
    pointer-events: none;
}

.custom-header-offcanvas .language-switcher,
.custom-header-offcanvas .language-switcher .dropdown,
.custom-header-offcanvas .language-switcher .language-btn {
    width: 100%;
}

    .custom-header-offcanvas .language-switcher .dropdown-menu {
        min-width: 100%;
    }


.language-select {
    width: 90px !important;
}

.select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    padding: 0 !important;
}

.select2-selection__rendered {
    display: flex !important;
    align-items: center;
    padding-left: 0 !important;
}

.select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    flex-shrink: 0;
}

    .language-flag svg {
        width: 100%;
        height: 100%;
        display: block;
    }

