.lang-dropdown-toggle-new {
    display: flex;
    align-items: center;
    padding: 2px 4px 2px 4px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid #ffffff;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.2s ease-in-out; /* تغییر انیمیشن هاور */
}

/* انیمیشن جدید هاور: بزرگ شدن به جای بالا رفتن */
.lang-dropdown-toggle-new:hover {
    text-decoration: none;
    transform: scale(1.05); /* کمی بزرگ‌تر می‌شود */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
}
.lang-dropdown-toggle-new:hover .lang-code {
    color: #333;
}
.lang-dropdown-toggle-new::after {
    display: none;
}

.lang-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lang-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-avatar-fallback {
    width: 100%;
    height: 100%;
    background-color: #28a745;
}

.lang-code {
    /*margin: 0 8px;*/
    margin: 0 4px;
    font-weight: 600;
    font-size: 14px;
    /*color: #333;*/
    color: #fbfbfb;
}


.dropdown-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin:0 4px;
    vertical-align: middle;
    border-top: 5px solid #28a745;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.lang-item {
    padding: 10px 15px;
    font-size: 15px;
}

.lang-item .lang-avatar {
    width: 24px;
    height: 24px;
}

.dropdown-menu {
    margin-top: 8px !important;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s;
}