﻿.language-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .language-switcher .flag {
        width: 50px;
        height: 30px;
        display: block;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 4px;
        border: 1px solid #aaa;
        opacity: 0.5;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .language-switcher .flag:hover {
            opacity: 1.0;
            transform: scale(1.07);
        }

        .language-switcher .flag.active {
            opacity: 1.0;
            border-color: var(--primary-color);
            box-shadow: 0 0 8px var(--primary-color);
        }

    .language-switcher a {
        padding: 6px 12px;
        border-radius: 6px;
        text-decoration: none;
        color: var(--text-dark);
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

        .language-switcher a:hover {
            border-color: var(--primary-color);
        }

        .language-switcher a.active {
            color: var(--white);
            border-color: var(--primary-color);
        }

/* language-switcher flag buttons */
.flag.de {
    background-image: url('/Images/Flags/de.svg');
}

.flag.en {
    background-image: url('/Images/Flags/en.svg');
}

.flag.br {
    background-image: url('/Images/Flags/br.svg');
}
