/* Language Switcher Dropdown Styles */

.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    background-color: white;
    color: #2b2c52;
    border: none;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.lang-dropdown-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(187, 42, 29, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lang-dropdown-btn:hover::before {
    opacity: 1;
}

.lang-dropdown-btn:hover {
    background-color: #fafafa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.lang-dropdown-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-dropdown-btn:focus {
    outline: 2px solid #bb2a1d;
    outline-offset: 2px;
}

.lang-dropdown-btn i:first-child {
    font-size: 14px;
}

.lang-dropdown-btn i:last-child {
    font-size: 11px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}

.lang-dropdown-btn.active i:last-child {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 160px;
    overflow: hidden;
    margin-top: 12px;
    display: none;
    z-index: 1001;
}

.lang-dropdown-menu.show {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: #2b2c52;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
    cursor: pointer;
}

.lang-option:hover {
    background-color: #f7f3eb;
    color: #bb2a1d;
}

.lang-option:focus {
    outline: 2px solid #bb2a1d;
    outline-offset: -2px;
}

.lang-option.active {
    background-color: #f7f3eb;
    color: #bb2a1d;
    border-left-color: #bb2a1d;
    font-weight: 600;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
