.lang-switcher {
    position: relative;
    display: flex;
    max-width: 80px;
}

.lang-btn {
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn .flag {
    width: 25px;
    height: 25px;
    border-radius: 6px;
    margin-right: 6px;
}

.lang-btn .arrow {
    font-size: 14px;
    transition: transform 0.3s;
    margin-left: 4px;
}

.lang-btn:hover .arrow {
    transform: rotate(180deg);
}

.lang-popup {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc( 100vh - 100px );
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

body.lang-open .lang-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background-color: #00000075;
}

body.lang-open {
    overflow: hidden;
}

.popup-inner {
    padding: 40px;
    position: relative;
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    border: 1px solid #e9ecef;
}

.popup-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 24px;
    cursor: pointer;
    color: #adb5bd;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.popup-title {
    margin: 0 0 28px 0;
    font-size: 26px;
    font-weight: 600;
    color: #212529;
}

.select-wrap label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #495057;
    font-size: 15px;
}

.select-wrap select {
    width: 100%;
    padding: 16px 60px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    background: #fafbfc;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    appearance: none;
}

.select-wrap select:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,124,186,0.1);
}

.lang-flag-preview {
    display: none;
    margin: -70px 0 18px 15px;
    width: 28px;
    height: 28px;
    border-radius: 5px;
}

.language-icon{
    display: flex;
    width: 28px;
    height: 28px;
}
.language-icon img{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    margin: -45px 0 18px 15px !important;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 50px !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    height: 56px;
}

.btn-apply {
    background: linear-gradient(135deg, #0144ff, #ba0db7);
    color: white !important;
}

.btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
