﻿.language-wrapper

{
    position: absolute;
    top: 50px;
    right: 40px;
    z-index: 1000;
}


.language-selector {
    position: relative;
    cursor: pointer;
}

.language-display {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    background-color: transparent;
}

    .language-display img {
        width: 26px;
        height: 18px;
        border-radius: 2px;
    }

.dropdown-arrow {
    font-size: 14px;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    flex-direction: column;
    min-width: 160px;
}

    .language-options .option {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        cursor: pointer;
        white-space: nowrap;
    }

        .language-options .option:hover {
            background-color: #f0f0f0;
        }

    .language-options img {
        width: 24px;
        height: 16px;
        border-radius: 2px;
    }


@media (max-width: 489px) {
    .language-display img {
        width: 20px;
        height: 14px;
    }

    .language-display {
        gap: 4px;
        padding: 2px 4px;
    }

    .dropdown-arrow {
        font-size: 10px;
    }

    .language-options {
        min-width: 120px;
    }
}

@media only screen and (min-width:600px) {
    .hide-on-desktop, * [aria-labelledby='hide-on-desktop'] {
        display: none !important;
        max-height: 0px;
        overflow: hidden;
    }
}

@media only screen and (max-width:600px) {
    .hide-on-mobile, * [aria-labelledby='hide-on-mobile'] {
        display: none !important;
        max-height: 0px;
        overflow: hidden;
    }
}


