/* Estils per al selector d'idioma */
.language-selector {
    font-family: inherit;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.lang-button {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #333;
}

.lang-button:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    margin-top: 5px;
    overflow: hidden;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
    font-size: 14px;
}

.lang-option:hover {
    background: #f8f9fa;
    color: #333;
}

@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 10px;
    }
    
    .lang-button {
        padding: 6px 10px;
        font-size: 13px;
    }
}