/* Language Switcher Styles */

.language-switcher {
    display: flex;
    align-items: center;
}

.language-switcher #language-form {
    margin: 0;
}

.flag-selector {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

/* Ensure form doesn't add extra spacing */
.language-switcher form {
    display: inline;
}

.flag-btn {
    border: 2px solid transparent;
    background: none;
    padding: 0.25rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-btn img {
    width: 24px;
    height: 16px;
    display: block;
    border-radius: 2px;
}

.flag-btn:hover {
    border-color: #4ECDC4;
    background: rgba(78, 205, 196, 0.05);
}

.flag-btn.active {
    border-color: #4ECDC4;
    background: rgba(78, 205, 196, 0.1);
}

.flag-btn:active {
    transform: scale(0.95);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .flag-btn img {
        width: 20px;
        height: 13px;
    }

    .flag-selector {
        gap: 0.25rem;
    }
}
