.language-switcher {
    position: fixed;
    top: 120px; /* Adjust based on your header/navbar height */
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(179, 240, 99, 0.2);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    border: 1px solid #ddd;
}

.language-switcher a {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    transition: all 0.2s ease;
    font-size: 15px;
}

.language-switcher a:hover {
    background-color: #f0f0f0;
}

.language-switcher a.fw-bold {
    color: #0d6efd;
    background-color: #e7f1ff;
}

.flag-icon {
    display: inline-block;
    width: 20px;
    height: 15px;
    margin-right: 8px;
    background-size: cover;
    background-position: center;
    border: 1px solid #ddd;
    border-radius: 2px;
}



/* Responsive: Keep in top-right, just reduce size on small screens */
@media (max-width: 768px) {
    .language-switcher {
        top: 100px; /* Slightly lower if navbar is smaller */
        right: 0px;
        padding: 1px; /* Slightly smaller padding */
        gap: 0px;
    }
    
    .language-switcher a {
        padding: 4px 8px;
        font-size: 14px;
    }
    
    .flag-icon {
        width: 16px;
        height: 12px;
        margin-right: 6px;
    }
}