/* Modern Language Switcher Styles */
.language-switcher {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: inline-flex;
    align-items: center;
    margin: 20px auto !important;
    padding: 8px;
    border-radius: 50px;
    justify-content: center;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(197, 237, 210, 0.3);
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.language-switcher::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(197, 237, 210, 0.1),
        rgba(255, 152, 155, 0.1)
    );
    border-radius: 50px;
    z-index: 0;
}

.language-switcher a {
    color: #690808;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    border: 1px solid transparent;
    background: transparent;
    min-width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.language-switcher a:hover {
    color: #2c3e50;
    background: linear-gradient(
        135deg,
        rgba(197, 237, 210, 0.2),
        rgba(255, 152, 155, 0.2)
    );
    border-color: rgba(197, 237, 210, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-switcher a.fw-bold {
    color: #9b0e11;
    background: linear-gradient(135deg, #c5edd2, #ff989b);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(197, 237, 210, 0.4);
    font-weight: 600;
}

.language-switcher a.fw-bold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 237, 210, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    .language-switcher {
        padding: 6px;
        gap: 2px;
        flex-wrap: wrap;
        max-width: 280px;
    }

    .language-switcher a {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        padding: 4px;
        gap: 1px;
        max-width: 240px;
    }

    .language-switcher a {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 45px;
    }
}
