.lang-switcher {
position: fixed;
right: 1.5rem;
bottom: 1.5rem;
display: flex;
align-items: center;
font-size: 0.85rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
z-index: 9999;
background: rgba(255, 255, 255, 0.95);
border-radius: 8px;
padding: 0.5rem 1rem;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8px);
border: 1px solid rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
}
.lang-switcher:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
background: rgba(255, 255, 255, 1);
}
.lang-switcher .lang-label {
margin-right: 0.7rem;
color: #555;
font-size: 0.8rem;
font-weight: 500;
transition: opacity 0.3s ease;
}
.lang-switcher:hover .lang-label {
opacity: 0.9;
}
.lang-switcher .lang-links {
display: flex;
gap: 0.2rem;
}
.lang-switcher .lang-links a {
display: block;
padding: 0.3rem 0.7rem;
color: #333;
text-decoration: none;
transition: all 0.2s ease;
border-radius: 4px;
font-weight: 500;
}
.lang-switcher .lang-links a:hover {
background: #f0f7ff;
color: #0077b6;
}
.lang-switcher .lang-links a.active {
background: #0077b6;
color: white;
font-weight: 600;
}
@media (max-width: 768px) {
.lang-switcher {
right: 1rem;
bottom: 1rem;
font-size: 0.75rem;
padding: 0.4rem 0.8rem;
}
.lang-switcher .lang-links a {
padding: 0.25rem 0.6rem;
}
.lang-switcher .lang-label {
display: none;
}
}