/* Language Switcher Styles */

.language-switcher-container {
    position: relative;
    display: inline-block;
}

.language-label {
    display: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-right: 10px;
    font-weight: 400;
}

.btn-language-switcher {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-language-switcher:hover {
    border-color: #fe1b3f;
    background-color: rgba(254, 27, 63, 0.1);
    color: #fe1b3f;
}

.btn-language-switcher:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 27, 63, 0.2);
}

.btn-language-switcher svg {
    width: 20px;
    height: 20px;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    min-width: 160px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    border: none;
    background: transparent;
}

.language-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.language-option.active {
    background-color: #fe1b3f;
    color: white;
    font-weight: 500;
}

.language-option.active:hover {
    background-color: #e01838;
    color: white;
    text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .language-switcher-container {
        margin-left: 0 !important;
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        position: relative;
    }

    .language-label {
        display: inline-block !important;
    }

    .btn-language-switcher {
        width: auto;
        height: 44px;
        border-radius: 22px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .btn-language-switcher svg {
        order: -1;
    }

    .language-dropdown {
        position: static;
        left: 0;
        right: auto;
        margin-top: 8px;
        width: 100%;
        max-width: 200px;
    }

    .language-dropdown.show {
        position: static;
    }
}

/* Desktop - hide label */
@media (min-width: 992px) {
    .language-label {
        display: none !important;
    }
}

