/* === ELEGANT LANGUAGE TOGGLE STYLES === */
.lang-toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    padding: 4px;
    width: 120px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.lang-toggle-switch:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.lang-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 56px;
    height: 32px;
    background: #ffffff;
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.lang-toggle-switch.active-en .lang-toggle-slider {
    transform: translateX(60px);
}

.lang-toggle-label {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    user-select: none;
    line-height: 32px;
    text-decoration: none !important;
}

.lang-toggle-label.active {
    color: #667eea;
}

.lang-toggle-label.inactive {
    color: rgba(255, 255, 255, 0.85);
}

.lang-toggle-label:hover.inactive {
    color: rgba(255, 255, 255, 1);
}

/* Responsive: mobile compact */
@media (max-width: 576px) {
    .lang-toggle-switch {
        width: 100px;
        height: 36px;
    }
    
    .lang-toggle-slider {
        width: 46px;
        height: 28px;
    }
    
    .lang-toggle-switch.active-en .lang-toggle-slider {
        transform: translateX(50px);
    }
    
    .lang-toggle-label {
        font-size: 12px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .lang-toggle-switch {
        background: linear-gradient(135deg, #4c5fd7 0%, #5f3a8a 100%);
    }
}
