.elementor-content-switcher-wrapper {
    margin-bottom: 20px;
}

/* Container for the toggle and labels */
.content-switcher-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Label styling */
.content-switcher-label {
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    color: #7a7a7a;
}

.content-switcher-label.active {
    color: #4054b2;
}

/* Toggle switch styling */
.content-switcher-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 26px;
    background-color: #e4e4e4;
    border-radius: 30px;
    vertical-align: middle;
    transition: background-color 0.25s ease;
    cursor: pointer;
}

.content-switcher-toggle.active {
    background-color: #4054b2;
}

.content-switcher-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
    border-radius: 30px;
}

.content-switcher-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.content-switcher-toggle.active .content-switcher-toggle-slider:before {
    transform: translateX(34px);
}

/* Target containers styling */
.elementor-content-switcher-target {
    transition: opacity 0.3s ease;
    position: relative;
}

/* Ensure containers maintain their position in the layout */
.elementor-content-switcher-target[style*="display: none"] {
    display: none !important;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
}

/* Editor styling improvements */
.elementor-editor-active .elementor-content-switcher-wrapper {
    position: relative;
    z-index: 1;
}

/* Responsive styling */
@media (max-width: 767px) {
    .content-switcher-container {
        flex-direction: row;
        align-items: center;
    }
    
    .content-switcher-label {
        font-size: 14px;
    }
}'