/* Estilos centralizados para switches */

.toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-primary, #333);
}

.shared-switch {
    position: relative;
    width: 48px;
    height: 24px;
}

.shared-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.shared-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color, #ccc);
    transition: .4s;
    border-radius: 24px;
}

.shared-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.shared-input:checked + .shared-slider {
    background-color: var(--primary-color, #4CAF50);
}

.shared-input:checked + .shared-slider:before {
    transform: translateX(24px);
}
