.block-switcher-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.block-switcher-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    transition: all 0.3s ease;
}

.block-switcher-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.block-switcher-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4CAF50;
    transition: .4s;
    border-radius: 34px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.block-switcher-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.block-switcher-input:checked + .block-switcher-slider {
    background-color: #f44336;
}

.block-switcher-input:checked + .block-switcher-slider:before {
    transform: translateX(26px);
}

.block-switcher-status {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

/* Hover effects */
.block-switcher-toggle:hover .block-switcher-slider {
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* Focus styles for accessibility */
.block-switcher-input:focus + .block-switcher-slider {
    box-shadow: 0 0 1px #2196F3;
}

/* Responsive styles */
@media (max-width: 767px) {
    .block-switcher-container {
        flex-direction: row;
        justify-content: center;
    }
} 