/* Language Selector Styles */

/* Footer language selector */
.footer-language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    gap: 10px;
}

.footer-language-label {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.footer-language-option {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    padding: 0;
    color: var(--text); /* Add this line to ensure text uses theme color */
}

.footer-language-option:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

.footer-language-option.active {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 2px rgba(var(--accent-purple-rgb), 0.3);
    color: var(--accent-purple); /* Add this line to use accent color for active language */
}

/* Mobile language options */
.mobile-language-options {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.mobile-menu-heading {
    padding: 0 0 10px 0;
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    transition: var(--transition);
}

.mobile-language-option.active {
    font-weight: 500;
    color: var(--accent-purple);
}

/* Add a CSS variable for accent-purple-rgb if not defined in main CSS */
:root {
    --accent-purple-rgb: 138, 43, 226;
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer-language-selector {
        margin: 10px 0;
    }
    
    .footer-language-option {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}
