.language-selector {
    position: relative;
    display: inline-flex;
    font-family: inherit;
}

/* Pulsante tondo */
.language-current {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    position: relative;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.language-current:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.language-current img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* Freccina */
.language-arrow {
    position: absolute;
    right: -2px;
    bottom: 0;

    width: 17px;
    height: 17px;

    background: #111;
    border: 2px solid #fff;
    border-radius: 50%;
}

.language-arrow::after {
    content: "";
    position: absolute;

    width: 5px;
    height: 5px;

    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;

    transform: rotate(45deg);

    top: 3px;
    left: 4px;
}

/* Dropdown */
.language-dropdown {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    min-width: 175px;

    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);

    padding: 8px;

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);

    border: 1px solid rgba(0, 0, 0, 0.06);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px) scale(0.97);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s;

    z-index: 9999;
}

.language-selector.open .language-dropdown {
    opacity: 1;
    visibility: visible;

    transform: translateY(0) scale(1);
}

/* Singola lingua */
.language-option {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 9px 12px;

    color: #222;
    text-decoration: none;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 500;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.language-option:hover {
    background: #f5f5f5;
    transform: translateX(2px);
}

.language-option img {
    width: 26px;
    height: 26px;

    border-radius: 50%;
    object-fit: cover;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.language-option.active {
    background: #f2f2f2;
    font-weight: 600;
}

/* header stile 2 */

.topbar-others-options {
        display: flex;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    
}
}